Files
OpenNest/OpenNest.Core/CNC/CuttingStrategy/PartLabelMode.cs
T
ajandClaude Opus 5.5 75f7444aab feat(labels): etch each bend group letter inside a circle
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>
2026-11-23 17:53:23 -05:00

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,
}
}