fix(benchmark): validate spacing at a 0.001 flattening tolerance

Conservative flattening circumscribes arcs, so at 0.01 the validator was up
to 0.01 too strict along curves: PEP's P260626-03 layout, exactly 0.25 apart
along an arc, failed with a 0.004 sliver. At 0.001 the worst error on either
side is 0.001. Validating the 26-job benchmark set with Opus55 went from
about 2 s to about 5 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
aj
2026-09-23 11:08:58 -04:00
co-authored by Claude Opus 5.5
parent 062c7fa08f
commit 5064340eb3
+1 -1
View File
@@ -315,7 +315,7 @@ namespace OpenNest.Benchmark
? requirement.Name ? requirement.Name
: part.BaseDrawing.Name; : part.BaseDrawing.Name;
private const double OutlineTolerance = 0.01; private const double OutlineTolerance = 0.001;
private sealed class PartOutline private sealed class PartOutline
{ {