feat(astra): add independent nesting engine and fix hole validation

Replace the Terra scaffold with an independent configuration-space contact placer and bounded stock-plan search. Include plugin tests, synthetic and DXF benchmark drivers, results, and deployment documentation.

Correct shared collision clipping and hole subtraction so curved-hole inserts validate consistently. Cover translated layouts, spacing violations, operand order, winding, and independent boolean-area comparisons.

Validation: 1,293 tests passed with 12 fixture skips; all 34 synthetic/generated and four DXF cases are valid and complete.
This commit is contained in:
aj
2026-09-24 00:14:36 -04:00
parent b6111a5486
commit fc9e46cad3
31 changed files with 1753 additions and 135 deletions
@@ -0,0 +1,12 @@
case,valid,placed,requested,sheets,area,milliseconds
triangles,True,60,60,1,4608,3354
circles,True,90,90,3,3456,1021
circles-dense,True,80,80,2,2304,742
concave-L,True,60,60,3,3456,1055
mixed,True,105,105,3,3456,1990
holes,True,16,16,1,1152,306
rectangles,True,96,96,3,3456,261
grain,True,60,60,2,2304,527
scarce-stock,True,9,9,5,228,1
tail,True,17,17,1,600,4
plate-cap,True,10,10,1,400,4
1 case valid placed requested sheets area milliseconds
2 triangles True 60 60 1 4608 3354
3 circles True 90 90 3 3456 1021
4 circles-dense True 80 80 2 2304 742
5 concave-L True 60 60 3 3456 1055
6 mixed True 105 105 3 3456 1990
7 holes True 16 16 1 1152 306
8 rectangles True 96 96 3 3456 261
9 grain True 60 60 2 2304 527
10 scarce-stock True 9 9 5 228 1
11 tail True 17 17 1 600 4
12 plate-cap True 10 10 1 400 4