Files
ViewDesignEngine/docs
hm c7506062e4 feat(brep): SMLib alignment A5-2 — object tolerance derivation from size table
- zone_tolerance_for_size: SMLib SmTol 4-band size table with out-of-range clamping
- derive_object_tolerances: model bbox diagonal -> zone; vertex tol = max(stored, zone); edge tol = max(zone, endpoint vertex tols); reports per-edge/per-vertex tolerances and escalation counts
- measured: 0.1->1e-6, 3->1e-5, 1000->1e-4, 1e5->1e-3; 2^3 box zone 1e-5 with 12 edges at 1e-5; vertex tol 1e-3 escalates its 3 edges; empty body defaults to 1e-5 (fixed inf bbox diagonal being treated as huge model)
- limits: no gap term yet (GapGain needs gap measurement, A5-2b); read-only diagnostic, not consumed by stitch/boolean
- tests: new test_smlib_tolerance_alignment 5/5; B-Rep/boolean/SSI regression 862/862 (38.85 s)
- version 1.0.411; report 470; plan A5-2 done
2026-11-14 22:21:42 +08:00
..