Commit Graph
2 Commits
Author SHA1 Message Date
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
ajandClaude Opus 5.5 2999507559 feat(labels): preview the etched label text inside the label box
The box gave no hint of what Plan Cutting would etch in it: a box resized
tall and narrow silently etched nothing, because the text reads along the
box's width and is dropped once it shrinks below half the box height.

The CAD Converter now draws the label in the box, laid out by the same code
Plan Cutting uses (PartLabels.Layout, split out of Strokes). It previews the
full name-and-bend-groups text for the unrotated part, the longest form, and
turns the box red with "Too small to etch" when nothing would be etched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:38:27 -05:00