Supported versions and entities
DWG
Rulingpen reads DWG files from AutoCAD Release 1.x to the AutoCAD 2018 format, which later AutoCAD releases still save. The table below is written from docs/SCOREBOARD.md by node site/tools/manual-numbers.mjs; do not edit it by hand.
Judged 2026-12-01 on 200-file samples (judges dwg and dwg_legacy; scoreboard commit 13fb62f). A version missing here had no file in the sample.
| Version code | Release | Files decoded in the sample | Objects or records equal to the reference |
|---|---|---|---|
AC1.40 | Release 1.40 | 0 of 1 | 0.0% of 15 |
AC2.10 | Release 2.10 | 5 of 5 | 100.0% of 29 |
AC1002 | Release 2.5 | 11 of 11 | 100.0% of 59 |
AC1003 | Release 2.6 | 22 of 22 | 100.0% of 352 |
AC1004 | Release 9 | 14 of 14 | 100.0% of 140 |
AC1006 | Release 10 | 121 of 121 | 100.0% of 8,130 |
AC1009 | Release 11 and 12 | 26 of 26 | 99.78% of 2,261 |
AC1014 | Release 14 | 8 of 8 | 100.0% of 61,962 |
AC1015 | AutoCAD 2000 to 2002 | 16 of 16 | 100.0% of 167,064 |
AC1018 | AutoCAD 2004 to 2006 | 14 of 14 | 100.0% of 2,168 |
AC1021 | AutoCAD 2007 to 2009 | 28 of 28 | 99.99% of 276,676 |
AC1024 | AutoCAD 2010 to 2012 | 15 of 15 | 100.0% of 71,615 |
AC1027 | AutoCAD 2013 to 2017 | 35 of 35 | 99.95% of 209,492 |
AC1032 | AutoCAD 2018 and later | 84 of 84 | 99.93% of 434,967 |
How to read it:
- "Files decoded" means the file was read to the end without an error. "Equal to the reference" compares every object field by field with LibreDWG's reading of the same file (or, where the corpus has one, the DXF AutoCAD exported alongside it). A field that differs makes the whole object count as unequal.
- The sample held no Release 13 (
AC1012) file, so Release 13 has no number here. - The one
AC1.40file in the sample is not read yet. AC1018(2004 to 2006) has the lowest object score, on a small count: fewer objects of that version were in the sample.- The reader also checks each file's own structure: section CRCs and the object map. That judge,
dwg_container, and the damaged-file test (100 corrupted copies of each file, no panics allowed) are on the numbers page.
Rulingpen does not write DWG yet.
DXF
ASCII and binary DXF, every version from R12 to 2018, are read. On the latest scoreboard every DXF file that ezdxf can load also loads in Rulingpen, and the records match ezdxf's reading field for field except for a handful (the exact count, and the fields that differ, are on the numbers page). DXF written before R12 is read where it follows R12's layout; the viewer refuses one R1.4 DXF in the corpus.
The library can write DXF (rulingpen_dxf::write_dxf) in any version from R12 to 2018. Its round trip is not judged yet, so rp does not offer it as a command.
Entity types
These entity types are read into typed fields (see the drawing model); anything else is kept as a raw record and written back unchanged, so nothing is dropped.
| Entity | Read | Drawn by rp plot | Notes |
|---|---|---|---|
| LINE, POINT, CIRCLE, ARC, ELLIPSE | Yes | Yes | |
| LWPOLYLINE, POLYLINE (2D, 3D, mesh, face) | Yes | Yes | Bulges and widths |
| SPLINE | Yes | Yes | Control points or fit points |
| TEXT, ATTRIB, ATTDEF, MTEXT | Yes | Yes | With open stand-in fonts; see limitations |
| INSERT (blocks, arrays of blocks, clipped blocks) | Yes | Yes | |
| HATCH | Yes | Yes | Solid, gradient and pattern fills |
| DIMENSION | Yes | Yes | Drawn from the block AutoCAD stored for it |
| LEADER, MULTILEADER, TOLERANCE | Yes | Yes | |
| SOLID, TRACE, 3DFACE | Yes | Yes | |
| VIEWPORT | Yes | Yes | Paper layouts are plotted through their viewports |
| IMAGE | Yes | An outline in rp; the picture itself when the library is given the image file (render_with_resources) | The image file is not inside the drawing |
| WIPEOUT | Yes | Yes | Masks what is behind it |
| PDF, DWF and DGN underlays | Yes | No | |
| XLINE, RAY | Yes | Yes | Clipped to the view |
| MLINE, TABLE, MESH | Yes | Yes | |
| SHAPE | Yes | No | |
| 3DSOLID, REGION, BODY | Yes | No | The ACIS data is kept; solids are not drawn |
| Proxy entities | Yes | The proxy graphics the file carries |
"Drawn" means the renderer emits geometry for the type. How close the picture is to AutoCAD's is measured as a whole, not per type: the render judge compares each plot with the thumbnail AutoCAD saved in the file. The geometry judge measures each entity's bounding box against ezdxf; its misses by type are listed in the scoreboard's detail column.