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>
The updater stopped checking once a download finished, so a copy left open
overnight restarted into the first build published that evening and then,
a minute after starting, updated again to the newest. Checks now continue:
a newer version replaces the pending download, and if the feed is
unreachable or the newer download fails, the update already on disk stays
ready (read back from Velopack, which may clear older packages on failure).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 121- and 110-part 0.12 in sheets the old heat weight was measured on are
not at hand; N26-2GT's two thin sheets stand in, labeled as such.
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>
Large aligned grids take the serpentine and never reached the heat-aware
order, so a heat weight did nothing there. This prototype reorders the
serpentine's lines (every other line out and back, or the nearest line
whose start the heat estimate puts under a limit), keeping each line's
parts in order and marking the moves across cut parts as heat jumps.
It runs only with a heat weight and CuttingGridHeatOrder.Setting set by a
measurement harness; otherwise the serpentine stands, byte-identical.
GridHeatOrderMeasurementTests (opt-in, OPENNEST_GRID_HEAT_PLATE) compares
the orders on a plate.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Info tab showed the thickness name twice: the thickness box's list label
("1/4" - 0.25") and the separate Thickness name box. The box now shows the bare
decimal with a Name box beside it; the list still names each entry, and a
picked entry keeps its name when the box switches to the number. Fields are
grouped into Nest and Material sections and the dates are one gray line.
The Defaults tab and Edit Plate edited the same size, spacing and quadrant
with duplicated controls, and the Defaults tab always stepped spacing by 0.25
even in millimeters. Both now host one PlateSettingsEditor; the forms stay
separate because each has its own extras (quantity and outline, or use for
new nests).
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>
On a linear scale topped by the cells at the torch, nearly the whole
sheet drew in the coolest blue. Color rises logarithmically from 10 °C
to the 99.5th percentile of the cut's peaks, held between 100 and
1000 °C, and label the colors with a bar down the plate view's right
edge.
Co-Authored-By: Claude Sonnet 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>
GDI+ throws "Out of memory" stroking a figure that is only an arc a few
hundredths of a pixel long with a round-join or dashed pen. Small etched
text zoomed out has such arcs, and playback adds them to the trail one at
a time, so the paint threw and took the app down.
An arc bulging under a tenth of a pixel from its chord now goes into the
path as the chord, and a path GDI+ still rejects is left undrawn instead
of failing the paint.
Co-Authored-By: Claude Fable 5.2 <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 free part order costed every cut-off from its origin-side start, though
a head-locked far-edge segment may be cut from either end. Beside a sheet
separator the tour therefore ended on the parts near the origin side, and on
N26-2EU (four flange rings beside a head-locked scrap separator) the search
learned rules from those orders until no order ended on the ring beside the
far-edge start. It ran out of budget and the batch fell back to the current
order, which was Ready only because the right ring happened to be last.
Each reversible cut-off is now also costed from its far-edge end, and the
tour keeps that end when it is shorter. N26-2EU plans Ready with a new order
in under 1,000 expansions. Plates without head-locked cut-offs get the same
tour as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The washers corpus plate 2 (1,258 parts) rebuilds its proposed part order
about 20 times, and each Or-opt pass tried every gap for every run of one
to three parts: 4.7 million leg measurements per pass. That was a third of
the plate's planning time.
Or-opt now indexes the parts' exit points in an ExtentGrid and tries only
gaps whose leg is longer than most, the start and end gaps, and gaps that
start close enough to the run to possibly shorten the route (by the
triangle inequality, insertion < removal needs |af| < |ab| + (removal +
|fl|) / 2). It still tries them in ascending order and takes the first
valid improvement, so the tour is the same. Both Or-opt and 2-opt now
measure each route leg once per order instead of once per candidate,
reusing the exact values they computed before.
Plate 2 plans in 21.4 s instead of 33.2 s, measured alone, with an identical
plan digest; plate 1 is unchanged. The corpus (part-order, entries) matches
the previous run's outcome and expansions on every plate.
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>
The heat layer is translucent where it is cool, so each part's drawing
color showed through and shifted the scale's hues: a green part under
cool cyan read as the warm middle of the scale, and purple parts blended
into the cool blue. The same temperature looked different on different
parts.
While the heat layer shows, cut and cutting parts are filled with one
neutral gray set apart from the sheet color, so the hues mean only
temperature and holes and dropped slugs still stand out. Outlines,
numbers, pending parts and selection keep their usual look, and the
drawing colors return when heat is off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
InputsSitOnTheSettingsTabAndBothTabsFitWithoutResizing failed once on CI
(windows-desktop, 0a2b1c64): the Settings tab's columns laid out about
84 px wider than the window had measured them, clipping the hole feed
box. The same test passed on the same runner image at 0f1e4893 and
9ea495ed, and never fails locally (alone, in the full suite, with four
xUnit threads, on hidden and visible desktops), so the only varying
input found is the other forms running on parallel test threads.
Run the class in its own non-parallel collection, and make a clipped
control's message list the tab sizes, column widths and each control's
bounds, preferred size and font, so a recurrence shows which column grew.
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>
A head-locked far-edge cut-off may be cut from either end, and the search
tries the nearer end first. The part cut just before it still aimed its exit
at the origin-side start, so a ring beside the far edge left from its bottom
and the rapid back up to the far-edge start crossed the ring just cut. N26-2EU
(four flange rings beside a scrap cut-off) planned UNVERIFIED with two rapid
crossings. The part now faces whichever start is nearer to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Cut simulator feature bullet predates the heat map, so readers of the
README had no way to learn the simulator estimates plate heat buildup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A click to select or find a part often nudged it by a pixel or two. A press
on a part now moves it only once the cursor travels 3 control pixels; the
part then catches up so the grab point stays under the cursor. A click that
never crosses the threshold records no undo entry and skips the cut-off
regeneration.
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>
A group fill dropped every copy that hit a clamp and left the room it
freed empty. The gaps are now filled with whole copies, through the
gap search the single-part fill already used.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The copy tool's Ctrl+F fills through FillGroup, which only dropped the
parts that hit a clamp. A single part now fills through FillItem, so it
also takes the gaps those drops leave (N26-2J7: 194 -> 195 parts).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sequence-method numbering note and the overlap benchmark's data source
named PEP without a reason; mentions that explain behavior caused by
PEP-converted data stay.
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 Simulator had grown a row per input and was crowding the
window. The slider now leads, with the time under it, then the transport
and four equal jump buttons spanning exactly the slider's track. Part,
drawing, motion and the heat view sit on a Status tab; the feeds,
pierce, heat input and etch choice move to a Settings tab, so the window
is shorter and the time stays visible while settings change.
The Acceleration picker is gone: the simulator always times with the
nest's machine (Nest > Machine), shown by name on the Settings tab, and
falls back to full speed when the nest has none. Calculate Cut Time's
remembered machine is left alone. The Avalonia simulator follows suit.
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>
Expand Spacing widened gaps between parts but left each part's strip to
the sheet edge at the plate's edge spacing, so past twice that spacing
the edge strip became the thinnest web on the plate. A strip takes heat
from one cut while a web between parts takes it from two, so each edge
strip now holds at least half the spacing (never less than EdgeSpacing).
The pair search pushes edge parts inward and only accepts a spacing
whose strips hold. The pattern stretch sizes each axis's strips from
the smallest gap that axis widens, so stretching along the rows before
the rows open does not use up the edge room.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Server schema v20 (6b161d7a) adds a thicknessName column, so migrated
legacy records now report thicknessName: "" and the Server image smoke's
legacy-vs-migrated manifest comparison failed on every master push since.
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>
Agents could bring drawings in but only save .nest files, and could not
describe an irregular sheet. New tools: export_plate and export_drawing
(DXF/SVG/placement text, as File > Export), list_posts and post_nest
(behind the same pre-post verification gate as desktop and console, with
consent per call), and set_plate_outline (as the console's --outline).
The shipped posts now copy to Posts/ beside the server on build and publish.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
save_nest rebuilt the nest without the loaded nest's machine, common-line
usage and minimum remnant size, and re-adding plates reset their support
bed. Building the nest moves to NestSession.Snapshot, which keeps them, so
posting can share it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Operators read the part spacing beside the thickness as the thickness.
Material and thickness now sit in a larger, shaded band under each page
title, part spacing moves away from it, and the thickness reads
"3/8 (0.375 in)" like the rest of the app.
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>