DXF file is a popular file interchange format among PC-CAD systems. Its exact structure originates from Autodesk, Inc. for the AutoCAD product. Any detailed technical reference should be made to this source.
Example:
a. The following example is a .DXF file of a rectangle of 200 x 150, horizontally orientated with its lower left corner at the 0,0 origin.
Column A 0 SECTION 2 ENTITIES 0 LINE 8 0 10 0.0 20 150.0 30 0.0 11 0.0 21 0.0 31 0.0 0 LINE 8 0 |
Column B 10 200.0 20 150.0 30 0.0 11 0.0 21 150.0 31 0.0 0 LINE 8 0 10 200.0 20 0.0 30 0.0 11 200.0 |
Column C 21 150.0 31 0.0 0 LINE 8 0 10 0.0 20 0.0 30 0.0 11 200.0 21 0.0 31 0.0 0 ENDSEC 0
|
b. The next example is the same rectangle nested 7 times on a stock sheet of 600 x 350 (Y x X) units, zero cutting gap with the bottom left of the stock sheet inserted at 100, 100 location.
Column A 0 SECTION 2 ENTITIES 0 POLYLINE 8 TASK1 66 1 10 0.0 20 0.0 30 0.0 0 VERTEX 8 TASK1 10 100.0 20 100.0 30 0.0 0 VERTEX 8 TASK1 |
Column B 10 450.0 20 100.0 30 0.0 0 VERTEX 8 TASK1 10 450.0 20 700.0 30 0.0 0 VERTEX 8 TASK1 10 100.0 20 700.0 30 0.0 0 VERTEX 8 TASK1 |
Column C 10 100.0 20 100.0 30 0.0 0 SEQEND 8 TASK1 0 LINE 8 0 62 2 10 300.0 20 700.0 30 0.0 11 300.0 21 500.0 31 0.0 0 LINE
|
Column D 8 0 62 2 10 300.0 20 500.0 30 0.0 11 450.0 21 500.0 31 0.0 0 LINE 8 0 62 2 10 450.0 20 500.0 30 0.0 11 450.0 21 700.0 31 0.0 0 LINE 8 0 62 2 10 450.0 20 700.0 30 0.0 11 300.0 21 700.0 31 1.0 |
Column E 0 LINE 8 0 62 2 10 300.0 20 500.0 30 0.0 11 300.0 21 300.0 31 0.0 0 LINE 80 62 2 10 300.0 20 300.0 30 0.0 11 450.0 21 300.0 31 0.0 0 LINE 8 0 62 2 10 450.0 20 300.0 30 0.0 11 450.0 21 500.0 0 31 |
Column F 0.0 LINE 8 0 62 2 10 450.0 20 500.0 30 0.0 11 300.0 21 500.0 31 0.0 0 LINE 8 0 62 2 10 300.0 20 300.0 30 0.0 11 300.0 21 100.0 31 0.0 0 LINE 8 0 62 2 10 300.0 20 100.0 30 0.0 11 450.0 21 100.0
|
Column G 31 0.0 0 LINE 8 0 62 2 10 450.0 20 100.0 30 0.0 11 450.0 21 300.0 31 0.0 0 LINE 8 0 62 2 10 450.0 20 300.0 30 0.0 11 300.0 21 300.0 31 0.0 0 LINE 8 0 62 2 LINE 8 0 62 2 10 100.0 20 |
Column H 550.0 30 0.0 11 300.0 62 2 10 100.0 20 400.0 30 0.0 11 100.0 21 250.0 31 0.0 0 LINE 8 0 62 2 10 100.0 20 250.0 30 0.0 11 100.0 21 100.0 31 0.0 0 LINE 8 0 62 2 10 300.0 20 250.0 30 0.0 11 100.0 21 |
Column I 250.0 31 0.0 0 LINE 8 0 62 2 10 300.0 20 100.0 30 0.0 11 300.0 21 250.0 31 0.0 0 LINE 8 0 62 2 10 100.0 20 100.0 30 0.0 11 300.0 21 100.0 31 0.0 0 ENDSEC 0 EOF
|