Commit Graph
2556 Commits
Author SHA1 Message Date
ajandClaude Opus 5.5 dfee19d24b fix(mcp): name the Raster engine in the autonest engine description
DefaultEngineSelectionTests requires the MCP autonest tool's engine
parameter to describe every built-in engine; Raster was missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dev-build
2026-11-24 23:22:00 -05:00
ajandClaude Opus 5.5 ca9e08b93d feat(engine): add the Raster nesting engine
Raster packs each part rotation as a bit mask of its material grown by
half the part spacing plus 0.75 cell, so masks that never share a cell
keep the spacing and every layout passes the layout check unrepaired.
Coarse raster no-fit maps propose positions and a grid four times finer
settles them; the job is decoded in 48 greedy variants through the
shared stock loop. It is selectable by name, not a Default candidate.

Benchmark, 7 real jobs, --parallel 1, 6" minimum salvage: all layouts
valid; Irregular's sheet count on 5 jobs in 0.6-2.3 s against 11-78 s,
at under 1 to 4% more salvage-credited cost; 3 sheets against 2 on 27K;
24 s on 2J9 (seven stock sizes). Packing tighter and opening the gaps
with Fix Spacing saved under 0.1% of cost for up to 25 times the time,
so it was left out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:06:56 -05:00
ajandClaude Opus 5.5 a73ddf2f4c fix(desktop): start opened programs in the file's folder
View in CAD and View Nest Report started the associated program in the
app's working directory, the Velopack install folder. A CAD program left
open held that folder, so every update failed to swap it and the app
relaunched on the old version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:11:40 -05:00
ajandClaude Opus 5.5 501ee4f04d feat(support): leave out slug slices that cut off only a bare strip
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>
2026-11-24 21:41:32 -05:00
ajandClaude Fable 5.2 d4af0c210c feat(plate-view): make bend line grain colors easy to tell apart
Across and with the grain were yellow and orange, nearly alike as thin dashed lines on a part. The three kinds are now yellow, cyan and magenta, each with its own dash pattern, drawn thicker over a dark outline.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 21:18:01 -05:00
ajandClaude Fable 5.2 593757608c feat(labels): share one bend letter among parallel bends close together
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>
2026-11-24 21:18:00 -05:00
ajandClaude Fable 5.2 ae14101554 feat(labels): etch each bend's group letter beside its bend line
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>
2026-11-24 20:36:24 -05:00
ajandClaude Fable 5.2 c5e378206d feat(support): slice slugs between grid points, directly before their cutout
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>
2026-11-24 20:16:04 -05:00
ajandClaude Fable 5.2 96e6a1e006 feat(irregular): band the last sheet of each best plan
The frontier packer is offered Lattice blocks only on an empty sheet, so
the like parts that end a job went down one copy at a time, and the
banded variant that lays them out as a person does runs minutes later.
Someone stopping Auto Nest on an early plan got that ragged sheet.

Each plan that becomes the best now has its last sheet packed again as
full-height Lattice bands, before and after its tail re-plan, on a work
meter and block catalog of its own. The banded plan is kept beside the
search, reported when it beats every plan reported and returned when the
search ends without beating it, so the search runs as before.

