mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-12 05:42:52 +00:00
The model file's units_in_mm and units_from_cad_file were read and dropped. Keep them on ModelFile and expose PrcFile::units() -> Result<Option<ModelUnits>, PrcError>: millimetres per unit and whether the unit is the CAD system's own or the exporter's default. None when no tree is stored or the unit is not a positive finite number. Co-authored-by: KenM76 <KenM76> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>