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 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 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>
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>
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>
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>
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>
Plate > Calculate Cut Time and Nest > Calculate Cut Time ask for the
outside feed, rapid, pierce time, hole feed, acceleration machine and
etch choice (remembered in the settings both apps share, saved however
the dialog closes, as WinForms), then show the timing as the WinForms
Timing Information window.
Plate > Simulate Cutting and its toolbar button open the Cut Simulator:
play and pause at 1x to 250x, restart and end, part and cutout jumps,
move stepping with the arrow keys, scrubbing, and the time, part,
drawing and motion at the playhead, retimed as the feeds change and
following the shown plate. The plate view draws the cut trail, travel,
the torch and pierces, and mutes parts and cut-off segments the torch
has not reached. While it is open the nest is view-only, as WinForms:
only the plate view and its header stay live, Escape closes it and
Ctrl+Plus and Ctrl+Minus still zoom.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plate > Sheet Cut-Off and Trim/Extend Cut-Off (also toolbar buttons)
run the shared tools: a dashed preview of the line a click adds and a
cursor tag, Space turns the line, Tab switches full length or Trim and
Extend without moving focus. Select drags a cut-off with the lines that
meet it. A right click on a cut-off junction offers Swap Through-Cut,
taking the part menu's place only there.
Plate > Automatic Scrap Cutoffs and Nest > Automatic Scrap Cutoffs (All
Plates) open the dialog over the shared session: settings, measurements,
per-plate table, issues and a colored status, the active plate's
detached preview drawn as dashed lines, and Apply as one undo step that
keeps the head-lock choice for new cut-offs.
Rebuilding the plate list no longer passes through an empty selection,
so a tool is not ended when an edit changes the plate's part count.
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>
Boxes.py with a burn above 0 leaves out an outline's last corner, so
the curved BreadBox sides ended 0.14 mm open and Separate split their
slots and edges into stray parts. Import now closes a subpath of three
or more segments that ends within 0.5 mm of its start, and warns.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Separate gave no way to see what each part would take before
splitting the file. Preview Parts, joined to the front of the
Separate button, draws every entity in its part's color and labels
each part with the name it would get.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Boxes.py runs past each corner and straight back before turning. Merging
those overlapping lines dropped the point where the outline turned, so a
BreadBox's curved strips imported open and Separate counted their pieces
as parts. A straight segment that turns back along the previous one now
leaves only their net line; one that returns exactly to its start keeps
the line, as a slit cut there and back.
Text that import reads as a group's name is no longer reported as a
skipped element, so a Boxes.py sheet opens without the partial-import
message.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Bezier that ends where it starts, inside a subpath that draws anything
else, imported as a tiny circle and became a hole. Boxes.py draws one at
every inside corner when its burn is above 0, so a SlidingDrawer came in
with 248 fake holes. Import now drops such loops and warns, asking for
burn 0 since the burn also enlarges every part. A loop that is its
subpath's whole drawing still imports.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A group with no title that holds exactly one visible text child now
labels its geometry with that text, so Separate Parts names the pieces
of a Boxes.py sheet ("Top", "Wall 1"). Titles still take precedence,
and layer groups never use their text as a name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Interactive Fill on a plate with clamps took over five minutes on a
1240-part sheet. Every progress report certified all the parts again, and
the pair phase checked grids for overlaps whose count could not beat the
best so far.
- Fill the clamp-free strip first, then the whole work area with clamp
hits dropped; a tie keeps the strip layout.
- Certify a preview only when its layout changed, and cache each part's
material geometry for the certification.
- Resolve a whole-pair grid only when its outcome can change a decision,
and drop a candidate without sorting when none of its grids can beat
the count to beat. Layouts are unchanged.
Co-Authored-By: Claude Fable 5.2 <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>
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>
Raster took each rotation's extents from the spacing outline, whose
vertices Clipper rounds to a 0.0001 grid, while the layout check measures
the geometry itself with 0.00001 of slack. A turned part pushed to a
work-area edge could end up to 0.00005 past it, which rejected seven of
the 49 variants on the README mixed job.
Position selection is unchanged. A part whose geometry would end past the
work area is nudged inside it, and a rotation whose geometry does not fit
the sheet is not tried, so already valid layouts stay identical.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Where the whole parts table fits on the diagram's page, the diagram takes
the room left over and the table sits at the foot of the page. Longer
tables keep the 265 pt diagram and continue on later pages.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Set OPENNEST_NEST_LOG to a directory to write one JSON Lines file of
events and a text summary per Default solve: each candidate engine's
result, time and passes, and why the winning layout was chosen. It only
observes, so layouts are the same with it on or off.
Co-Authored-By: Claude Sonnet 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>
The safest-route fallback walks greedily and never revisits a part it
has cut, so a rapid that passes over a cut part gets a head raise even
where cutting two parts the other way round keeps the head down (N26-2DC
plate 2: 5 raises). After the walk, each raised rapid now tries cutting
its target before the earliest part crossed, and each crossed part just
before or after the target. Only the moved parts and their neighbors are
planned again; a change is kept only when the full replay breaks no more
checks and raises fewer times, so a route can only get safer. Kept part
orders are never changed. N26-2DC plate 2 drops to 1 raise and 2732.6 in
of rapids (was 2804.8).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Split each plate page's parts table into two side-by-side halves, so
twice as many drawings fit beside the diagram. Entries run left to
right, then down, keeping ID order across page breaks.
- Draw a diagram ID's white box only when it is needed: an ID clear
inside its part or a hole prints bare over the part's fill.
- Shorten part-card thumbnails so a page holds five card rows, and make
each row its own table so no stray card edges show at a page break.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
N26-2J9 (292 parts on seven stock sizes) needs about 200 s for Auto Nest
on a 4-core test machine, so it failed as Timeout under the shared 120 s
limit although it meets its baseline. An "auto-nest:" line can now say
"limit 300 s": the longer of that and the shared limit applies, so
OPENNEST_PROBLEM_NESTS_TIMEOUT can still raise every limit but never cuts
this one short. Recording a baseline keeps the entry.
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>
Default now runs Rectangles, Raster, Circles, then Irregular, so a stopped
or time-limited search holds an irregular plan within seconds. Ranking is
unchanged; Raster is last in tie-break order and wins only with a strictly
better score. The cutout pipeline tests keep their "ordinary solve cannot
fit the insert" precondition for Irregular only, since Raster nests in holes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>