View Issue Details

IDProjectCategoryView StatusLast Update
0004791FreeCADBugpublic2021-11-24 17:28
Reporteregil Assigned Towmayer  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version0.20 
Fixed in Version0.20 
Summary0004791: DXF import fails for trivial circle
DescriptionImporting a trivial DXF file (attached) generated by LibreCAD (from original KiCAD) with a few lines in a circle creates an exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/.mount_FreeCAU3jKdW/usr/Mod/Draft/importDXF.py", line 2845, in insert
    Import.readDXF(filename)
<class 'RuntimeError'>: gp_Trsf::SetValues, null determinant

All other items in my original DXF works just fine, I have isolated the problem to this circle.
Steps To ReproduceFile -> New
File -> Import -> circle.dxf
Tags#pending-forum
FreeCAD InformationOS: Ubuntu 18.04.6 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26375 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 8a6e3d1)
Hash: 8a6e3d1b766a34546806b22d750929c2d00e30a6
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)

Activities

egil

2021-11-20 09:30

reporter  

circle.dxf (20,910 bytes)   
999
dxfrw 0.6.3
  0
SECTION
  2
HEADER
  9
$ACADVER
  1
AC1021
  9
$DWGCODEPAGE
  3
ANSI_1252
  9
$INSBASE
 10
0
 20
0
 30
0
  9
$EXTMIN
 10
-0.2800000000000001
 20
-0.8570537999999999
 30
0
  9
$EXTMAX
 10
0.3600538000000001
 20
0.125
 30
0
  9
$LIMMIN
 10
0
 20
0
  9
$LIMMAX
 10
420
 20
297
  9
$ORTHOMODE
 70
    0
  9
$REGENMODE
 70
    1
  9
$FILLMODE
 70
    1
  9
$QTEXTMODE
 70
    0
  9
$MIRRTEXT
 70
    0
  9
$LTSCALE
 40
1
  9
$ATTMODE
 70
    0
  9
$TEXTSIZE
 40
2.5
  9
$TRACEWID
 40
15.68
  9
$TEXTSTYLE
  7
STANDARD
  9
$CLAYER
  8
0
  9
$CELTYPE
  6
BYLAYER
  9
$CECOLOR
 62
  256
  9
$CELTSCALE
 40
1
  9
$DISPSILH
 70
    0
  9
$DIMSCALE
 40
2.5
  9
$DIMASZ
 40
2.5
  9
$DIMEXO
 40
0.625
  9
$DIMDLI
 40
3.75
  9
$DIMRND
 40
0
  9
$DIMDLE
 40
0
  9
$DIMEXE
 40
1.25
  9
$DIMTP
 40
0
  9
$DIMTM
 40
0
  9
$DIMTXT
 40
2.5
  9
$DIMCEN
 40
2.5
  9
$DIMTSZ
 40
0
  9
$DIMTOL
 70
    0
  9
$DIMLIM
 70
    0
  9
$DIMTIH
 70
    0
  9
$DIMTOH
 70
    0
  9
$DIMSE1
 70
    0
  9
$DIMSE2
 70
    0
  9
$DIMTAD
 70
    1
  9
$DIMZIN
 70
    8
  9
$DIMBLK
  1

  9
$DIMASO
 70
    1
  9
$DIMSHO
 70
    1
  9
$DIMPOST
  1

  9
$DIMAPOST
  1

  9
$DIMALT
 70
    0
  9
$DIMALTD
 70
    3
  9
$DIMALTF
 40
0.03937
  9
$DIMLFAC
 40
1
  9
$DIMTOFL
 70
    1
  9
$DIMTVP
 40
0
  9
$DIMTIX
 70
    0
  9
$DIMSOXD
 70
    0
  9
$DIMSAH
 70
    0
  9
$DIMBLK1
  1

  9
$DIMBLK2
  1

  9
$DIMSTYLE
  2
Standard
  9
$DIMCLRD
 70
    0
  9
$DIMCLRE
 70
    0
  9
$DIMCLRT
 70
    0
  9
$DIMTFAC
 40
1
  9
$DIMGAP
 40
