mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-10-27 12:41:06 -04:00
Dropping the parts that land on a clamp suits small parts, which fill the gaps between clamps. Large parts often do better if the fill area stops short of the clamps. The rows still fit, and no part is lost on a clamp. When every clamp in the fill area lies on one edge, interactive Fill now also fills the area with that edge moved just past the clamp keep-outs, as a larger edge spacing would. It keeps whichever layout the strategy's comparer ranks better, and a tie keeps the dropped-parts layout. Clamps on more than one edge skip the comparison. The second fill reuses the cached best-fit pairs. While it runs, a preview counts as the new best only when it beats the first layout, so the preview never gets worse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>