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>