Commit Graph

55 Commits

Author SHA1 Message Date
wmayer
27a4938d90 move class ExportOCAF to own source files 2018-09-28 15:06:46 +02:00
wmayer
95efad737b fixes 0003491: Import.export not preserving placement of Part Features in STP file export 2018-09-28 14:58:49 +02:00
wmayer
557fee3dc6 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
Peter Lama
72d334d867 Fix #3426: Hierarchical step export not working with occt 7.2 2018-04-17 10:19:52 -03:00
luz.paz
b45bc4889d Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
d9ae108319 put all STEP export/import options into one tab page 2018-02-07 22:46:30 +01:00
wmayer
52fe4cd2a7 issue #0003174: Import of simple shapes no longer works 2017-12-06 17:54:10 +01:00
wmayer
949c86d364 Port to occ7.2:
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
wmayer
5a0b0944c0 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
034520e02f improve whitespaces 2017-08-01 08:30:22 +02:00
Jean-Marie Verdun
d75c33f123 Fix Placement and Color export within Hierarchical Step exporter of single shapes 2017-07-31 22:33:09 +02:00
Jean-Marie Verdun
1220eb00b4 Export single STEP object with absolute coordinate instead of (0,0,0) as default origin 2017-07-31 16:45:24 -03:00
wmayer
6b5126648d improve whitespaces 2017-07-26 23:08:44 +02:00
Jean-Marie Verdun
3a0c4dbfea 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
2cd24b0196 Add AP214/203 support to the hierarchical STEP Importer/Exporter 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
5ef87acb70 Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
wmayer
5bc9581113 fix whitespaces 2017-07-13 21:46:24 +02:00
Jean-Marie Verdun
9ec695557a Fix compiler Warnings 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
8ab063aaa5 Final fix for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
a120a1cbbe Add initial code for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
4355b2864c 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
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
add9bf910b fix memory leak on IGES import 2017-04-03 19:09:47 +02:00
wmayer
a289538e03 fixes #1999: Tessellation data or OpenInventor data memory leak 2017-04-03 18:21:49 +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
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
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
a5b6e5d48a + simplify porting of Import module to Python3 2016-01-21 12:08:29 +01:00
Mateusz Skowroński
cd2db00f22 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
2f25170763 + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer
52db9a6cff + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer
82edb4b50a + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer
ee86871bed + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
wmayer
92ebfab47a + customize STEP header 2014-10-30 11:48:33 +01:00
wmayer
76906d20a0 + customize IGES header 2014-10-29 16:39:33 +01:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
5e51a6cdf7 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
040c19b1c1 + relates to #0001421 2014-03-06 16:35:33 +01:00
wmayer
4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
64890a4552 0001182: Preserve names and colors on console mode export to STEP 2013-07-16 14:41:30 +02:00
wmayer
adc0052997 0000948: Part names are incorrect on import from STEP file 2013-07-09 14:37:34 +02:00
wmayer
4b2474807b 0001160: Freecad sometimes 'forgets' the ability to handle stp files 2013-06-27 14:16:41 +02:00
wmayer
a59b00e08e Handle API change in OCC 6.5 2012-10-06 12:20:57 +02:00
wmayer
8a4c0ec2c0 Handle API change in OCC 6.5 2012-10-06 12:17:08 +02:00
wmayer
e41ec791b5 Add missing header file 2012-10-05 00:12:57 +02:00
wmayer
2e2873362b Fix STEP AP203/214 flaws 2012-10-04 12:47:38 +02:00
wmayer
f403295ca7 0000832: Original color STEP model lost in import 2012-09-29 15:50:17 +02:00
wmayer
b4aff85333 Fix critical warnings 2012-06-13 18:49:10 +02:00
wmayer
f46eb9fea2 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