Commit Graph

40 Commits

Author SHA1 Message Date
wmayer
6ae3feedae Draft, Import, area: include iosfwd instead of iostream if forward declarations are sufficient 2022-03-01 12:37:00 +01:00
Wanderer Fan
c32dd8a792 [Import]Fix #6461 MEASUREMENT/INSUNITS 2022-02-27 18:57:49 -05:00
wmayer
2c2b60323f Import: [skip ci] handle utf-8 filepath when writing to dxf 2021-03-22 17:13:56 +01:00
Roy-043
340403f35d Update dxf.cpp
Fixed wrong Inch scale factor. 1/25.4 was wrongly used.
2020-11-09 12:35:14 +01:00
wmayer
1c9573e8d2 dxf: [skip ci] Coverity: Buffer not null terminated 2020-09-14 14:37:20 +02:00
luz paz
6f62fd09df Fix typos in various files [skip-ci]
Found via `codespell 2.0.dev0`  
```
codespell -q 2 -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,currenty,dof,doubleclick,dum,eiter,elemente,feld,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-09-04 10:10:31 +02:00
wmayer
c4bb1ff762 Coverity: Copied into fixed size buffer 2020-07-20 17:34:25 +02:00
donovaly
d3413c2182 [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
7595a2a790 [IMP]Support Horiz/Vert Dims in DXF export 2020-01-23 13:46:51 -05:00
wandererfan
218e11df7f [IMP]Fix Dxf handle conflict on export 2019-10-18 09:10:44 -04:00
Zheng, Lei
cb83886826 Import: fix version header path 2019-08-17 15:32:51 +02:00
wmayer
61eeca41e1 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01:00
wmayer
e23db2e313 PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
Yorik van Havre
b7f2b7e333 Import: Fixed import of some DXF R12 files 2018-12-28 00:12:28 -02: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
fc7c802ab5 fix CID 183848 2018-09-19 17:14:46 +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
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
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
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
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
f41598ee33 Fix CCW ellipse arcs 2018-05-15 21:50:48 +02:00
wmayer
15b093b39d fix export of base class 2018-04-29 11:01:07 +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