Commit Graph

101 Commits

Author SHA1 Message Date
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
bb12ce3474 Compute the document before inserting STEP file.
Consider that inserted Tree Element are computed and remove the Touched flag
before recomputing lately the document
This is accelerating the STEP file
2017-05-07 21:45:31 +02: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
wmayer
800526836a use specialized Python exception classes 2017-04-28 19:33:51 +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
d27bb9955e fix memory leak on IGES import 2017-04-03 19:09:47 +02:00
wmayer
5405dd76ee fixes #1999: Tessellation data or OpenInventor data memory leak 2017-04-03 18:21:49 +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
Kunda
4671a4e12d ascii weirdness
Upstreamed fixes to stepcode in https://github.com/stepcode/stepcode/pull/356 were accepted. Please merge as ongoing typo fix effort in issue #2914
2017-03-07 13:48:16 -03:00
Kunda
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
wmayer
768eec906b py3: ported Import to python3 2017-02-12 21:01:22 +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
looooo
8d8dec9f3d python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02: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
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
Yorik van Havre
a67bdf3f9c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02: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
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
1bc2caebb4 remove unneeded orig files 2016-04-12 19:10:19 +02:00
Stefan Tröger
a6e885e867 Fix rebase error 2016-04-12 18:12:23 +02:00
Stefan Tröger
94c0c59d50 remove import dependency on assembly workbench 2016-04-12 18:12:09 +02:00
jriegel
c88a8336dc Several enhancements
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jriegel
5d5c04a508 + add PlmXmlParser
+ add test data for PLMXML and JT
2016-04-12 18:12:03 +02:00
jriegel
5a8919f943 [Assembly] fixing the commands and some import 2016-04-12 18:12:02 +02:00
jriegel
354e7dfa87 Start of rework of class structure 2016-04-12 18:12:01 +02:00
jriegel
ecaa1ebc00 Add additional loging 2016-04-12 18:12:01 +02:00
jriegel
8296d514e3 Implement some diagnostics 2016-04-12 18:12:01 +02:00
jriegel
288b5b32fb Open new track for importing Assembly structures with OCSF reader. 2016-04-12 18:12:01 +02:00
wmayer
2eb3c85393 + code clean-up 2016-01-21 16:43:27 +01:00
wmayer
14c6859968 + simplify porting of Import module to Python3 2016-01-21 12:08:29 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
93a3dc0cdd + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer
72aaaa669a + harmonize Coin3D cmake variables with official check 2015-07-28 14:55:15 +02:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
f85fa0325a + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +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
416891c728 + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00