refactor: remove NestPhase.Remainder enum value and switch cases
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -310,7 +310,6 @@ namespace OpenNest
|
||||
case NestPhase.Pairs: return "Pairs";
|
||||
case NestPhase.Linear: return "Linear";
|
||||
case NestPhase.RectBestFit: return "BestFit";
|
||||
case NestPhase.Remainder: return "Remainder";
|
||||
default: return phase.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,8 +7,7 @@ namespace OpenNest
|
||||
Linear,
|
||||
RectBestFit,
|
||||
Pairs,
|
||||
Nfp,
|
||||
Remainder
|
||||
Nfp
|
||||
}
|
||||
|
||||
public class PhaseResult
|
||||
|
||||
@@ -96,7 +96,6 @@ namespace OpenNest.Forms
|
||||
case NestPhase.Linear: return "Trying rotations...";
|
||||
case NestPhase.RectBestFit: return "Trying best fit...";
|
||||
case NestPhase.Pairs: return "Trying pairs...";
|
||||
case NestPhase.Remainder: return "Filling remainder...";
|
||||
default: return phase.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user