Expand description
Clean-room reader for DWG drawings, AC1014 (R14) through AC1032 (2018), including 2007. The AC1012 (R13) path is implemented but untested; see the repository’s DWG format notes. Entity coverage is still growing. There is no DWG writer.
Contract used by the cadkit facade: sniff, inspect and read. The native
module exposes the decoded file losslessly (header variables, classes, object
map, every object with its common data, type-specific data and raw bytes).
Layers, following the ODA Open Design Specification for .dwg files v5.4.1:
container: file header, section maps, page decompression (LZ77 variants, R2007 Reed-Solomon de-interleaving);header,classes,handles: the header variables, class list and object map;object: the per-object bit streams, common data and type decoders (extension point:object::registry);mapping: native objects →cadkit_core::Document.
Modules§
- bits
- Bounds-checked bit stream reader for the DWG bit codes (ODA spec chapter 2).
- native
- Native, lossless view of a DWG file: version, header variables, classes, the object map and every decoded object with its common data, type-specific data and raw bytes.
Enums§
- DwgVersion
- A DWG file format version, identified by the 6-byte magic at offset 0.