DXF — CAD Cube (line geometry)
A 10 mm cube drawn as 12 DXF LINE entities — the AutoCAD interchange format, written with ezdxf. For testing DXF parsers and CAD conversion.
0
SECTION
2
HEADER
9
$ACADVER
1
AC1024
9
$ACADMAINTVER
70
6
9
$DWGCODEPAGE
3
ANSI_1252
9
$LASTSAVEDBY
1
ezdxf
9
$INSBASE
10
0.0
20
0.0
30
0.0
9
$EXTMIN
10
1e+20
20
1e+20
30
1e+20
9
$EXTMAX
10
-1e+20
20
-1e+20
30
-1e+20
9
$LIMMIN
10
0.0
20
0.0Specifications
- Format
- DXF R2010 (ezdxf)
- Geometry
- 12 LINE entities (cube edges)
- Units
- mm
- Solid
- 10 mm cube wireframe
What is a .dxf file?
DXF (Drawing Exchange Format) is an Autodesk CAD interchange format, typically ASCII, that represents 2D and 3D drawing entities like lines, arcs, layers, and text. It was created to move drawings between CAD programs and is broadly supported. It stores vector CAD geometry rather than a rendered image.
How to use this file
Use an example DXF to test CAD entity and layer parsing, 2D drawing import, and converters between DXF and other vector or CAD formats.
How to use this file for testing
“DXF — CAD Cube (line geometry)” is a deterministic Novus Examples fixture for Conversion testing. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.
Documented properties for this file: DXF R2010 (ezdxf). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
3D and CAD fixtures carry one small, documented solid or scene. Convert and inspect against the known geometry, units, and structure; format twins let you diff interchange fidelity, and the 3D viewer previews the actual mesh.
Related files
- epsEPS — Isometric Cube IllustrationAn isometric cube as Encapsulated PostScript — a 2D vector illustration with three shaded faces. For testing EPS/PostScript rendering and vector conversion.

- igesIGES — Minimal Line EntityA minimal, well-formed IGES 5.3 file with a single LINE entity and correct Start/Global/Directory/Parameter/Terminate sections. For testing IGES parsers and CAD conversion.

- dxfSpur Gear — 16 teeth (DXF)A 16-tooth spur-gear profile as a closed DXF polyline with a central hub bore — real parametric CAD geometry (not a primitive). For testing DXF parsers, CAM tools, and CAD conversion.

- stepSpur Gear — 16 teeth (STEP)The same 16-tooth spur-gear profile as STEP AP214 CARTESIAN_POINT entities — the CAD-exchange twin of the DXF, for testing STEP parsing.

- stepSTEP — AP214 Cube Corner PointsA minimal, well-formed STEP AP214 file holding the eight corner points of a 10 mm cube. For testing STEP header and entity parsing and CAD-exchange tooling.

- 3mf3MF — Manufacturing CubeA 10 mm cube as 3MF — the modern OPC-packaged manufacturing format (a ZIP of model XML plus relationships). For testing 3MF readers and slicers.

Generated by generation/models.py. Free for any use, no attribution required — license.