Job numbers were going into Customer ("GM / 4980-88R"), which breaks
sorting, searching and grouping by customer. A nest now has its own
Job # field: one or several jobs separated by commas, normalized to
"a, b". It is saved in nest.json and the server (schema v21), edited
beside Customer in Edit Nest (WinForms and Avalonia), shown as a
sortable, searchable column in the Open list, and printed on the nest
report and in MCP output.
Deploy the server before the desktop: the open overlay takes the
server's job number, and an older server has none.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plan Cutting's heat-aware order is now one setting, "Don't start above (°C
rise)" (CuttingParameters.HeatStartLimit, 0 = off, saved per material and
thickness), with the same rule for single parts and for the lines of large
grids: before each next piece, estimate the temperature where it starts when
the tool gets there; cut the plain order's next piece when it is at or under
the limit, else the nearest piece under it, else the coolest. A move across
parts already cut is a heat jump, reached with the head raised and counted in
HeatRaises; parts that cannot take a raise are reached head-down only when
nothing else is ready. The weighted block layouts and the grid prototype's
static switch and Alternate mode are gone; every-other-line on the washer
grid falls out of the rule.
The rule counts the heat of the part just cut: leaving it out halved the
raises on a 0.06 in sheet but left the starts' P90 at 32-36 C instead of
about 3 C. Re-plans after a learned order rule replay the parts already cut
into the estimate and the crossing test, and an order the heat never moved
stays the plain one, so a limit the estimate never reaches changes nothing.
Measured (HeatOrderMeasurementTests, docs/plate-heat-map.md): washer grid
line starts 63 -> 6 C for +1.5% travel and 1-2 raises; 0.06 in sheet zone
P95 -25% for +10-15% travel, +2% cut time; 0.25 in sheet at 10 C zone P95
-18% for +15% travel (the old weight: -10% for +51%). No fallback raises.
Limit 0 is byte-identical (characterization digests, problem-nest
part-order and grid areas pass).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plan Cutting cut dense runs of small neighboring parts back to back, so thin
sheets built up heat in one area (N26-2F2 sheet 2). An opt-in
CuttingParameters.HeatWeight (s of travel per degree C, saved per material and
thickness; 0 = off) lets the tour compare the plain tour with two cutting
fronts and 2x2-6x6 blocks, scored by travel, 2 s per jump and the old
Gaussian heat estimate fed by the Cut Simulator's feeds.
A move to another block across parts already cut is a designed head raise:
the strict search raises that arrival and replay marks it HEAD RAISE, counted
in HeatRaises, not HeadRaises. Locked programs and cut-offs cannot carry the
mark, so they are reached head-down only as a last resort. The user approved
raising the head to jump between blocks, since these small parts can be tabbed.
At weight 0 nothing runs: fingerprint, serializer and plans are unchanged
(corpus part-order and characterization digests pass). On the 121-part 0.12 in
sheet, weight 0.1 lowers the hottest-zone P95 by 37% for 11% more cut time,
with 37 designed raises and no fallback raises.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With short steps only around the torch, the processor is faster than the
card at the quarter-inch cells full sheets use, and the card only gained
at a cell size they do not use. Drop OpenNest.Gpu, the ILGPU dependency
and the accelerator interface; the heat map runs the same on every
computer. The measured card timings stay in docs/plate-heat-map.md.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
With short steps only around the torch, the processor runs a 5x10 sheet's
quarter-inch cells in 0.2-0.5 s where a graphics card takes 0.45-1.0 s, so
grids under 250,000 cells now stay on the processor and the card serves
only finer ones. The cut simulator starts the card on demand, so a run
that stays on the processor no longer waits about half a second for it.
Automatic cell sizes no longer depend on an accelerator: one budget of
4 billion cell updates keeps quarter-inch cells on a full sheet for cuts
of about six hours in mild steel (about 3 s to compute), and every
computer draws the same picture.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
While the torch cuts, every cell of the plate took steps short enough to
follow it: 4 to 76 times more steps than diffusion needs. On the processor
only the cells within four cells of the torch's recent path take them now;
the rest of the plate takes one long step per slot. A full sheet at
quarter-inch cells runs in 0.23-0.45 s instead of 0.9-2.9 s, and a fast
feed no longer makes it slower.
Peaks stay within 1% of the color scale at the 99th percentile of the
whole-plate result. Graphics cards keep whole-plate steps. Decay factors
for the support bed are worked out per distinct contact fraction.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Only the first halving has the large work budget; finer cells must fit the
old one, with or without a graphics card. Eighth-inch cells on a full sheet
left hot lines too thin to see and stretched the color scale. A card still
keeps quarter-inch cells on longer cuts.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Split only cutting time into short steps, raise the automatic resolution,
add an optional ILGPU accelerator with CPU fallback, and estimate heat off
the UI thread.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A step added all its heat at once while the torch crossed several cells,
and each sample went wholly into one cell, so peaks varied by up to a
quarter along a straight cut. Share each sample between the surrounding
cells of the same piece, sample the path four times per cell, and limit
a step to one cell of torch travel.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A cut-off beside a part whose outline is open (a tab gap) is trimmed
against the part's convex hull. CollectPoints gave each arc its whole
circle's quadrant points, so a shallow arc stretched the hull far past
the part: a radius-15 lug bottom trimmed a full-height cut-off to the
top of the part (N26-2EV) and a concave arc split another in two
(N26-2F2). Loading a nest regenerates cut-offs from the tabbed
programs, so the cut-off looked broken after save and load.
The hull now takes points on each arc and circumscribed ones just
outside it (within 0.001), so it still holds every arc. CollectPoints
is unchanged because FindBestRotation relies on it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 5k-washers corpus plate planned in about 90 s alone and timed out at the
corpus's 120 s limit whenever anything else ran, making the corpus fragile.
Profiling showed nearly all of it was linear scans over every part, repeated
per candidate: each lead check walked all 5,742 materials (and first re-tested
that all were complete), each rapid walked every completed contour, each
expansion rebuilt a HashSet of every cut part, each checker copy regrew its
obstacle list, and the nested-part search tested all 33 million part pairs.
A uniform grid over extents (ExtentGrid) now leaves out only parts whose
extents lie beyond the margin the existing skip tests use, and the rest are
visited in their original order, so every check returns exactly what the full
scan returned (same findings, same first obstacle, same budget charges):
- LeadPathValidator visits only materials not clear of the lead's queries or
its midpoint's row, through a shared LeadMaterialSet built once per walk and
replay; ContourEntryFeasibility reuses that set instead of copying it per part.
- ReleasedContourState keeps a read-only obstacle prefix with a grid, shared by
copies, so copies stay cheap and rapids test only nearby contours.
- The search keeps one ordinal flag array per order instead of a HashSet per call.
- CuttingDependencyGraph tests each part only against hosts whose bounds can hold it.
Plate 1 alone: 93.3 s -> 12.3 s (capture 2.7 -> 1.2 s, plan 90.6 -> 11.1 s),
with the identical plan digest and 86,245 expansions; plate 2 also plans
identically. The problem-nest corpus (part-order,entries) gives every plate the
same outcome and expansion count as master, and the Collision kernel and every
tolerance are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SequenceParameters and AssignmentParameters configured the automatic
part sequencers removed in 9ea495ed (and a PEP-era assignment that was
never implemented). Nothing read them; they were only copied, saved
and fingerprinted. CuttingParameters no longer carries them, and the
SequenceMethod enum goes with them.
Older nest files and desktop settings still load: their "sequencing"
and "assignment" objects are ignored on read and no longer written.
The settings fingerprint is compared in memory only, so dropping the
fields invalidates nothing saved.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cut order comes from Plan Cutting or the user (Manual Sequence,
Sequence by Path). The PEP-era sequencers (Right/Left/Bottom Side, Edge
Start, Least Code, Advanced) and the parked heat-aware one predate the
cutting planner. Only Auto Sequence still ran one (Least Code), and its
order was replaced as soon as the plate was planned.
Removes Plate > Sequence Parts > Auto Sequence and Nest > Auto Sequence
All Plates, the sequencers and their factory, and the old PlateProcessor
with its rapid planners, which only tests used. The cutoff ordering
rules stay (OrderCutOffsFirst, PlaceCutOffs) and are now tested on
given routes. SequenceMethod and SequenceParameters stay so saved
cutting settings keep loading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
While the cut simulator is open, a left click on the plate (Select tool)
pauses at the time the tool passes nearest the click instead of selecting
parts. Cuts, scribes and pierces win over rapids; overlapping passes
resolve to the one nearest the current time.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scrubbing the Cut Simulator backward reset the heat model and replayed
from zero, so every frame cost a full run (~75 ms on N26-2EF, over a
second at 1/32 in cells).
- A straight run from the start now keeps checkpoints (temperature,
peak, cursors) about every 500k cell updates, within 32 MB; the
pieces are rebuilt from the event cursor. Going back, or jumping
more than eight steps ahead, resumes from the latest checkpoint a
straight run to the target passes, so the state is exactly that
run's. Seeks on N26-2EF drop from 12-150 ms to about 1 ms.
- The diffusion step runs branch-free on Vector<float> with neighbor
links precomputed as 0/1 weights when pieces change, and splits
across processors on grids of 65,536 cells or more. A missing link
adds a zero, so results stay bit-identical.
- Rises below 1e-30 K are flushed to zero: the heat front passed
through subnormal floats, which made long runs 2-4x slower. Only
cells below ~3e-18 K change, by at most 2e-25 K; N26-2EF's end state
is bit-identical.
A full run on N26-2EF falls from ~150-180 ms to ~15-40 ms, so the
automatic cell size's work budget rises from 20M to 60M cell updates
(still about a tenth of a second); full sheets keep 0.5 in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The heat map's 0.5 in cells were too coarse to show heat trapped in
small parts such as washer rings. Unless a cell size is set, cells now
halve from 0.5 in down to 1/16 in while a full replay stays within 20
million cell updates (about a quarter second), since scrubbing back
replays from the start. Full sheets with long cuts keep 0.5 in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cut timeline called a contour exterior only when it closed and ran
clockwise, while the posts (ContourWinding.PerimeterIndex, L4/L2 on the
CI Fiber) take each part's contour enclosing the largest bounding box,
closed or not. A perimeter left open at a tab was therefore timed at the
hole feed, and the heat map dropped the whole part as a cutout slug with
its heat: on N26-2ED every washer showed no heat at all. The timeline now
uses the posts' rule, so tabbed or counterclockwise perimeters take the
outside feed and stay in the heat map as cut-free parts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The heat model now loses heat through the bottom face into the bed the
sheet rests on when ThermalParameters.SupportBed is given. Each cell gets
the share of its area over a slat's top (SupportSlats.SlatsIn) or a grid
point's square pad (SupportGrid.PointsIn, GridContactSize), placed for the
plate's quadrant and computed by overlap rather than snapped to cells.
That share times ContactCoefficient (200 W/m2K by default, an effective
estimate to calibrate; slats get no temperature of their own) is added to
the air loss as a per-cell exponential decay, which stays stable. Without
a bed the model is unchanged. The Cut Simulator passes the plate's bed and
says in the heat label whether slats or the grid cool the sheet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add SequenceMethod.HeatAware (100, outside PEP's numbering) and
SequenceParameters.HeatWeight. HeatAwareSequencer orders parts forward
by travel seconds plus the weight times the heat estimated where each
part is cut, from HeatSpreadEstimate: a Gaussian blob per finished part
that widens with conduction and fades with surface loss. Without a
thickness it is nearest neighbor. PlateSequencing.Apply takes the
sheet's thermal parameters for it and still places cut-offs as before.
The method and weight persist in the cutting settings DTO. Plan Cutting
does not use the method and no UI offers it: its strict search refuses
rapids over parts cut free, so a heat-spreading order needs 53-78 head
raises per plate on the measured nests. docs/plate-heat-map.md records
the numbers; revisit once thermal readings calibrate the model.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add PlateHeatSimulation, a grid model driven by the cut simulation's
timed moves: cutting and piercing add absorbed power under the torch,
heat conducts within each piece and is lost from both faces. Finished
cutouts drop their slug and its heat; a finished outside contour cuts
the part free of the skeleton so no heat crosses the kerf.
The Cut Simulator gains a Heat layer (Now / Peak so far) with the
absorbed power as an input, colored against the 99.5th percentile so
single-cell pierce spikes don't wash out area buildup. Temperatures are
relative estimates for comparing cut orders; see docs/plate-heat-map.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Program.EndPoint started its backward search at Codes.Count, one past the
last code, so every absolute-mode program threw an
ArgumentOutOfRangeException, including through Timing.GetTimingInfo for
cut-time estimates. Start at Count - 1; an empty program still returns
the origin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nests showed only the decimal (0.135), while the shop thinks in gauges.
A nest now keeps a ThicknessName in its file, record and the server
(schema v20), set from Nest Information's new box, which suggests the
machine's name or the nearest standard gauge. The Open list, status bar
and reports show "10 ga (0.135)"; nests saved without a name get one
looked up for display only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two nests that should have been one (a thickness saved as 0.1196 instead
of 0.12 kept N26-2CN and N26-2CH apart in Auto Nest) could only be joined
by re-importing drawings and re-nesting. Copy and Cut now also remember
the selected parts, and Paste (Ctrl+V) and Paste in Place (Ctrl+Shift+V)
put them into whichever nest is active.
A paste adds an exact copy of each drawing the target lacks, with its
required quantity, uses a same-named drawing with the same geometry, and
refuses a different drawing with the same name, since a nest cannot hold
two. Drawings are captured at copy time, so later edits or undo in the
source do not change what is pasted. Clipboard keys in text boxes now
edit the text instead of acting on parts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ReleasedContourState.AnalyzeMoves took its strict, fixed, raised and
warning finding lists as four parameters. They now travel in one
ContourFindings sink, which also routes a finding by fixed ownership.
The rapid-crossing loop, the open-cut retention proof and the part-end
open-cut obstacle move to private methods. Finding order, contents and
cancellation checks are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpenNest.Gpu never ran: the best-fit slide search passes native entities,
whose GpuDistanceComputer overload fell back to the CPU, and the GPU pair
evaluator was disabled earlier. Remove the project, its axis-only
ISlideComputer adapter (GpuDistanceComputer, BestFitCache.CreateSlideComputer,
BestFitFinder's slideComputer parameter), the Training tool's GPU wiring,
SpatialQuery.FlattenLines and the ILGPU tests. Best fit always uses
CpuDistanceComputer, as it already did.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- NestItem.WithQuantity replaces eight hand-written copies that changed only
the quantity, so a new field is copied everywhere.
- The WinForms support overlay uses Desktop's SupportAnalysisCache and
SupportClearance instead of its own copy.
- CuttingParameters.LeadInFor/LeadOutFor replace the contour-type switches in
ContourCuttingStrategy and ActionLeadIn.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Expand Spacing kept the first selected part fixed and stalled on full plates.
- A pair of selected parts now shares each push (later part half, earlier
part the rest, later part any remainder), so no selected part is an anchor.
Both shares run to the full target, so a part between two short gaps no
longer ping-pongs while its partners never move.
- Clamps act like the work-area edge: a part may close on the keep-out but
never enter it, and the clamp gap neither chases the target spacing nor
counts as the achieved spacing. Before, clamps held their full entry gap
and a part resting just above one capped the whole search.
- A part flush on an edge can slide along it again. A push that leaned into
the edge by rounding (parts turned a quarter or half) divided zero room by
a tiny component and pinned every move.
- Faster search with identical layouts: per-part pair lists, clearances
remembered at the positions measured, box-proven clamp pairs skipped,
trial-move gaps measured only up to their threshold, the overlap clipping
run only for outlines that touch, cross or nest, and ring distances
measured at offsets without copying outlines. Clearance gains the bounded
and offset distance used for this.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Route the four identical even-odd ray casts through RingContainment.Contains and share the arc-intersection, span-pairing, overlap-region, lead-in, plate-offset, leader-edge, entity-copy and path-perimeter duplicates. Expressions and loop order are unchanged, so results are bit-identical.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pointing a letter's top at its bend line read upside down whenever the
letter sat past the line from a short flange (N26-2J3 plate 2: PT33, PT71).
Place now records which way each letter faces: its bottom toward the side of
the part, across the line, where the material ends sooner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A bend group letter was turned only to read upright in the drawing frame, so
on a narrow flange it could read upside down from the flange's outer edge
(N26-2J3 plate 14, PT52). Its top now points toward the bend line, and the
etched strokes compare the spot with the bend in the same (offset-free) frame.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Sort Plates by Size toolbar button reorders the nest's plates largest or
smallest first, as one undoable step. Equal areas order by the longer side,
same-size sheets keep their order, the current plate stays current and the
trailing empty new-plate sheet stays last.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drawing.IsFormed is true when the drawing has bend lines, unless
FormedOverride says otherwise: rolled parts usually carry no bend lines,
and a drawing with bend lines can ship flat. The override is an additive
.nest field ("formed"), omitted when the bend lines decide, and split
pieces keep it.
Auto Nest's Plates choice lets a run use only the nest's current plates
(the free space beside parts already placed, then the empty plates it was
given) or current plates first and then new sheets. New plates stays the
default and unchanged. The review draws parts already on a plate in one
gray, and the whole proposal is kept in one undo record.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A slice whose strip beside the cutout is nearer its line than the grid's
points ever come (half a pitch less the registration tolerance) separates
no contacts; it only cuts close alongside the part's edge. Leave it out so
the strip joins the piece beside it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two parallel bends an inch apart each got their own group letter, though parallel bends are always in one group. A bend now gets none of its own when a letter is already placed for a parallel bend within 12 inches (300 mm) of its line.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
Slug slices ran along the grid's rows and columns of points, so every
slice cut over the support points and into the grid. They now run midway
between the rows and between the columns, half a pitch from every point.
Slat beds still slice along slat center lines.
A part's slices were all cut before any of its contours, leaving a slug
sliced while the head cut other cutouts. Each cutout's slices are now
emitted directly before that cutout.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A ring seated in a bore was the spacing check's worst case: every triangle
pair overlaps and each piece is subtracted by the whole cutout before the
answer is no. An outline lying strictly inside one cutout shares no material
with that part, so SpacingOutline.Overlaps says so directly; touching or
crossing outlines still take the full test.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Best-fit slide distances rebuilt their band indexes for every offset: over
half of a slide's time and nearly all of its allocation (5.8 GB for the
225,684 slides of 51 drawings). CpuDistanceComputer now slides a batch
through Core's SlideBatch, which packs the two boundaries and builds their
vertices, contact topology and one band index per boundary and push axis
once. The pair search prepares each pair once for its first slides and its
settling slides (IPreparedDistanceComputer).
For pushes along an axis a slide also passes over pairs that cannot change
its answer: a vertex or curve outside the other boundary's whole extent
across the push, which every band test rejects, and, while the nearest
contact is searched for, a pair whose gap along the push already reaches
the nearest distance found, which the search discards. Both keep margins
for the kernels' own tolerances; a ray hits a line up to epsilon of its
length past its ends.
Every distance is bit for bit what the per-slide query returns:
CpuDistanceComputerEquivalenceTests compares the batch with a frozen copy
of the old computer on hand-built boundaries, grazing and touching starts
and the pair search's own batches. The per-slide sources and
SlideResolver are unchanged and remain what every other caller uses.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Ear clipping walked every remaining vertex from the first after each ear,
re-reading a remembered verdict for most of them. It now keeps the set of
vertices whose verdict can have changed (an ear's two neighbors and the
vertices it blocked) and takes the lowest, which tests the same vertices
in the same order. The ear test reads the remaining vertices from packed
arrays, several at a time where the hardware allows, with the arithmetic
of PointInTriangle per lane. Working arrays are kept per thread.
ConvexHull sorts in a per-thread buffer with the position as tie-break,
the order the stable two-key LINQ sort gave. Shape flattening adds arc
points straight to the polygon; Arc's sweep, segment-count and point
arithmetic moved to static helpers so callers can flatten an arc without
building one.
A 246-vertex triangulation drops from about 410 to 115 microseconds.
Triangles, hulls and polygons are bit-identical: the existing frozen
ConvexDecomposition oracle tests pass, and new tests compare the hull and
the flattening with the earlier code.
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>
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>
Plan Cutting checked each lead only against part material, so it could
pick an entry whose lead-in pierced past the plate's edge and still call
the plan Ready; only the pre-post plate edge check noticed (N26-2D6
plate 2: PT97 0.25 from the left edge, a 0.3125 lead at 60 degrees ran
0.062 off it).
The planner now stamps the plate's box on each part's lead material, and
LeadPathValidator refuses a lead-in or lead-out past it by more than the
plate edge check's slack, so the search enters from a side with room and
a contour with none fails naming the edge. A locked or pinned lead off
the sheet is a FixedLead warning. A part whose own material is already
off the sheet keeps the old checks: no lead can fix it, and the edge
check reports it.
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>
The first round glyphs looked odd: the 6 and 9 joined a semicircular
hook to their bowl with a straight side, and the 5 met its bowl with a
flat ledge. The 6 and 9 now sweep into the bowl on one long arc that
meets it tangentially, and the 5 drops a short stem straight into a
round bowl.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The label font drew every digit with straight segments (a boxed 0, a
squared 8), so etched part numbers looked crude. Strokes can now hold
arcs: 0, 2, 3, 5, 6, 8 and 9 are drawn on arcs and etch as arc moves
(incremental programs get their arc centers as steps too). The zero
keeps its slash so it never reads as the letter O.
A part's scribes were etched in the order they were drawn, so on PT56
in N26-2DC the head etched one bend's two edge marks, crossed the part,
etched the next bend's, and then crossed back again to start cutting
(162 in of rapids). Scribes are now ordered as a nearest-neighbor tour,
tried from every mark, with either end of an open mark allowed, and
ending near where the first cut starts. They are prepended after the
cuts are emitted so that start is known. PT56 now etches one edge, the
label, then the other edge, beside its first pierce (86 in).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>