Files
OpenNest/OpenNest.Engine
ajandClaude Fable 5.2 0b84835ba6 fix(fill): keep leftover pairs and packs off the clamp keep-outs
Whole jobs placed by the fill strategies could put parts on a clamp
keep-out in three ways:

- A best-fit pair left flush on a keep-out was compacted with the clamp
  obstacles held at the part spacing, so it already read as inside that
  spacing; the push ignores contacts that already overlap and carried
  the pair through the clamp to the sheet edge. CompactPair now holds
  clamps at zero spacing, as the settle does.
- The pack area was narrowed to a clamp-free remnant only after a fill
  had placed parts. With nothing filled the leftovers were packed across
  the whole sheet, clamps included. They now get the same remnant.
- A rail with zero clearance left placement no margin over the
  validator's keep-out, whose outlines are rounded to a 0.0001 grid, so
  a flush edge could read as inside the zone. Placement keep-outs now
  grow by at least the spacing slack (0.0005). The expand-spacing walls
  keep the exact clamp clearance (WallRectangles).

No tolerance or validator changed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 21:26:53 -05:00
..