0.625
  9
$DIMJUST
 70
    0
  9
$DIMSD1
 70
    0
  9
$DIMSD2
 70
    0
  9
$DIMTOLJ
 70
    0
  9
$DIMTZIN
 70
    8
  9
$DIMALTZ
 70
    0
  9
$DIMALTTZ
 70
    0
  9
$DIMUPT
 70
    0
  9
$DIMDEC
 70
    2
  9
$DIMTDEC
 70
    2
  9
$DIMALTU
 70
    2
  9
$DIMALTTD
 70
    3
  9
$DIMTXSTY
  7
STANDARD
  9
$DIMAUNIT
 70
    0
  9
$DIMADEC
 70
    0
  9
$DIMALTRND
 40
0
  9
$DIMAZIN
 70
    0
  9
$DIMDSEP
 70
   44
  9
$DIMATFIT
 70
    3
  9
$DIMFRAC
 70
    0
  9
$DIMLDRBLK
  1
STANDARD
  9
$DIMLUNIT
 70
    2
  9
$DIMLWD
 70
   -2
  9
$DIMLWE
 70
   -2
  9
$DIMTMOVE
 70
    0
  9
$DIMFXL
 40
1
  9
$DIMFXLON
 70
    0
  9
$DIMJOGANG
 40
0.7854
  9
$DIMTFILL
 70
    0
  9
$DIMTFILLCLR
 70
    0
  9
$DIMARCSYM
 70
    0
  9
$DIMLTYPE
  6

  9
$DIMLTEX1
  6

  9
$DIMLTEX2
  6

  9
$LUNITS
 70
    2
  9
$LUPREC
 70
    4
  9
$SKETCHINC
 40
1
  9
$FILLETRAD
 40
0
  9
$AUNITS
 70
    0
  9
$AUPREC
 70
    2
  9
$MENU
  1
.
  9
$ELEVATION
 40
0
  9
$PELEVATION
 40
0
  9
$THICKNESS
 40
0
  9
$LIMCHECK
 70
    0
  9
$CHAMFERA
 40
0
  9
$CHAMFERB
 40
0
  9
$CHAMFERC
 40
0
  9
$CHAMFERD
 40
0
  9
$SKPOLY
 70
    0
  9
$USRTIMER
 70
    1
  9
$ANGBASE
 50
0
  9
$ANGDIR
 70
    1
  9
$PDMODE
 70
   34
  9
$PDSIZE
 40
0
  9
$PLINEWID
 40
0
  9
$SPLFRAME
 70
    0
  9
$SPLINETYPE
 70
    2
  9
$SPLINESEGS
 70
    8
  9
$HANDSEED
  5
20000
  9
$SURFTAB1
 70
    6
  9
$SURFTAB2
 70
    6
  9
$SURFTYPE
 70
    6
  9
$SURFU
 70
    6
  9
$SURFV
 70
    6
  9
$UCSBASE
  2

  9
$UCSNAME
  2

  9
$UCSORG
 10
0
 20
0
 30
0
  9
$UCSXDIR
 10
1
 20
0
 30
0
  9
$UCSYDIR
 10
0
 20
1
 30
0
  9
$UCSORTHOREF
  2

  9
$UCSORTHOVIEW
 70
    0
  9
$UCSORGTOP
 10
0
 20
0
 30
0
  9
$UCSORGBOTTOM
 10
0
 20
0
 30
0
  9
$UCSORGLEFT
 10
0
 20
0
 30
0
  9
$UCSORGRIGHT
 10
0
 20
0
 30
0
  9
$UCSORGFRONT
 10
0
 20
0
 30
0
  9
$UCSORGBACK
 10
0
 20
0
 30
0
  9
$PUCSBASE
  2

  9
$PUCSNAME
  2

  9
$PUCSORG
 10
0
 20
0
 30
0
  9
$PUCSXDIR
 10
1
 20
0
 30
0
  9
$PUCSYDIR
 10
0
 20
1
 30
0
  9
$PUCSORTHOREF
  2

  9
$PUCSORTHOVIEW
 70
    0
  9
