Commit Graph

145 Commits

Author SHA1 Message Date
wmayer
e23db2e313 PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer
fc7efcb4d7 avoid possible errors with null labels 2019-02-13 11:39:25 +01:00
Yorik van Havre
b7f2b7e333 Import: Fixed import of some DXF R12 files 2018-12-28 00:12:28 -02:00
wmayer
58fed273ab fixes 0003729: REGRESSION: FreeCAD 0.17 does not export color information with STEP files 2018-12-24 17:27:56 +01:00
wmayer
c7f881ee43 Replace Base::Exception with appropriate subclass 2018-11-14 17:23:48 +01:00
wmayer
31963f16c1 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
b626108195 fix build failure for oCCT 7.2 or later 2018-09-28 15:36:17 +02: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
4a2d7fc312 fixes 0003165: Color information lost in STEP export 2018-09-28 11:49:04 +02:00
wmayer
fc7c802ab5 fix CID 183848 2018-09-19 17:14:46 +02:00
wmayer
b8e8f4a8d1 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
d33dff4225 CMP0050: make Import module aware of cmake policy 2018-08-20 16:16:41 +02:00
wmayer
1c7a41af58 fix -Wignored-qualifiers 2018-08-19 12:38:57 +02:00
wmayer
f8fe9d4453 MSVC does not support keyword 'or' 2018-08-19 10:56:00 +02:00
wandererfan
be74c4e310 Remove const qualifier for Travis OCE version 2018-08-19 10:47:08 +02:00
wandererfan
40532fb75c 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
c06a918d2e Add option for Dxf Version and forced Polyline
- allows override of user parameter values.
2018-08-19 10:47:08 +02:00
wandererfan
6005da2464 Export DocObjectPy/TopoShapePy to Dxf (Import module) 2018-07-26 10:02:25 -03:00
wandererfan
9f4a5ae652 Fix includes for M_PI on Win
Fix missing ImportExport
2018-07-18 10:52:03 -03:00
wandererfan
20668b4160 Fix "use of deleted function" error on streams 2018-07-18 10:52:03 -03:00
wandererfan
08a3e315ce Add support for Dxf Export R14 spec 2018-07-18 10:52:03 -03:00
luz.paz
a1ffb0fa3c 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
3d0a49ddc3 Compatibility w/R12 and arrows for Angles 2018-06-15 11:34:00 -03:00
wandererfan
06c5ef217d Make Dxf Dimensions compatible with ACAD 2018-06-10 19:13:22 +02:00
wandererfan
fd5e2de710 Make Dxf header compatible with ACAD 2018-06-10 19:13:21 +02:00
wandererfan
04a03a71c6 Fix wrong Pi literal on Win 2018-06-04 17:00:40 -04:00
wandererfan
4fe09d8502 Control Dxf Point export by preference 2018-06-04 12:56:26 -04:00
wandererfan
a0bb84f19f Implement thumbnail blocks for Dimensions 2018-06-04 12:56:26 -04:00
wandererfan
fff608663d Implement R12 version of Polyline 2018-05-31 20:57:01 +02:00
wandererfan
e2e1617c74 Add 999 Application group code
- also remove variable $MAXACTVP - not valid in some
  appls.
2018-05-31 20:57:01 +02:00
wandererfan
5c47f1acec Initialize #pts for LWPolyLine 2018-05-31 20:57:01 +02:00
wandererfan
bffc23f02f Format Dxf Group Codes as 3 chars 2018-05-30 19:06:58 -03:00
wandererfan
2a39bdc24c Write Dimension Blocks to Dxf file 2018-05-28 19:54:45 +02:00
wandererfan
d855f94b31 Add Header with version to dxf output file 2018-05-28 19:54:45 +02:00
looooo
7b444dac5c 2to3: port some missing print statements 2018-05-23 19:13:54 +02:00
looooo
98f47b7946 py3: Import: 2to3 2018-05-23 19:13:54 +02:00
wandererfan
d4552fb11a Export Diametric Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
8115c8e80b Export Radial Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
65f67d8ff8 Export Angular Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
06e8572d98 Export Linear Dim to Dxf 2018-05-21 19:36:16 -04:00
wandererfan
6f61c21e3c export TD Annotation to Dxf 2018-05-16 18:58:10 -04:00
wandererfan
cfc3c015e5 Export Points to Dxf 2018-05-16 18:58:10 -04:00
wandererfan
f41598ee33 Fix CCW ellipse arcs 2018-05-15 21:50:48 +02:00
wandererfan
76aee3965d 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
51e1f753df suppress warning 4275 2018-04-29 12:55:28 +02:00
wmayer
15b093b39d fix export of base class 2018-04-29 11:01:07 +02:00
wmayer
5e484d0a92 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
ebadc3ae9a 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
e83b49d259 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