A part bent two ways listed its bend groups in the label box, which did
not say which bend was which. Each bend now gets its own circled letter
beside its line, just past the band the bend rolls through, on either
side and at the largest of the label text sizes that fits. The letters
need no label box, so the box holds the part number only and the groups
are no longer etched in it.
The nest's units size the letters, so Plan Cutting callers pass them.
The CAD Converter previews the letters for any part with bends.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Quarter-inch etching is hard for the shop to read, and most of the crew
would rather have half-inch text. Find Best Location now tries half-inch,
then three-eighths, then quarter-inch text (12, 9, 6 mm) and keeps the
largest that fits, so big parts get readable labels and small parts still
get one. Only when even the quarter-inch label fits nowhere is a box
placed for hand adjustment, at that smallest size. Boxes already placed
keep their size until found again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
A part too small for the label (such as a bent 2 x 1 tab) told the user to
place the box by hand, but nothing let them: the button only ever ran the
finder. Now it places a full-size box on the roomiest flat spot a smaller
label fits (or the part's middle) and says to adjust it.
The box could be moved and resized but never turned, so a slanted placement
was stuck. A round handle above the box now turns it (5 degree steps, free
with Shift), and the Label Box menu adds Rotate 90 and Make Horizontal. The
angle stays within a quarter turn of horizontal so text never reads upside
down.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add LabelBoxFinder (Core): erodes the cut material by an etch clearance,
cuts bands out around bend lines and breakoff scrap, then centers a
label-sized box in the roomiest empty rectangle over a few orientations
(axes, bend and edge directions). Placement is stored on
Drawing.LabelBox in the source frame, persisted in the .nest file and
carried through BuildDrawing/ApplyEdit; it never affects the program.
The CAD Converter gets a Label Box... button that finds the best spot,
draws it as a dashed rectangle, lets the user drag and resize it, and
warns when nothing fits. Etching the text is a later step.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>