CAD formats: DWG, DGN, DXF and CityGML
Every cadkit reader produces the same format-neutral document, so the same code reads all four formats and writes DXF, seed-based DGN V8, CityGML 2.0, SVG and JSON.
Support at a glance
| Format | Read | Write | Status | Evidence |
|---|---|---|---|---|
| DWG | ReadAC1014 (R14) to AC1032 (2018), including 2007 | No writer | Read-only. R13 (AC1012) is untested; entity coverage is still growing. | |
| DGN V7 | Readincluding tags | No writer | Implemented, including tags. | |
| DGN V8 | Read | Subsetseed-based V8 writer | Local tests pass; external application acceptance is pending. Writing needs a seed file. | |
| DXF | ReadASCII and binary, R12 to 2018 | WriteASCII, R12 to 2018 | Entity coverage is still growing. | |
| CityGML 2.0 | Readnative XML and geometry | Writenative XML and explicit generic geometry | New geometry needs an explicit CRS. Optional local structural TKGM preflight; not institutional acceptance. |
Readers degrade instead of failing: records they cannot model become unknown entities and warnings on the document. Local test evidence and the open external acceptance work are inInterchange status.
By format
- DWGRead R14 (AC1014) to 2018 (AC1032): model space, layouts, layers, blocks and entities. No writer.
- DGNRead V7 and V8, with levels, tags, cells and raster attachments. Write a seed-based V8 subset.
- DXFRead ASCII and binary R12 to 2018. Write ASCII DXF in seven versions, with legacy code pages.
- CityGML 2.0Read and write the native model with IDs and references; new geometry with an explicit CRS.
Format names
"DWG", "DGN" and "DXF" are used only to name file formats. cadkit is developed clean-room from public specifications, MIT-licensed projects and sample files; seeprovenance and trademarks.