Files
ViewDesignEngine/docs
hm fa3f039b7b feat(brep): SMLib alignment A4-1 step 1 — cut-curve graph topology builder
- build_cut_curve_topology + CutCurveTopology: endpoint snapping within tolerance, T-junction splitting when a curve endpoint falls inside another edge (iterated to fixpoint), duplicate-edge dedupe, degree/open-end/component/closed-loop statistics, per-edge source_curve provenance
- measured: shared endpoint merge (3 vertices/1 component), 5e-7 snap, T-junction split (4 vertices/3 edges/open=3), polyline split keeps provenance, disjoint segments 2 components, square loop closed_loops=1, degenerate curve rejected; real box-cyl through-hole edge graph has open_ends=0 and 2 components (outer rect vs hole ring share no vertex, as expected graph-theoretically)
- not wired into ssi_boolean (zero behavior change); next A4-1b maps SSI curves to result edges and re-evaluates region classification
- tests: new test_smlib_cut_topology 8/8; SMLib/B-Rep/boolean/region regression 260/260 (26.44 s)
- version 1.0.416; report 475; plan A4-1 marked step 1 done
2026-11-14 22:48:44 +08:00
..