perf: remove no-op AutoNester.Optimize calls from fill pipelines

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-20 20:11:49 -04:00
parent b7c7cecd75
commit c88cec2beb
4 changed files with 1 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
using OpenNest.Engine.Fill;
using OpenNest.Engine.Nfp;
using OpenNest.Geometry;
using System;
using System.Collections.Generic;
@@ -130,9 +129,6 @@ namespace OpenNest
// Compact placed parts toward the origin to close gaps.
Compactor.Settle(allParts, Plate.WorkArea(), Plate.PartSpacing);
// NFP optimization pass — re-place parts using geometry-aware BLF.
allParts = AutoNester.Optimize(allParts, Plate);
return allParts;
}