feat(ui): add a Simulate Cutting toolbar button

Restore the toolbar shortcut for Plate > Simulate Cutting next to Plan
Cutting, using the cut_simulate icon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ajandClaude Opus 5.5 committed 2026-10-18 20:15:41 -04:00
1 parent 87b6d7ee90
commit d548ba4e6f
4 files changed
+15

No files matched your search

+2
View File
@@ -109,6 +109,8 @@ namespace OpenNest.Forms
plateIndexStatusLabel, plateSizeStatusLabel, plateQtyStatusLabel, plateUtilStatusLabel);
toolStrip1.Items.Add(CreateActionButton("btnCutPlanner", "Plan Cutting",
Resources.cut_planner, PlatePlanCutting_Click));
toolStrip1.Items.Add(CreateActionButton("btnSimulateCutting", "Simulate Cutting",
Resources.cut_simulate, SimulateCutting_Click));
toolStrip1.Items.Add(CreateActionButton("btnManualSequence", "Manual Sequence",
Resources.manual_sequence, ManualSequenceParts_Click));
toolStrip1.Items.Add(postButton);
+10
View File
@@ -70,6 +70,16 @@ namespace OpenNest.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap cut_simulate {
get {
object obj = ResourceManager.GetObject("cut_simulate", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
+3
View File
@@ -190,6 +190,9 @@
<data name="shapes" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\shapes.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cut_simulate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cut_simulate.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="cut_planner" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\cut_planner.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B