Commit Graph

82 Commits

Author SHA1 Message Date
wmayer
13a68c3675 PVS: V519 The 'keepExplicitPlacement' variable is assigned values twice successively. 2019-03-03 15:24:17 +01:00
wmayer
2066464ff1 print additional information to std::cout about ocaf structure 2019-02-13 17:54:54 +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
451b808016 CMP0050: make Import module aware of cmake policy 2018-08-20 16:16:13 +02:00
wmayer
1c7a41af58 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
Peter Lama
8227b1bf3d Fix #3426: Hierarchical step export not working with occt 7.2 2018-04-17 10:19:52 -03:00
luz.paz
46d32d78a3 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
4eb3f9aeb6 put all STEP export/import options into one tab page 2018-02-07 22:46:30 +01:00
easyw
2a9ac632cb adding stpZ format: STEP compression format support 2018-01-29 22:57:06 +01:00
wmayer
d15e5fc7ca issue #0003174: Import of simple shapes no longer works 2017-12-06 17:54:10 +01:00
wmayer
0d617f97d6 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
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
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
wmayer
768eec906b py3: ported Import to python3 2017-02-12 21:01:22 +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
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +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
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
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
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
Sebastian Hoogen
46a00d1380 remove support for automake 2014-11-26 10:26:30 +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