Provenance and clean-room development
cadkit reads and writes proprietary CAD formats without any vendor SDK. Every piece of format knowledge in it comes from a source that may be used for an MIT OR Apache-2.0 project, and every source is recorded in a public ledger. This page summarises the rules; the provenance ledger lists each source, its licence and what it was used for.
Allowed sources
Section titled “Allowed sources”- Public specifications: the Open Design Specification for .dwg files (v5.4.1, a public
document, not redistributed), the publicly documented DXF group-code reference, Microsoft’s
open specifications for compound files and property sets (
[MS-CFB],[MS-OLEPS]), the OGC CityGML 2.0 and GML 3.1.1 schemas, and published algorithms. - MIT-licensed projects: ACadSharp (DWG and DXF cross-checks and samples), ezdgn (DGN V8 notes), GDAL’s DGN driver (DGN V7 structure, samples, a V8 reference table) and ezdxf (a development-time validator for written DXF, not a runtime dependency). Ported logic is attributed to the exact source file, for example ACadSharp’s R2007 decompressor and GDAL’s default DGN palette.
- Public sample files and the maintainers’ own hex analysis of sample files.
Sources that are never used
Section titled “Sources that are never used”- Code under the GPL, LGPL or AGPL from any CAD project: it is not read, searched, paraphrased or ported.
- Vendor SDKs, their headers, binaries and generated wrappers.
- Anything decompiled or disassembled.
Test data
Section titled “Test data”Public samples from open-source projects are fetched by a script for local tests and are not committed. Drawings received from clients may be used on the maintainer’s machine for structural tests only (record counts, “parses without error”); their names, paths, strings and coordinates never appear in code, tests, documentation or reports. Samples on this site are listed with their licences on the demo samples page.
Format names
Section titled “Format names”“DWG”, “DGN” and “DXF” name file formats. cadkit is not affiliated with any CAD vendor, and no vendor has endorsed it; see trademarks.
Sources
Section titled “Sources”- Provenance ledger (synced from
docs/PROVENANCE.md) - Contributor rules:
AGENTS.mdand Contributing