mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-26 06:27:40 -05:00
A dash and letter after the part number (4980A01PT09-A) reads like a revision, and many part numbers already end that way, so the shop could not tell where the number stops and the bend group starts. Each group letter is now etched at 0.6 of the text height inside its own circle the text height across, clear of the name: 1234 (A)(B). One shape for every group keeps the shape itself from seeming to mean something. The circles take more room than "-AB", so the default label box grows from seven characters to eight to keep a four-digit number and two groups at full height. The gusset finder test is pinned to the seven-character size it was written for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
526 B
C#
16 lines
526 B
C#
namespace OpenNest.CNC.CuttingStrategy
|
|
{
|
|
/// <summary>What Plan Cutting etches in each part's label box (see docs/label-box.md).</summary>
|
|
public enum PartLabelMode
|
|
{
|
|
/// <summary>Nothing is etched.</summary>
|
|
Off,
|
|
|
|
/// <summary>The drawing name only, for example <c>1234</c>.</summary>
|
|
PartNumber,
|
|
|
|
/// <summary>The drawing name and the bend groups of its bends, each letter etched in a circle, for example <c>1234 AB</c>.</summary>
|
|
PartNumberAndBendGroups,
|
|
}
|
|
}
|