From 5064340eb3f283f1a537b90e47765b729c56624b Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Wed, 23 Sep 2026 11:08:58 -0400 Subject: [PATCH] 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 --- OpenNest.Benchmark/NestValidator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenNest.Benchmark/NestValidator.cs b/OpenNest.Benchmark/NestValidator.cs index 486fe5b..5771059 100644 --- a/OpenNest.Benchmark/NestValidator.cs +++ b/OpenNest.Benchmark/NestValidator.cs @@ -315,7 +315,7 @@ namespace OpenNest.Benchmark ? requirement.Name : part.BaseDrawing.Name; - private const double OutlineTolerance = 0.01; + private const double OutlineTolerance = 0.001; private sealed class PartOutline {