Change Nest() to decide fill vs pack based on total area coverage instead of qty != 1. Items covering < 10% of the plate are packed, so large parts get prime position and small low-qty parts fill gaps. Qty=2 items are placed as interlocking best-fit pairs in remnant spaces after the main pack phase, rather than as separate rectangles. - Add ShouldFill() capacity-based heuristic - Split pack phase: regular items pack first, then pairs - Add PlaceBestFitPairs() for Phase 3 remnant pair placement Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 KiB
14 KiB