Commit Graph

22 Commits

Author SHA1 Message Date
Jean-Marie Verdun
a120a1cbbe Add initial code for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
4095fdbb57 Fix bug 3076 about color issue when opening a hierarchical step file
with Compound.
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
c839a88110 Add Vertices and Edges support to STEP Compound Importer 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
2645b79db8 Introduce relative placement for STEP importer instead of absolute placement 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
6642022bea Step Reader Improvements
Call new functions which allows to allocate in a single call Object into the document instead of multiple calls
Put into a Compound, STEP Compound instead of a Sub Tree which was creating far
too much object (aka replicate what CAD Assistant and EDrawings are doing when
opening a complex STEP tree)
2017-05-07 21:37:48 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
wmayer
7901cf7ad2 issue #0002698: Exported STEP-File contains surplus PRODUCTS 2017-03-26 18:29:27 +02:00
Jean-Marie Verdun
e9c782234b Move Step reader to New Part Design workflow 2017-03-23 21:43:46 +01:00
wmayer
850bba7926 prework for issue #0002698 2017-02-04 11:34:55 +01:00
Jean-Marie Verdun
fc4a1c6081 Activate only UI tree leaf as to display properly colors when browsing a STEP (there is currently a limitation within the reader which creates compound which are totally grey) and accelerate browsing by de-activating Compound rendering 2017-01-30 17:59:07 +01:00
wmayer
bcea759287 fix crash with null pointer links
in PropertyLinkList handle case with null pointers as value
in STEP reader avoid to create coumpound objects with null pointer links
2017-01-30 16:47:31 +01:00
wmayer
f47fc489a6 code cleanup 2017-01-27 15:48:27 +01:00
Jean-Marie Verdun
f10a436787 STEP reader improvements
Create Global STEP Tree when assemblies are present
Make TBB usage dependant of its activation status at CMake Level
Fix hierarchy opening into STEP Assembly
2017-01-27 15:23:49 +01:00
wmayer
f5367d7afc fix warning and improve code formatting 2017-01-09 10:16:11 +01:00
Jean-Marie Verdun
7ccd9a95d6 Create Compound per STEP file definition within FreeCAD interface
STEP hierarchy is in that case respected
2017-01-08 21:50:25 +01:00
wmayer
c1034fbe74 fix -Wextra in Import 2016-09-22 16:40:20 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
f8eb61fdf8 + prepare OCAF document to keep placement 2015-05-16 21:41:53 +02:00
wmayer
854b4be506 + prepare OCAF document to keep placement 2015-05-16 18:01:57 +02:00
wmayer
629d5cc1fe + fixes #0001318: Crash when exporting .step file 2014-03-02 18:16:16 +01:00
wmayer
31afafcba6 + Fix double to float cast 2013-10-10 17:15:03 +02:00
wmayer
64890a4552 0001182: Preserve names and colors on console mode export to STEP 2013-07-16 14:41:30 +02:00