使用AcDb3dPolyline的DXF格式

时间:2015-04-23 10:25:53

标签: dxf

我需要帮助了解下面的DXF文件有什么问题。当我尝试将其导入两个单独的软件产品(小而且相对未知)时,我收到错误。我正在开发一个编写DXF文件的程序,只需要知道正确的语法。

非常感谢任何帮助。



0
SECTION
  2
ENTITIES
  0
POLYLINE
  5
76
330
1F
100
AcDbEntity
  8
0
100
AcDb3dPolyline
 66
     1
 10
0.0
 20
0.0
 30
0.0
 70
     8
  0
VERTEX
  5
77
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
-2.682663316582904
 20
235.6055276381909
 30
0.0
 70
    32
  0
VERTEX
  5
78
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
11.74257787156506
 20
173.1071513625327
 30
0.0
 70
    32
  0
VERTEX
  5
79
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
135.7183417085427
 20
173.1798994974874
 30
0.0
 70
    32
  0
VERTEX
  5
7A
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
-133.6656858850508
 20
97.48688849752057
 30
20.0
 70
    32
  0
VERTEX
  5
7B
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
-80.43453010615633
 20
72.80698900003313
 30
20.0
 70
    32
  0
VERTEX
  5
7C
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
220.3247608051047
 20
40.44340560335991
 30
0.0
 70
    32
  0
VERTEX
  5
7D
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
123.620351758794
 20
47.36080402010046
 30
0.0
 70
    32
  0
VERTEX
  5
7E
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
30.22386934673369
 20
62.8462311557789
 30
0.0
 70
    32
  0
VERTEX
  5
7F
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
-35.5891959798995
 20
146.0804020100502
 30
0.0
 70
    32
  0
VERTEX
  5
80
330
76
100
AcDbEntity
  8
0
100
AcDbVertex
100
AcDb3dPolylineVertex
 10
-38.49271356783919
 20
251.5748743718593
 30
0.0
 70
    32
  0
SEQEND
  5
81
330
76
100
AcDbEntity
  8
0
  0
ENDSEC




1 个答案:

答案 0 :(得分:3)

DXF文件必须以您缺少的End Of File代码对结束:

  0
EOF

如果你还没有,那么这是Autodesk最新官方DXF规范的PDF link