Commit Graph

43 Commits

Author SHA1 Message Date
wmayer
4469964dc4 improve whitespaces 2017-07-26 23:08:44 +02:00
Jean-Marie Verdun
48c362b669 Fix a stupid bug due to a bad copy/paste into the hierarchical STEP function
which was resetting the XCAF doc just before writing it, ending up to write empty files
2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
7832a16af1 Add AP214/203 support to the hierarchical STEP Importer/Exporter 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
28fc8ff34f Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
wmayer
ded46ffa65 fix whitespaces 2017-07-13 21:46:24 +02:00
Jean-Marie Verdun
0cc018ca42 Fix compiler Warnings 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
c8919651ba Final fix for hierarchical STEP 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
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
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
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
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02: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
f85fa0325a + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer
416891c728 + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer
801bfa8936 + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer
b76601b068 + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
wmayer
a23432dafc + customize STEP header 2014-10-30 11:48:33 +01:00
wmayer
61c92961e3 + customize IGES header 2014-10-29 16:39:33 +01:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
af50cbf964 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
d4f4c30028 + relates to #0001421 2014-03-06 16:35:33 +01:00
wmayer
ad877e1ae1 + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
59425257ee 0001182: Preserve names and colors on console mode export to STEP 2013-07-16 14:41:30 +02:00
wmayer
017404250c 0000948: Part names are incorrect on import from STEP file 2013-07-09 14:37:34 +02:00
wmayer
16c594d20d 0001160: Freecad sometimes 'forgets' the ability to handle stp files 2013-06-27 14:16:41 +02:00
wmayer
fddccde58a Handle API change in OCC 6.5 2012-10-06 12:20:57 +02:00
wmayer
a006de182c Handle API change in OCC 6.5 2012-10-06 12:17:08 +02:00
wmayer
bbd8450894 Add missing header file 2012-10-05 00:12:57 +02:00
wmayer
546481502f Fix STEP AP203/214 flaws 2012-10-04 12:47:38 +02:00
wmayer
e16070f04a 0000832: Original color STEP model lost in import 2012-09-29 15:50:17 +02:00
wmayer
8a94ba885c Fix critical warnings 2012-06-13 18:49:10 +02:00
wmayer
9d58157aef 0000550: No correct name of parts after import of STEP file containing assemblies
embed tree widget in dialog

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5415 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-18 12:20:47 +00:00
wmayer
55df007ba6 + implement OCAF browser
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5405 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-13 18:27:51 +00:00
wmayer
d753e10a63 0000439: Improve STEP import to find colors attached to sub-shapes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5399 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-11 21:05:23 +00:00
wmayer
f8ad9939b0 0000439: Improve STEP import to find colors attached to sub-shapes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5396 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-11 16:10:41 +00:00
wmayer
c7c6578a4f + fix bug when part and faces of this part have colors defined in STEP file
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5394 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-09 15:40:33 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00