$PUCSORGTOP
 10
0
 20
0
 30
0
  9
$PUCSORGBOTTOM
 10
0
 20
0
 30
0
  9
$PUCSORGLEFT
 10
0
 20
0
 30
0
  9
$PUCSORGRIGHT
 10
0
 20
0
 30
0
  9
$PUCSORGFRONT
 10
0
 20
0
 30
0
  9
$PUCSORGBACK
 10
0
 20
0
 30
0
  9
$USERI1
 70
    0
  9
$USERI2
 70
    0
  9
$USERI3
 70
    0
  9
$USERI4
 70
    0
  9
$USERI5
 70
    0
  9
$USERR1
 40
0
  9
$USERR2
 40
0
  9
$USERR3
 40
0
  9
$USERR4
 40
0
  9
$USERR5
 40
0
  9
$WORLDVIEW
 70
    1
  9
$SHADEDGE
 70
    3
  9
$SHADEDIF
 70
   70
  9
$TILEMODE
 70
    1
  9
$MAXACTVP
 70
   64
  9
$PINSBASE
 10
0
 20
0
 30
0
  9
$PLIMCHECK
 70
    0
  9
$PEXTMIN
 10
0
 20
0
 30
0
  9
$PEXTMAX
 10
0
 20
0
 30
0
  9
$SNAPSTYLE
 70
    0
  9
$PLIMMIN
 10
0
 20
0
  9
$PLIMMAX
 10
297
 20
210
  9
$UNITMODE
 70
    0
  9
$VISRETAIN
 70
    1
  9
$PLINEGEN
 70
    0
  9
$PSLTSCALE
 70
    1
  9
$TREEDEPTH
 70
 3020
  9
$CMLSTYLE
  2
Standard
  9
$CMLJUST
 70
    0
  9
$CMLSCALE
 40
20
  9
$PROXYGRAPHICS
 70
    1
  9
$MEASUREMENT
 70
    0
  9
$CELWEIGHT
370
   -1
  9
$ENDCAPS
280
    0
  9
$JOINSTYLE
280
    0
  9
$LWDISPLAY
290
    0
  9
$INSUNITS
 70
    4
  9
$HYPERLINKBASE
  1

  9
$STYLESHEET
  1

  9
$XEDIT
290
    1
  9
$CEPSNTYPE
380
    0
  9
$PSTYLEMODE
290
    1
  9
$EXTNAMES
290
    1
  9
$PSVPSCALE
 40
1
  9
$OLESTARTUP
290
    0
  9
$SORTENTS
280
  127
  9
$INDEXCTL
280
    0
  9
$HIDETEXT
280
    1
  9
$XCLIPFRAME
290
    0
  9
$HALOGAP
280
    0
  9
$OBSCOLOR
 70
  257
  9
$OBSLTYPE
280
    0
  9
$INTERSECTIONDISPLAY
280
    0
  9
$INTERSECTIONCOLOR
 70
  257
  9
$DIMASSOC
280
    1
  9
$PROJECTNAME
  1

  9
$CAMERADISPLAY
290
    0
  9
$LENSLENGTH
 40
50
  9
$CAMERAHEIGHT
 40
0
  9
$STEPSPERSEC
 40
2
  9
$STEPSIZE
 40
50
  9
$3DDWFPREC
 40
2
  9
$PSOLWIDTH
 40
5
  9
$PSOLHEIGHT
 40
80
  9
$LOFTANG1
 40
1.570796326794897
  9
$LOFTANG2
 40
1.570796326794897
  9
$LOFTMAG1
 40
0
  9
$LOFTMAG2
 40
0
  9
$LOFTPARAM
 70
    7
  9
$LOFTNORMALS
280
    1
  9
$LATITUDE
 40
1
  9
$LONGITUDE
 40
1
  9
$NORTHDIRECTION
 40
0
  9
$TIMEZONE
 70
-8000
  9
$LIGHTGLYPHDISPLAY
280
    1
  9
$TILEMODELIGHTSYNCH
280
    1
  9
$SOLIDHIST
280
    1
  9
