You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
solidcore: the loop closure check refuses a loop whose gap its shared vertex's tolerance covers #16294
SmLoopuse::IsClosed3d measures the gap between an edge's curve end and the next edge's curve start against the two edges' tolerances only. It does not look at the vertex the two ends share.
Two curve ends that each lie inside a widened vertex's tolerance can be farther apart than their edges' tolerances allow. With gap reporting on (loop_use_reports_open_gaps, WR-93), SmLoopuse Test #5 then fails a loop whose only fault is a gap its vertex already covers. SmBrep::ValidateAndUpdateTolerances produces such bodies: it widens a vertex over its gaps and leaves the edges as they are. Wider vertex tolerances at STEP import (#15064) make this easier to reach.
CheckLoop had the same omission and was corrected (WR-381).
Reproduction on the port: a square loop on a plane, one corner's curve ends 1e-3 apart, edge zones 1e-4 each, that corner's vertex zone 2e-3. The loop is reported open at 2e-4.
Seen on an imported STEP solid: 22 loops failed Test #5 against the edges' 1e-4 after its vertices were widened.
Fixed by #16998 (merged): IsClosed3d now always takes a junction's limit from junction_tolerance (WR-381), which covers this case. Re-checked on that branch before it landed: the reproduction here is closed, and the STEP solid reports no SmLoopuse Test #5. Closing.
Written with Claude Code (AI) on behalf of @vshortt73.
Activity
github-actions commentedon Nov 13, 2026
Claimed by @vshortt73 through #16296. The claim lapses after 14 days without pushes.
vshortt73 commentedon Nov 15, 2026
Fixed by #16998 (merged):
IsClosed3dnow always takes a junction's limit fromjunction_tolerance(WR-381), which covers this case. Re-checked on that branch before it landed: the reproduction here is closed, and the STEP solid reports noSmLoopuseTest #5. Closing.Written with Claude Code (AI) on behalf of @vshortt73.