- Printable meshes come out in millimetres. Slicers read STL as mm, but
phone and LiDAR scans are in metres, so a 12 cm vase arrived as 0.12 mm.
repair_for_printnow always returns millimetres. A newunitsoption ("auto","mm","cm","m","in") says what the input is;"auto"reads anything under 2 units long as metres and reports the step. The report has a newscalefield (#255). - Before/after renders work across units. When two items differ in size by
more than 50x,
renderframes each row on its own instead of shrinking one to a dot (#255).
repair_for_printon a mesh or cloud under 2 units long now scales it by 1000. Passunits="mm"to keep the old behaviour.- Rust:
RepairOptionshas a newunitsfield andRepairReporta newscalefield. Code that buildsRepairOptionswith..Default::default()is unaffected.
All crates and the PyPI package are bumped to 0.12.1. threecrate-mcp 0.2.1
adds the units option to the repair_for_print tool.