cadkit 0.2.0

Read DWG, DGN, DXF and CityGML into one format-neutral model; write DXF, DGN V8 and CityGML. Pure Rust, no vendor SDK.
Documentation

cadkit

Read DWG, DGN (V7 and V8), DXF and CityGML 2.0 drawings into one format-neutral model, and write DXF, seed-based DGN V8 and CityGML 2.0. Pure Rust, no vendor SDK or C dependencies. Readers treat every file as untrusted: no panics, configurable size limits, and recoverable problems become warnings on the document.

let doc = cadkit::open("plan.dxf")?;
for model in &doc.models {
    println!("{}: {} entities", model.name, model.entities.len());
}
std::fs::write("plan.svg", cadkit::to_svg(&doc, &cadkit::SvgOptions::default()))?;

Format support, limits and test evidence are in the repository README. The same core is available as a CLI (cadkit-cli), for Python (pycadkit), for JavaScript (cadkit-wasm) and as a C/C++ library (GitHub Releases).

"DWG", "DGN" and "DXF" name file formats only; cadkit is not affiliated with or certified by any CAD vendor. Sources of format knowledge are listed in docs/PROVENANCE.md.

License

Copyright 2026 TNYCL (tnycl.com). Licensed under either of Apache License, Version 2.0 or MIT license at your option.