feat(training): enable forced full angle sweep and store per-angle results

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-14 20:25:33 -04:00
parent a145fd3c60
commit 71fc1e61ef
2 changed files with 10 additions and 4 deletions

View File

@@ -25,9 +25,10 @@ namespace OpenNest.Engine.ML
public static class BruteForceRunner
{
public static BruteForceResult Run(Drawing drawing, Plate plate)
public static BruteForceResult Run(Drawing drawing, Plate plate, bool forceFullAngleSweep = false)
{
var engine = new NestEngine(plate);
engine.ForceFullAngleSweep = forceFullAngleSweep;
var item = new NestItem { Drawing = drawing };
var sw = Stopwatch.StartNew();