Commit Graph

191 Commits

Author SHA1 Message Date
wmayer
9c7128ea77 fixes 0003729: REGRESSION: FreeCAD 0.17 does not export color information with STEP files 2018-12-24 17:27:56 +01:00
wmayer
9d80db2793 Replace Base::Exception with appropriate subclass 2018-11-14 17:23:48 +01:00
wmayer
a7094210f8 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
wmayer
e605d5f4bf fix build failure for oCCT 7.2 or later 2018-09-28 15:36:17 +02:00
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
02ab1c9424 fixes 0003165: Color information lost in STEP export 2018-09-28 11:49:04 +02:00
easyw
b8cceb5f52 make stepZ py3 compliant 2018-09-23 10:43:14 +02:00
wmayer
d978287af6 fix CID 183848 2018-09-19 17:14:46 +02:00
wmayer
dce4086d64 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
wmayer
cda05c914c CMP0050: make Import module aware of cmake policy 2018-08-20 16:16:41 +02:00
wmayer
e3a783fd46 CMP0050: make Import module aware of cmake policy 2018-08-20 16:16:13 +02:00
wmayer
557fee3dc6 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
wmayer
03a28be4ca MSVC does not support keyword 'or' 2018-08-19 10:56:00 +02:00
wandererfan
f82012b68a Remove const qualifier for Travis OCE version 2018-08-19 10:47:08 +02:00
wandererfan
baa960e1de Coverity Fixes
- 183599
- 183595
- 183594
- 175821
- 175820
- 175817
- 175816
- 175815
- 175814
- 175813
- 175812
- 175811
- 175806
- 175805
- 175804
- 175802
2018-08-19 10:47:08 +02:00
wandererfan
0865468918 Add option for Dxf Version and forced Polyline
- allows override of user parameter values.
2018-08-19 10:47:08 +02:00
wandererfan
c28f95d9f5 Export DocObjectPy/TopoShapePy to Dxf (Import module) 2018-07-26 10:02:25 -03:00
wandererfan
d37519e3e3 Dxf Boilerplate files not installed
- fix INSTALL command in Import/CMakeLists.txt
2018-07-23 12:47:56 -03:00
wandererfan
9bfd118f37 Fix includes for M_PI on Win
Fix missing ImportExport
2018-07-18 10:52:03 -03:00
wandererfan
9c60b4190c Fix "use of deleted function" error on streams 2018-07-18 10:52:03 -03:00
wandererfan
0790e3c920 Add support for Dxf Export R14 spec 2018-07-18 10:52:03 -03:00
luz.paz
be5e93ddfe Misc. typo & whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
Revert IFC commit
2018-07-11 21:52:27 -04:00
wandererfan
f91cb2ab7d Compatibility w/R12 and arrows for Angles 2018-06-15 11:34:00 -03:00
wandererfan
7cb8520a84 Make Dxf Dimensions compatible with ACAD 2018-06-10 19:13:22 +02:00
wandererfan
0f8eca3c1c Make Dxf header compatible with ACAD 2018-06-10 19:13:21 +02:00
wandererfan
8cd1cab685 Fix wrong Pi literal on Win 2018-06-04 17:00:40 -04:00
wandererfan
8b4a2895ab Control Dxf Point export by preference 2018-06-04 12:56:26 -04:00
wandererfan
5d65ad7994 Implement thumbnail blocks for Dimensions 2018-06-04 12:56:26 -04:00
wandererfan
f0964a9c05 Implement R12 version of Polyline 2018-05-31 20:57:01 +02:00
wandererfan
6b6a0569be Add 999 Application group code
- also remove variable $MAXACTVP - not valid in some
  appls.
2018-05-31 20:57:01 +02:00
wandererfan
ea5617ee01 Initialize #pts for LWPolyLine 2018-05-31 20:57:01 +02:00
wandererfan
2760dabb3c Format Dxf Group Codes as 3 chars 2018-05-30 19:06:58 -03:00
wandererfan
73d597710f Write Dimension Blocks to Dxf file 2018-05-28 19:54:45 +02:00
wandererfan
064a261cc2 Add Header with version to dxf output file 2018-05-28 19:54:45 +02:00
looooo
9fb122008b 2to3: port some missing print statements 2018-05-23 19:13:54 +02:00
looooo
8e8d0d0cba py3: Import: 2to3 2018-05-23 19:13:54 +02:00
wandererfan
2dd0f1f8f6 Export Diametric Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
b7f4fe9368 Export Radial Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
4a1b6601da Export Angular Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
490b7fc197 Export Linear Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
84c40aa69b export TD Annotation to Dxf 2018-05-16 18:58:10 -04:00
wandererfan
fa28bf97ea Export Points to Dxf 2018-05-16 18:58:10 -04:00
wandererfan
ea87335842 Fix CCW ellipse arcs 2018-05-15 21:50:48 +02:00
wandererfan
fe6c07b24f Add writeDXFObject to Import
- add a function to write DocumentObject(s) to Dxf file.
- all caller to specifiy parameter source to ImpExpDxf
  functions.
2018-05-01 13:22:02 -04:00
wmayer
c32ca39b3e suppress warning 4275 2018-04-29 12:55:28 +02:00
wmayer
620768b8a1 fix export of base class 2018-04-29 11:01:07 +02:00
wmayer
5a7bc3376d disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions 2018-04-29 11:00:28 +02:00
wandererfan
09e85f7ef1 Add include for TColgp_Array1OfPnt
- Travis/Appveyor use oce-0.15 vs devl
   environment occ7.2.
2018-04-29 10:12:31 +02:00
wandererfan
ddac40afbd Move Dxf function to Mod/Import Ph1
- move HeeksCAD dxf import/export code from Draft to
  Mod/Import. This first phase moves dxf.cpp and
  DraftDxf.cpp to Mod/Import and adds dxfWrite functionality
  to DraftDxf.cpp.
2018-04-29 10:12:31 +02:00