$SHOWHIST
280
    1
  9
$DWFFRAME
280
    2
  9
$DGNFRAME
280
    0
  9
$REALWORLDSCALE
290
    1
  9
$INTERFERECOLOR
 62
    1
  9
$CSHADOW
280
    0
  9
$SHADOWPLANELOCATION
 40
0
  0
ENDSEC
  0
SECTION
  2
CLASSES
  0
ENDSEC
  0
SECTION
  2
TABLES
  0
TABLE
  2
VPORT
  5
8
330
0
100
AcDbSymbolTable
 70
    1
  0
VPORT
  5
31
330
2
100
AcDbSymbolTableRecord
100
AcDbViewportTableRecord
  2
*ACTIVE
 70
    0
 10
0
 20
0
 11
1
 21
1
 12
0.2207320411985547
 22
-0.0004830022783338177
 13
0
 23
0
 14
10
 24
10
 15
10
 25
10
 16
0
 26
0
 36
1
 17
0
 27
0
 37
0
 40
0.5515886018572198
 41
1.800350262697023
 42
50
 43
0
 44
0
 50
0
 51
0
 71
    0
 72
  100
 73
    1
 74
    3
 75
    0
 76
    1
 77
    0
 78
    0
281
    0
 65
    1
110
0
120
0
130
0
111
1
121
0
131
0
112
0
122
1
132
0
 79
    0
146
0
348
10020
 60
    7
 61
    5
292
1
282
    1
141
0
142
0
 63
  250
421
3358443
  0
ENDTAB
  0
TABLE
  2
LTYPE
  5
5
330
0
100
AcDbSymbolTable
 70
    4
  0
LTYPE
  5
14
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
ByBlock
 70
    0
  3

 72
   65
 73
    0
 40
0
  0
LTYPE
  5
15
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
ByLayer
 70
    0
  3

 72
   65
 73
    0
 40
0
  0
LTYPE
  5
16
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
Continuous
 70
    0
  3
Solid line
 72
   65
 73
    0
 40
0
  0
LTYPE
  5
32
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DOT
 70
    0
  3
Dot . . . . . . . . . . . . . . . . . . . . . .
 72
   65
 73
    2
 40
6.35
 49
0
 74
    0
 49
-6.35
 74
    0
  0
LTYPE
  5
33
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DOTTINY
 70
    0
  3
Dot (.15x) .....................................
 72
   65
 73
    2
 40
0.9525
 49
0
 74
    0
 49
-0.9525
 74
    0
  0
LTYPE
  5
34
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DOT2
 70
    0
  3
Dot (.5x) .....................................
 72
   65
 73
    2
 40
3.175
 49
0
 74
    0
 49
-3.175
 74
    0
  0
LTYPE
  5
35
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DOTX2
 70
    0
  3
Dot (2x) .  .  .  .  .  .  .  .  .  .  .  .  .
 72
   65
 73
    2
 40
12.7
 49
0
 74
    0
 49
-12.7
 74
    0
  0
LTYPE
  5
36
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHED
 70
    0
  3
Dashed _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 72
   65
 73
    2
 40
19.05
 49
12.7
 74
    0
 49
-6.35
 74
    0
  0
LTYPE
  5
37
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHEDTINY
 70
    0
  3
