Zheng, Lei
a460fdc8b6
Import: add new implementation of STEP importer/exporter
...
For better supporting Link and groups. The original implementation can
still be used by uncheck the STEP import setting 'Use Link Group'.
2019-08-17 15:15:47 +02:00
wmayer
ba96c0773a
PVS: V688 A local variable possesses the same name as one of the class members, which can result in a confusion
2019-03-13 11:58:43 +01:00
wmayer
58fed273ab
fixes 0003729: REGRESSION: FreeCAD 0.17 does not export color information with STEP files
2018-12-24 17:27:56 +01:00
wmayer
6787d5d28d
move class ExportOCAF to own source files
2018-09-28 15:06:46 +02:00
wmayer
f4fbbb0a79
fixes 0003491: Import.export not preserving placement of Part Features in STP file export
2018-09-28 14:58:49 +02:00
wmayer
4a2d7fc312
fixes 0003165: Color information lost in STEP export
2018-09-28 11:49:04 +02:00
wmayer
b8e8f4a8d1
fixes #0002908 : stp file import name mismatch (due to some limitation into UTF-8 support & naming convention)
2018-09-14 18:15:48 +02:00
luz.paz
1d5799e5b3
Misc. typos
...
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
wmayer
fde42545ba
fix various coverity issues
2017-09-15 11:48:38 +02:00
wmayer
473ea474ce
Port to occ7.2:
...
+ replace Quantity_Parameter with Standard_Real is it's marked deprecated
+ include NCollection_Vector as it's needed by STEPCAFControl_Writer
+ remove GC_MakeConicalSurface used for cone and distance as this was never implemented in any earlier occ version and has been removed now
2017-09-01 12:01:50 +02:00
wmayer
8856041a72
improve whitespaces
2017-08-01 08:30:22 +02:00
Jean-Marie Verdun
4f69fd5a31
Fix Placement and Color export within Hierarchical Step exporter of single shapes
2017-07-31 22:33:09 +02:00
Jean-Marie Verdun
a89dbdc801
Export single STEP object with absolute coordinate instead of (0,0,0) as default origin
2017-07-31 16:45:24 -03:00
wmayer
4469964dc4
improve whitespaces
2017-07-26 23:08:44 +02:00
Jean-Marie Verdun
28fc8ff34f
Enable the ReadShapeCompoundMode into the C++ code
2017-07-26 16:16:06 -03:00
wmayer
905b1adee8
remove unused variables
2017-07-13 22:02:11 +02:00
wmayer
ded46ffa65
fix whitespaces
2017-07-13 21:46:24 +02:00
Jean-Marie Verdun
c8919651ba
Final fix for hierarchical STEP exporter
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
ef4efc52e5
Improve hierarchical exporter
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
a83d71c7c8
Add initial code for hierarchical STEP exporter
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
4939a86fd6
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
d073a453bf
Add Vertices and Edges support to STEP Compound Importer
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
e02306892f
Introduce relative placement for STEP importer instead of absolute placement
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
7efb99ad18
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
fa4bebf2e0
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
305e7fa62c
issue #0002698 : Exported STEP-File contains surplus PRODUCTS
2017-03-26 18:29:27 +02:00
Jean-Marie Verdun
5f1879ee21
Move Step reader to New Part Design workflow
2017-03-23 21:43:46 +01:00
wmayer
cd92e65729
prework for issue #0002698
2017-02-04 11:34:55 +01:00
Jean-Marie Verdun
250b98a07c
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
01bc2fc6ce
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
f40c9ece02
code cleanup
2017-01-27 15:48:27 +01:00
Jean-Marie Verdun
89e53d0e6a
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
cd2413e0c5
fix warning and improve code formatting
2017-01-09 10:16:11 +01:00
Jean-Marie Verdun
f736f6577b
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
b062b41db6
fix -Wextra in Import
2016-09-22 16:40:20 +02:00
wmayer
cb73d010bb
+ port to OCC 7.0
2016-05-14 16:53:27 +02:00
wmayer
cebbbe6d86
+ prepare OCAF document to keep placement
2015-05-16 21:41:53 +02:00
wmayer
73aedf7f6c
+ prepare OCAF document to keep placement
2015-05-16 18:01:57 +02:00
wmayer
ef0b0eab50
+ fixes #0001318 : Crash when exporting .step file
2014-03-02 18:16:16 +01:00
wmayer
dd672d2b2f
+ Fix double to float cast
2013-10-10 17:15:03 +02:00
wmayer
59425257ee
0001182: Preserve names and colors on console mode export to STEP
2013-07-16 14:41:30 +02:00