mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-27 16:11:34 -05:00
revert: switch BestFitFinder back to RotationSlideStrategy
NFP strategy has coordinate correction issues causing overlaps. The slide-based approach is fast and accurate — keeping it as default. NfpSlideStrategy and PolygonHelper remain in the codebase for future use. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8c57e43221
commit
38dcaf16d3
1 file changed
+2
-2
@@ -83,8 +83,8 @@ namespace OpenNest.Engine.BestFit
|
||||
|
||||
foreach (var angle in angles)
|
||||
{
|
||||
var desc = $"{Angle.ToDegrees(angle):F1} deg NFP";
|
||||
strategies.Add(new NfpSlideStrategy(angle, type++, desc));
|
||||
var desc = string.Format("{0:F1} deg rotated, offset slide", Angle.ToDegrees(angle));
|
||||
strategies.Add(new RotationSlideStrategy(angle, type++, desc, _slideComputer));
|
||||
}
|
||||
|
||||
return strategies;
|
||||
|
||||
Reference in new issue
Block a user