Dashed (.15x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 72
   65
 73
    2
 40
2.8575
 49
1.905
 74
    0
 49
-0.9525
 74
    0
  0
LTYPE
  5
38
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHED2
 70
    0
  3
Dashed (.5x) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 72
   65
 73
    2
 40
9.524999999999999
 49
6.35
 74
    0
 49
-3.175
 74
    0
  0
LTYPE
  5
39
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHEDX2
 70
    0
  3
Dashed (2x) ____  ____  ____  ____  ____  ___
 72
   65
 73
    2
 40
38.09999999999999
 49
25.4
 74
    0
 49
-12.7
 74
    0
  0
LTYPE
  5
3A
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHDOT
 70
    0
  3
Dash dot __ . __ . __ . __ . __ . __ . __ . __
 72
   65
 73
    4
 40
25.4
 49
12.7
 74
    0
 49
-6.35
 74
    0
 49
0
 74
    0
 49
-6.35
 74
    0
  0
LTYPE
  5
3B
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHDOTTINY
 70
    0
  3
Dash dot (.15x) _._._._._._._._._._._._._._._.
 72
   65
 73
    4
 40
3.81
 49
1.905
 74
    0
 49
-0.9525
 74
    0
 49
0
 74
    0
 49
-0.9525
 74
    0
  0
LTYPE
  5
3C
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHDOT2
 70
    0
  3
Dash dot (.5x) _._._._._._._._._._._._._._._.
 72
   65
 73
    4
 40
12.7
 49
6.35
 74
    0
 49
-3.175
 74
    0
 49
0
 74
    0
 49
-3.175
 74
    0
  0
LTYPE
  5
3D
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DASHDOTX2
 70
    0
  3
Dash dot (2x) ____  .  ____  .  ____  .  ___
 72
   65
 73
    4
 40
50.8
 49
25.4
 74
    0
 49
-12.7
 74
    0
 49
0
 74
    0
 49
-12.7
 74
    0
  0
LTYPE
  5
3E
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DIVIDE
 70
    0
  3
Divide ____ . . ____ . . ____ . . ____ . . ____
 72
   65
 73
    6
 40
31.75
 49
12.7
 74
    0
 49
-6.35
 74
    0
 49
0
 74
    0
 49
-6.35
 74
    0
 49
0
 74
    0
 49
-6.35
 74
    0
  0
LTYPE
  5
3F
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DIVIDETINY
 70
    0
  3
Divide (.15x) __..__..__..__..__..__..__..__.._
 72
   65
 73
    6
 40
4.7625
 49
1.905
 74
    0
 49
-0.9525
 74
    0
 49
0
 74
    0
 49
-0.9525
 74
    0
 49
0
 74
    0
 49
-0.9525
 74
    0
  0
LTYPE
  5
40
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DIVIDE2
 70
    0
  3
Divide (.5x) __..__..__..__..__..__..__..__.._
 72
   65
 73
    6
 40
15.875
 49
6.35
 74
    0
 49
-3.175
 74
    0
 49
0
 74
    0
 49
-3.175
 74
    0
 49
0
 74
    0
 49
-3.175
 74
    0
  0
LTYPE
  5
41
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
DIVIDEX2
 70
    0
  3
Divide (2x) ________  .  .  ________  .  .  _
 72
   65
 73
    6
 40
63.5
 49
25.4
 74
    0
 49
-12.7
 74
    0
 49
0
 74
    0
 49
-12.7
 74
    0
 49
0
 74
    0
 49
-12.7
 74
    0
  0
LTYPE
  5
42
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
BORDER
 70
    0
  3
Border __ __ . __ __ . __ __ . __ __ . __ __ .
 72
   65
 73
    6
 40
44.45
 49
12.7
 74
    0
 49
-6.35
 74
    0
 49
12.7
 74
    0
 49
-6.35
 74
    0
 49
0
 74
    0
 49
-6.35
 74
    0
  0
LTYPE
  5
43
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
BORDERTINY
 70
    0
  3
Border (.15x) __.__.__.__.__.__.__.__.__.__.__.
 72
   65
 73
    6
 40
6.6675
 49
1.905
 74
    0
 49
-0.9525
 74
    0
 49
1.905
 74
    0
 49
-0.9525
 74
    0
 49
0
 74
    0
 49
-0.9525
 74
    0
  0
LTYPE
  5
44
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
BORDER2
 70
    0
  3
Border (.5x) __.__.__.__.__.__.__.__.__.__.__.
 72
   65
 73
    6
 40
22.225
 49
6.35
 74
    0
 49
-3.175
 74
    0
 49
6.35
 74
    0
 49
-3.175
 74
    0
 49
0
 74
    0
 49
-3.175
 74
    0
  0
LTYPE
  5
45
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
BORDERX2
 70
    0
  3
Border (2x) ____  ____  .  ____  ____  .  ___
 72
   65
 73
    6
 40
88.89999999999999
 49
25.4
 74
    0
 49
-12.7
 74
    0
 49
25.4
 74
    0
 49
-12.7
 74
    0
 49
0
 74
    0
 49
-12.7
 74
    0
  0
LTYPE
  5
46
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
CENTER
 70
    0
  3
Center ____ _ ____ _ ____ _ ____ _ ____ _ ____
 72
   65
 73
    4
 40
50.8
 49
31.75
 74
    0
 49
-6.35
 74
    0
 49
6.35
 74
    0
 49
-6.35
 74
    0
  0
LTYPE
  5
47
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
CENTERTINY
 70
    0
  3
Center (.15x) ___ _ ___ _ ___ _ ___ _ ___ _ ___
 72
   65
 73
    4
 40
7.619999999999999
 49
4.7625
 74
    0
 49
-0.9525
 74
    0
 49
0.9525
 74
    0
 49
-0.9525
 74
    0
  0
LTYPE
  5
48
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
CENTER2
 70
    0
  3
Center (.5x) ___ _ ___ _ ___ _ ___ _ ___ _ ___
 72
   65
 73
    4
 40
28.575
 49
19.05
 74
    0
 49
-3.175
 74
    0
 49
3.175
 74
    0
 49
-3.175
 74
    0
  0
LTYPE
  5
49
330
5
100
AcDbSymbolTableRecord
100
AcDbLinetypeTableRecord
  2
CENTERX2
 70
    0
  3
Center (2x) ________  __  ________  __  _____
 72
   65
 73
    4
 40
101.6
 49
63.5
 74
    0
 49
-12.7
 74
    0
 49
12.7
 74
    0
 49
-12.7
 74
    0
  0
ENDTAB
  0
TABLE
  2
LAYER
  5
2
330
0
100
AcDbSymbolTable
 70
    1
  0
LAYER
  5
10
330
2
100
AcDbSymbolTableRecord
100
AcDbLayerTableRecord
  2
0
 70
    0
 62
    7
  6
CONTINUOUS
370
    0
390
F
  0
LAYER
  5
4A
330
2
100
AcDbSymbolTableRecord
100
AcDbLayerTableRecord
  2
BLACK
 70
    0
 62
    7
  6
CONTINUOUS
370
   -3
390
F
  0
ENDTAB
  0
TABLE
  2
STYLE
  5
3
330
0
100
AcDbSymbolTable
 70
    3
  0
STYLE
  5
4B
330
2
100
AcDbSymbolTableRecord
100
AcDbTextStyleTableRecord
  2
Standard
 70
    0
 40
0
 41
1
 50
0
 71
    0
 42
1
  3
txt
  4

  0
ENDTAB
  0
TABLE
  2
VIEW
  5
6
330
0
100
AcDbSymbolTable
 70
    0
  0
ENDTAB
  0
TABLE
  2
UCS
  5
7
330
0
100
AcDbSymbolTable
 70
    0
  0
ENDTAB
  0
TABLE
  2
APPID
  5
9
330
0
100
AcDbSymbolTable
 70
    1
  0
APPID
  5
12
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
ACAD
 70
    0
  0
APPID
  5
4C
330
9
100
AcDbSymbolTableRecord
100
AcDbRegAppTableRecord
  2
LibreCad
 70
    0
  0
ENDTAB
  0
TABLE
  2
DIMSTYLE
  5
A
330
0
100
AcDbSymbolTable
 70
    1
100
AcDbDimStyleTable
 71
    1
  0
DIMSTYLE
105
4D
330
A
100
AcDbSymbolTableRecord
100
AcDbDimStyleTableRecord
  2
Standard
 70
    0
 40
1
 41
2.5
 42
0.625
 43
0.38
 44
1.25
 45
0
 46
0
 47
0
 48
0
 49
1
140
2.5
141
0.09
142
2.5
143
25.4
144
1
145
0
146
1
147
0.625
148
0
 71
    0
 72
    0
 73
    0
 74
    1
 75
    0
 76
    0
 77
    0
 78
    1
 79
    0
170
    0
171
    2
172
    0
173
    0
174
    0
175
    0
176
    0
177
    0
178
    0
179
    0
271
    2
272
    4
273
    2
274
    2
275
    0
276
    0
277
    2
278
    0
279
    0
280
    0
281
    0
282
    0
283
    1
284
    0
285
    0
286
    0
288
    0
289
    3
340
standard
341

371
   -2
372
   -2
  0
ENDTAB
  0
TABLE
  2
BLOCK_RECORD
  5
1
330
0
100
AcDbSymbolTable
 70
    2
  0
BLOCK_RECORD
  5
1F
330
1
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
*Model_Space
 70
    0
280
    1
281
    0
  0
BLOCK_RECORD
  5
1E
330
1
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
*Paper_Space
 70
    0
280
    1
281
    0
  0
BLOCK_RECORD
  5
4E
330
1
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
test-F_Cu
 70
    0
280
    1
281
    0
  0
ENDTAB
  0
ENDSEC
  0
SECTION
  2
BLOCKS
  0
BLOCK
  5
20
330
1F
100
AcDbEntity
  8
0
100
AcDbBlockBegin
  2
*Model_Space
 70
    0
 10
0
 20
0
 30
0
  3
*Model_Space
  1

  0
ENDBLK
  5
21
330
1F
100
AcDbEntity
  8
0
100
AcDbBlockEnd
  0
BLOCK
  5
1C
330
1B
100
AcDbEntity
  8
0
100
AcDbBlockBegin
  2
*Paper_Space
 70
    0
 10
0
 20
0
 30
0
  3
*Paper_Space
  1

  0
ENDBLK
  5
1D
330
1F
100
AcDbEntity
  8
0
100
AcDbBlockEnd
  0
BLOCK
  5
4F
330
4E
100
AcDbEntity
  8
0
100
AcDbBlockBegin
  2
test-F_Cu
 70
    0
 10
0
 20
0
  3
test-F_Cu
  1

  0
LINE
  5
51
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.73458
 20
-4.13401
 11
1.74461
 21
-4.13816
  0
LINE
  5
52
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.74461
 20
-4.13816
 11
1.75364
 21
-4.14419
  0
LINE
  5
53
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.75364
 20
-4.14419
 11
1.76132
 21
-4.15187
  0
LINE
  5
54
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.76132
 20
-4.15187
 11
1.76735
 21
-4.1609
  0
LINE
  5
55
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.76735
 20
-4.1609
 11
1.7715
 21
-4.17093
  0
LINE
  5
56
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.7715
 20
-4.17093
 11
1.77362
 21
-4.18158
  0
LINE
  5
57
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.77362
 20
-4.18158
 11
1.77362
 21
-4.19244
  0
LINE
  5
58
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.77362
 20
-4.19244
 11
1.7715
 21
-4.20309
  0
LINE
  5
59
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.7715
 20
-4.20309
 11
1.76735
 21
-4.21312
  0
LINE
  5
5A
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.76735
 20
-4.21312
 11
1.76132
 21
-4.22214
  0
LINE
  5
5B
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.76132
 20
-4.22214
 11
1.75364
 21
-4.22982
  0
LINE
  5
5C
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.75364
 20
-4.22982
 11
1.74461
 21
-4.23585
  0
LINE
  5
5D
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.74461
 20
-4.23585
 11
1.73458
 21
-4.24001
  0
LINE
  5
5E
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.73458
 20
-4.24001
 11
1.72393
 21
-4.24213
  0
LINE
  5
5F
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.72393
 20
-4.24213
 11
1.71308
 21
-4.24213
  0
LINE
  5
60
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.71308
 20
-4.24213
 11
1.70243
 21
-4.24001
  0
LINE
  5
61
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.70243
 20
-4.24001
 11
1.6924
 21
-4.23585
  0
LINE
  5
62
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.6924
 20
-4.23585
 11
1.68337
 21
-4.22982
  0
LINE
  5
63
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.68337
 20
-4.22982
 11
1.67569
 21
-4.22214
  0
LINE
  5
64
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.67569
 20
-4.22214
 11
1.66966
 21
-4.21312
  0
LINE
  5
65
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.66966
 20
-4.21312
 11
1.6655
 21
-4.20309
  0
LINE
  5
66
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.6655
 20
-4.20309
 11
1.66339
 21
-4.19244
  0
LINE
  5
67
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.66339
 20
-4.19244
 11
1.66339
 21
-4.18158
  0
LINE
  5
68
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.66339
 20
-4.18158
 11
1.6655
 21
-4.17093
  0
LINE
  5
69
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.6655
 20
-4.17093
 11
1.66966
 21
-4.1609
  0
LINE
  5
6A
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.66966
 20
-4.1609
 11
1.67569
 21
-4.15187
  0
LINE
  5
6B
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.67569
 20
-4.15187
 11
1.68337
 21
-4.14419
  0
LINE
  5
6C
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.68337
 20
-4.14419
 11
1.6924
 21
-4.13816
  0
LINE
  5
6D
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.6924
 20
-4.13816
 11
1.70243
 21
-4.13401
  0
LINE
  5
6E
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.70243
 20
-4.13401
 11
1.71308
 21
-4.13189
  0
LINE
  5
6F
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.71308
 20
-4.13189
 11
1.72393
 21
-4.13189
  0
LINE
  5
70
100
AcDbEntity
  8
BLACK
  6
CONTINUOUS
 62
  256
370
   -1
100
AcDbLine
 10
1.72393
 20
-4.13189
 11
1.73458
 21
-4.13401
  0
ENDBLK
  5
50
330
4E
100
AcDbEntity
  8
0
100
AcDbBlockEnd
  0
ENDSEC
  0
SECTION
  2
ENTITIES
  0
INSERT
  5
71
100
AcDbEntity
  8
0
  6
ByLayer
 62
  256
370
   -1
100
AcDbBlockReference
  2
test-F_Cu
 10
-1.8585
 20
3.93701
 30
0
 41
1
 42
1
 43
0
 50
0
 70
    1
 71
    1
 44
0
 45
0
  0
ENDSEC
  0
SECTION
  2
OBJECTS
  0
DICTIONARY
  5
C
330
0
100
AcDbDictionary
281
    1
  3
ACAD_GROUP
350
D
  0
DICTIONARY
  5
D
330
C
100
AcDbDictionary
281
    1
  0
ENDSEC
  0
EOF
circle.dxf (20,910 bytes)   

egil

2021-11-22 18:20

reporter   ~0016049

Forum post: https://forum.freecadweb.org/viewtopic.php?f=3&t=63975

egil

2021-11-23 13:36

reporter   ~0016050

The root cause is error in the input, as clarified in the forum. .

So this is not a major bug.

The issue could possibly be changed to a proposal to let the DXF import either accept a Z scale of zero or give some more meaningful error message

egil

2021-11-24 16:14

reporter   ~0016055

Sorry, I am a slow thinker, but as wmayer in the forum says, the Z scale is multiplied by any Z coordinate, rendering all Z values zero, so this should be valid input, should it not? So it does seem to be an issue with FreeCad after all!?

wmayer

2021-11-24 17:28

administrator   ~0016056

https://github.com/FreeCAD/FreeCAD/commit/325c5ec887d838ba1124ab2a8ae2a47eb0b8a30a

Issue History

Date Modified Username Field Change
2021-11-20 09:30 egil New Issue
2021-11-20 09:30 egil File Added: circle.dxf
2021-11-22 18:20 egil Note Added: 0016049
2021-11-22 18:54 openBrain Tag Attached: #pending-forum
2021-11-22 18:54 openBrain Status new => feedback
2021-11-23 13:36 egil Note Added: 0016050
2021-11-23 13:36 egil Status feedback => new
2021-11-24 16:14 egil Note Added: 0016055
2021-11-24 17:28 wmayer Assigned To => wmayer
2021-11-24 17:28 wmayer Status new => closed
2021-11-24 17:28 wmayer Resolution open => fixed
2021-11-24 17:28 wmayer Fixed in Version => 0.20
2021-11-24 17:28 wmayer Note Added: 0016056