Skip to content

Prioritize cell splits by planar tolerance; refine new bars - #19

Merged
ajlennon merged 1 commit into
mainfrom
feat/planar-tol-priority-bar-refine
Aug 22, 2026
Merged

Prioritize cell splits by planar tolerance; refine new bars#19
ajlennon merged 1 commit into
mainfrom
feat/planar-tol-priority-bar-refine

Conversation

@ajlennon

Copy link
Copy Markdown
Member

Summary

  • Rank cell splits by continuous planar tolerance (Julian 155) instead of binary cell_needs_split ordering.
  • After each MakeBarBetweenNodesF, subdivide the new bar to bar-tolerance (Julian 156).
  • Stop when cells are in tolerance or XY extent is too small — path to a valid tool surface.

Test plan

  • Pull branch/main, bake with R=5 / stepover=6
  • Use Subdivide next N cells; confirm worst planar cells go first
  • Confirm new chords get mid-nodes when bar length/angle needs split
  • CI godot-headless green

Assisted-by: Cursor

Julian 155–156: rank by continuous residual (not binary gate order), then subdivide each inserted cell bar to bar-tolerance so we can drive toward a valid tool surface.
@ajlennon
ajlennon merged commit 320fc17 into main Aug 22, 2026
1 check passed
@ajlennon
ajlennon deleted the feat/planar-tol-priority-bar-refine branch August 22, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant