Opened 12 years ago

Last modified 8 years ago

#1588 new defect

v.out.dxf of 3d-polyline is not complete

Reported by: khermann Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: Vector Version: 6.4.0
Keywords: v.out.dxf Cc:
CPU: Unspecified Platform: Unspecified

Description (last modified by hamish)

the vertices of the created dxf have x,y,z values (groups 10,20,30) but the polylines are not recognized as 3d-polylines because in the polylines header the 3d-Flag (group 70) is not set to 8 or 9. polyline header of a 3d-polyline exported with v.out.dxf is

0
POLYLINE
8
line
66
1

polyline header of an 3d-polyline should be

0
POLYLINE
8
line
66
1
70
8

Change History (3)

comment:1 by hamish, 12 years ago

Component: DefaultVector
Description: modified (diff)
Keywords: v.out.dxf added
Milestone: 6.4.3

comment:2 by khermann, 12 years ago

The dxfout of an 3d-polyline from AutoCAD has also the groups 10,20,30 (xyz basepoint) in the header of the polyline element and in the vertex element the group 70 is set to 32 (denotes that the vertex element is a vertex of a 3d-curve). If the value of the 3d-flag (group 70) in the header of the polyline element is set to 8 or 9 (9 denotes that the 3d-curve is closed) indicates that the polyline element is a 3d-curve which is solely composed by linesegments.

  0
POLYLINE
  5
5F
  8
LINE
 66
     1
 10
0.0
 20
0.0
 30
0.0
 70
     8
  0
VERTEX
  5
60
  8
LINE
 10
-40515.308075257002
 20
250483.00971815339
 30
520.0
 70
    32
  0
VERTEX
  5
61
  8
LINE
 10
-41145.820788586323
 20
246328.31580022111
 30
550.0
 70
    32
  0
VERTEX
  5
62
  8
LINE
 10
-42010.755092771949
 20
244397.9313291047
 30
570.0
 70
    32
  0
SEQEND
  5
63
  8
LINE

comment:3 by neteler, 8 years ago

Milestone: 6.4.36.4.6
Note: See TracTickets for help on using tickets.