Commit Graph

167 Commits

Author SHA1 Message Date
wmayer
e1363e5d0f PVS: V575 The null pointer is passed into 'strcpy' function. Inspect the first argument 2020-07-18 10:59:28 +02:00
wmayer
39fe47b9de PVS: V519 A variable is assigned values twice successively. 2020-07-18 10:59:27 +02:00
luz.paz
1da81df756 Fix typos [skip-ci]
Found via codespell v1.18.0.dev0  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2020-06-29 20:52:23 +02:00
wmayer
2cb9b147f1 Import: handle OCC versions 7.4.1 and earlier 2020-05-30 11:56:14 +02:00
Gabriel Wicke
063515f650 [import] Hotfix for build failure from bad debug code
Quick fix for a build failure with latest opencascade. Directly use
std::cout instead of custom streams.
2020-05-30 11:49:48 +02:00
wmayer
2415f1809e Import: [skip ci] degrade output in STEP importer to log messages 2020-05-28 17:52:01 +02:00
donovaly
af4f4282a4 [Import] improve DXF version creation
- use App/Application.h instead of Build/Version.h to avoid permanent recompilation as discussed: https://forum.freecadweb.org/viewtopic.php?p=377404#p377401
2020-03-16 23:49:00 +01:00
wandererfan
7b9048953f [IMP]Support Horiz/Vert Dims in DXF export 2020-01-23 13:46:51 -05:00
wmayer
d62eda51d6 Import: [skip ci] fix bug when checking if std::map is empty 2020-01-17 23:26:22 +01:00
luz.paz
d923798946 [skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing 2019-12-26 10:10:30 +01:00
wmayer
71dae0e639 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wandererfan
5512d5490c [IMP]Fix Dxf handle conflict on export 2019-10-18 09:10:44 -04:00
luz.paz
f22ae848ea Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03:00
Zheng, Lei
e9a4f97150 Import: fix version header path 2019-08-17 15:32:51 +02:00
Zheng, Lei
32ad54c9ef Import: add new implementation of STEP importer/exporter
For better supporting Link and groups. The original implementation can
still be used by uncheck the STEP import setting 'Use Link Group'.
2019-08-17 15:15:47 +02:00
wandererfan
87ffd12016 Fix TD Dfx export - spline conversion 2019-03-28 10:44:33 -03:00
wmayer
51811e4bf4 PVS: V688 A local variable possesses the same name as one of the class members, which can result in a confusion 2019-03-13 11:58:43 +01:00
wmayer
a604dab0b8 cannot use null pointer as target for strcpy 2019-03-03 15:39:38 +01:00
wmayer
b1909bff4d PVS: V519 The 'keepExplicitPlacement' variable is assigned values twice successively. 2019-03-03 15:24:17 +01:00
wmayer
519849de89 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01:00
wmayer
d3e008e46c fixes 0003860: Debian bug #920971 - C++ exception on DXF import 2019-02-25 23:46:31 +01:00
wmayer
0852dde409 fixes 0003807: STEP export with BaseFeature does not hide BaseObject 2019-02-23 19:43:35 +01:00
wmayer
3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer
9e7c384948 avoid possible errors with null labels 2019-02-13 11:39:25 +01:00
Yorik van Havre
217e0fef0f Import: Fixed import of some DXF R12 files 2018-12-28 00:12:28 -02:00
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
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
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
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