On N26-2J9 the nine-sheet plan's last sheet (139 parts on 48 x 144) ends
at 114.55 instead of 120.76, about 22 s after the plan is reported.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:58:05 -05:00
ajandClaude Fable 5.2 9e3f0d5558 feat(cutouts): let ring chains nest 32 deep instead of 4
Four levels left a set of rings in many sizes with stacks on the sheet beside
empty bores that would hold them. The depth only bounds the recursion that
expands a bundle, so chains now run as deep as the bores allow, up to 32.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 19:20:53 -05:00
ajandClaude Fable 5.2 5af42230c2 feat(cutouts): bundle every repeated ring and seat inserts against the bore wall
The 32-bundle limit now counts only bundles the lattice and NFP searches were
consulted for; round inserts in round holes are packed analytically and are
bundled up to 4,096. A round insert sits against the wall at the hole's lowest
point unless the centered layout seats more, so the room left is one crescent
that smaller round parts fill.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 18:17:54 -05:00
ajandClaude Fable 5.2 d37cc93371 feat(circles): place a smaller disc between two large ones when that shortens the sheet
Largest first sets the large discs side by side before any smaller one is
placed. Each sheet of 24 discs or fewer is now also packed with the order of
its discs searched for a shorter layout, and the room that frees is refilled
from the remaining demand.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 18:17:54 -05:00
ajandClaude Fable 5.2 67d150f95f perf(core): answer a part inside another's cutout without the triangle test
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>
2026-11-24 18:17:53 -05:00
ajandClaude Opus 5.5 95e933b1ea fix(fill): keep interlocked pairs that end within tolerance of an inner edge
With clamps on the sheet, Fill Area's clamp-clear check allowed only 1e-6
of overhang at an area edge that is not the sheet's, while the fillers
allow the geometry tolerance at every edge. An interlocked pair whose
partner ended a few millionths past the selected box lost both parts, so
a box that holds two pairs of triangles got two singles. Inner edges sit
at least the part spacing (or a clamp keep-out's spacing slack) from
material, so allow the tolerance there when the spacing covers it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:25:58 -05:00
ajandClaude Fable 5.2 d4ad7a6201 perf(bestfit): slide a batch on boundaries prepared once, with the same distances
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>
2026-11-24 14:37:04 -05:00
ajandClaude Fable 5.2 6067d0c89e perf(bestfit): evaluate pair candidates without rebuilding the parts
PairEvaluator built two parts for every candidate and converted and
chained each one's program twice, about 140 KB of garbage per candidate.
Under the workstation GC that allocation, not the arithmetic, set the
pace.

It now builds the first part once and the second once per rotation, and
applies each candidate's offset to their hull vertices and bounds. The
overlap polygons are flattened straight from the perimeter program's
codes: turned, converted, chained, moved and flattened with the operands
and order of the long way, using the conversion's and Arc's own helpers.
The chain ShapeBuilder finds is recorded once and replayed, which is only
done when every pair of entity ends is clearly together or clearly apart;
otherwise, and for full circles, incremental moves and sub-programs, the
perimeter is built as before.

On 51 drawings from four production nests (68,521 candidates) the
evaluator goes from 5.9 s to 0.93 s and FindCandidates from 7.9 s to
3.3 s; allocation falls from 9.6 GB to 1.6 GB. Results, their order and
the overlap polygons are bit-identical to the previous evaluator, which
the tests keep as a frozen oracle.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:26:52 -05:00
ajandClaude Fable 5.2 af2712e700 perf(core): triangulate, hull and flatten with the same results and less work
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>
2026-11-24 13:26:51 -05:00
ajandClaude Fable 5.2 9ffd02db73 test(reports): run the first pdftotext on PATH that accepts -bbox
The PDF report tests ran whichever pdftotext came first on PATH. Git for
Windows ships Xpdf's, which has no -bbox, and shells that list Git first
hid Poppler's: 21 tests failed with "Expected 0, Actual 99" on a machine
that had Poppler installed.

ReportPdf now takes the first pdftotext whose help offers -bbox, fails
naming what it found when none does, and still skips when there is none
at all. OPENNEST_PDFTOTEXT names one outright.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 13:25:13 -05:00
ajandClaude Opus 5.5 24f70fc3f9 docs(readme): note that OpenNest.Gpu is currently unused
Only the Training tool wires in the GPU slide computer; the apps and
engines use the CPU path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:29:30 -05:00
ajandClaude Opus 5.5 5100eb288b feat(autonest): show required and placed quantities on the Parts grid
The Qty column only showed what this run would place, so the programmer
could not see how many a drawing needs or how many are already on plates
without leaving the dialog. Read-only Required and Placed columns show
both, and Load Required / Load Remaining set every row's Qty at once:
Required to re-nest a whole order, Remaining (required less placed, the
dialog's starting value) to finish it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:09:50 -05:00
ajandClaude Opus 5.5 7634c95fc7 feat(labels): find the label box for half-inch text, stepping down to fit
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>
2026-11-23 17:53:24 -05:00
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 93fa24a9d7 test(corpus): score a Ready plan with a lead off the plate as blocked
The corpus ranked plates by plan outcome alone, and before db4b573e the
planner called a plan with a lead-in pierced past the sheet edge Ready,
so N26-2D6 (added to the corpus for that bug) could not catch it coming
back. A Ready plate whose planned lead-in or lead-out runs past the
plate's box now scores LeadOffPlate, a blocked outcome. It is judged on
the plate, not on what the planner was told, so losing the planner's
sheet check fails here. With that check disabled N26-2D6 plate 2 scores
LeadOffPlate; with it every corpus plate keeps its outcome.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:47:42 -05:00
ajandClaude Opus 5.5 db4b573e3b fix(cutting): keep planned leads on the sheet
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>
2026-11-23 17:41:23 -05:00
ajandClaude Opus 5.5 a937027174 docs(labels): add the bend-group diagram and the 5° A/B tolerance
The bend-group letters were described only in prose, which is hard to
picture; a diagram of each letter's direction against the grain makes
them easy to read. The doc also never said A and B allow 5° either way,
or that a bend just past that goes to the neighboring step. The diagram
is SVG so it diffs and renders on GitHub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 17:20:14 -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
ajandClaude Opus 5.5 d52388bc57 feat(labels): place the label box by hand when it fits nowhere and let it turn
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>
2026-11-23 16:38:27 -05:00
ajandClaude Opus 5.5 aa7ee2035f ci: run fewer, shorter test jobs per push
Runners bill each job rounded up to the minute, and every job restored
and built the shared projects again. The small suites and the synthetic
nests now share one job that builds once; Engine.Tests, the longest,
runs beside it. A newer push cancels a stale run, and pushes that change
only docs or Markdown skip CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 16:24:55 -05:00
ajandClaude Opus 5.5 4c6a95bddd feat(cutting): separate plan actions from plate navigation in Cutting Inspection
Replan, Apply, Close, Previous and Next sat in two identical button rows mid-panel,
so moving between plates looked like acting on the plan. Apply and Close now sit in a
footer at the bottom-right (Apply bold, the accept-warnings checkbox beside it),
Previous/Next are arrow buttons on the plate result line they page through, and
Replan sits beside the scope selector whose plates it reruns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:09:40 -05:00
ajandClaude Opus 5.5 1bfa9622b7 fix(cutting): order locked and slender holed parts by where they are cut
Plan Cutting ordered whole parts by their centers. On N26-2DJ a 15.8"
terminal stands upright beside a stack of the same part, pierced at its
top end; its center sits halfway up the stack, so the tour cut it 7th
instead of 13th and added 11.3" of rapid (40.9" to 52.2").

A program kept as given (a locked part) now enters the tour at its first
cut and leaves from its departure, as cut-offs already did. A slender
regenerated part with holes (extent at least 3:1) is reached and left at
whichever hole center suits its neighbors, since its holes are cut first
and its outside entry leaves beside them; after the center tour it moves
to the gap where that detour is shortest. Hole-less parts keep their
centers: their entry faces whatever comes next.

N26-2DJ now plans to 40.8" locked and 39.6" unlocked. The
locked-among-regenerated digest changes only in expansions (268 to 55);
its order and rapids are unchanged. The part-order corpus meets every
baseline and no plate nears its budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:25:51 -05:00
ajandClaude Opus 5.5 5c0a21becf docs(readme): name the hopper behind scrap cutoffs and list support tabs
The feature list mentioned automatic scrap cutoffs without saying why
they exist (strips sized for the scrap hopper, a reusable tail kept),
and never mentioned the support-bed check that tabs only the parts the
grid or slats cannot hold level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 09:52:35 -05:00
ajandClaude Opus 5.5 95e6ca9dfc docs(readme): list etched part labels and bend groups
Etched labels with grain-based bend group letters let the press brake
group parts that take the same angle correction, but the only place
that explained them was docs/label-box.md. Mention them in the CNC
output feature so readers can find it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 09:46:31 -05:00
ajandClaude Opus 5.5 3e361ffc5e fix(labels): draw the 5, 6 and 9 like handwritten digits
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>
2026-11-23 09:26:53 -05:00
ajandClaude Opus 5.5 5c6f1f83ff feat(labels): round digits in the etch font and sequence a part's etches
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>
2026-11-23 09:26:52 -05:00
ajandClaude Opus 5.5 781086215a docs(labels): bend groups share an angle correction, not a setup
A bend group letter says how the grain runs against a part's bends,
which changes springback. Parts with the same letter take the same
press brake angle correction and can be formed together; the letter
does not say which way a part bends or that it shares a brake setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:58:11 -05:00
ajandClaude Opus 5.5 b19795461c test(ledger): keep ledger re-check tests out of parallel fill tests
Undo is refused while any NestProgressForm is open in the process, and
Application.OpenForms is shared across xUnit's parallel test classes. A
fill-lifetime test opening a progress window could make
RemoveCodes_IsOneUndoableEditThatKeepsTheLayout fail on CI with "Undo was
refused." Join the "Fill operation lifetime" collection like the other
undo test classes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 08:01:42 -05:00
ajandClaude Opus 5.5 6c54616a28 test(cad-converter): wait for the latest parts search in separate tests
Loading an item re-adds the filter panel's checked lists, which posts a
FilterChanged that restarts the parts search. The tests waited on the task
captured before that restart, so they could read CurrentBodies while the
newer search was still running and see null (CI failure in
SeparateOne_LeavesTheRestTogether_UnderTheFileName). Wait until the current
search finishes and no newer one has started.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 07:07:28 -05:00
ajandClaude Opus 5.5 9edc01760b refactor(grids): add text columns through GridStyle
The saved-nests browser and Get Materials built their text columns with
near-identical helpers; GridStyle.AddTextColumn now holds the one copy.
Get Materials names its right-aligned numeric columns explicitly, so
every column keeps its name, width, alignment and format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 74e65feb7c refactor(nest-menu): share the Clamps and Support Bed dialog flow
Both commands guard plate work, offer the nest's machine defaults, show
their dialog and record applying it as one nest edit; one helper now
runs that flow, keeping the same captions, undo labels and order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 08edfd77c2 refactor(geometry): share the arc-sweep filter across arc intersections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 b999f4f76f refactor(geometry): share the entity walk between ToPolygon and ToPolygonWithTolerance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 e46812b71a refactor(geometry): delegate the list PositiveAreaPolygon to the span overload
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 231d1264ab refactor(fill): share StartBeyond between end-row refill and grid-end insertion
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 5fb52b1aaf refactor(cutoffs): split AutomaticCutOffPlanner.Create into planning phases
Move Create's state into a private Run class whose phases (measure the
parts, place the tail separator, choose and verify the horizontal
separator, bound the candidate count, place shifted or fixed strips, add
the tail and band, build the plan) Create calls in order. The former local
functions become methods with unchanged bodies; AddCandidate's detached
regeneration and definition bookkeeping move into two small helpers.
Expressions, predicates and the order of diagnostics are unchanged; the
characterization digests match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:42 -05:00
ajandClaude Opus 5.5 b586e6675a test(cutoffs): characterize automatic cut-off plans
Pin every field AutomaticCutOffPlanner.Create returns (definitions with
their programs, diagnostics, spans and cut lengths) for fixed-grid,
shifted, clamp, tail, horizontal-remnant, blocking, head-lock and empty
scenarios, so the planner can be restructured against identical output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:41 -05:00
ajandClaude Opus 5.5 afc3acd418 refactor(data): share nest-server request helpers across remote clients
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 05:48:41 -05:00
ajandClaude Opus 5.5 eaf99fba8b fix(irregular): cap Lattice block requests at the rectangle's capacity
Block requests were keyed and charged by every copy still wanted, so a
high-demand part (140 copies) spent a large share of the work budget per
Fill and never reused a block from one sheet to the next. Later sheets
got no Lattice block for the strip beside their large parts: on N26-2J9
a 48 x 96 sheet held 25 small parts where a Fill of the strip holds 32.

Requests now ask for at most what the rectangle's area could hold of the
part's material. Fill stops at the copies asked only when it could place
more, so the patterns are unchanged; they cost less and are shared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:49:14 -05:00
ajandClaude Opus 5.5 aa5675dc64 feat(auto-nest): skip the Keep/Discard review after the user picks a layout
Using a layout in the progress window already chooses it, so the review
that followed only repeated the choice. The review still runs when the
layout was taken for the user (one layout, Make Nests' countdown, server
nests), and the validation review still runs for a layout that breaks
rules. Unplaced parts, which only the review named, are listed after the
commit instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:19:07 -05:00
ajandClaude Opus 5.5 5aa2c45536 fix(auto-nest): keep layout thumbnails full height when captions overflow
A card whose sheet captions alone were wider than the strip shrank its
sheets to a third of full height and scrolled anyway, so cards with more
distinct sheets drew much smaller than the rest. They now keep full height
and scroll.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:19:04 -05:00
ajandClaude Opus 5.5 b6a9cea93f feat(cutting): group Plan Cutting's settings and keep the plan on Cancel
The Cutting Settings and Cut-off Settings buttons looked alike and were
easy to mix up. Plan Cutting now shows two titled groups: Part cutting
(Leads & Tabs..., its summary and Keep current part order) and Scrap
cut-offs (the box, Strips... and the strip width). Planner messages
name the renamed button.

Canceling Leads & Tabs, or OK with nothing changed, keeps the current
plan. Canceling Strips keeps it too when no cut-offs were staged; with
the box ticked the staged cut-offs had to come off, so it still replans.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:55:30 -05:00