refactor: remove NestPhase.Remainder enum value and switch cases

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 12:50:48 -04:00
parent 78c625361e
commit 2b578fa006
3 changed files with 1 additions and 4 deletions
-1
View File
@@ -310,7 +310,6 @@ namespace OpenNest
case NestPhase.Pairs: return "Pairs"; case NestPhase.Pairs: return "Pairs";
case NestPhase.Linear: return "Linear"; case NestPhase.Linear: return "Linear";
case NestPhase.RectBestFit: return "BestFit"; case NestPhase.RectBestFit: return "BestFit";
case NestPhase.Remainder: return "Remainder";
default: return phase.ToString(); default: return phase.ToString();
} }
} }
+1 -2
View File
@@ -7,8 +7,7 @@ namespace OpenNest
Linear, Linear,
RectBestFit, RectBestFit,
Pairs, Pairs,
Nfp, Nfp
Remainder
} }
public class PhaseResult public class PhaseResult
-1
View File
@@ -96,7 +96,6 @@ namespace OpenNest.Forms
case NestPhase.Linear: return "Trying rotations..."; case NestPhase.Linear: return "Trying rotations...";
case NestPhase.RectBestFit: return "Trying best fit..."; case NestPhase.RectBestFit: return "Trying best fit...";
case NestPhase.Pairs: return "Trying pairs..."; case NestPhase.Pairs: return "Trying pairs...";
case NestPhase.Remainder: return "Filling remainder...";
default: return phase.ToString(); default: return phase.ToString();
} }
} }