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>
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>
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>
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>
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>
The Cutting Parameters dialog had grown taller than many screens. It now
puts the leads in a column of their own beside Tabs, Cutouts, Marks and
Pierce (about 780 x 580 instead of 410 x 985). The Place Lead-in side
panel and Machine Configuration keep the single stacked column. The tab
size range is one "Narrow side from ... to ..." row, with its details in
tooltips.
Since e1ccd692 every tabbed part counts as steady, but "Tab alone holds
parts up to" (TabHeldMaxLength, default 6) still picked short parts' tab
points from the center-of-gravity line and treated every tab as equally
steady in the last-resort entry fallback. The setting is removed: every
part the support grid cannot hold level is tabbed and held by its tab,
however long it is. Settings and nests saved with the old value read
unchanged and ignore it.
The problem-nest corpus (entries, every nest) plans identically to master.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LabelBoxFinder scored a maximal rectangle by how many label heights fit across
it, so a long, thin strip (the gap between a hole and a slanted edge) beat a
roomier pocket, and centering put the box at the strip's narrowest point.
Each orientation now finds the widest margin the label can have on every side
beyond the clearance, by bisecting on the margin and asking only for
rectangles at least that thick, and centers the box in the rectangle that
gives it. A turn off the axes must give half again the margin plus half the
label height before it replaces horizontal or vertical text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CAD Converter view gets rulers along its left and bottom edges in drawing
units, with labeled ticks at 1, 2 or 5 times a power of ten and a cursor mark,
and grid lines on the ruler ticks. Zoom to fit keeps the part clear of the
rulers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Circle-circle intersection passed its containment test for internally
tangent circles while roundoff left r^2 - a^2 a hair below zero, so the
tangent point came back NaN. Material capture refused such parts as
"nonfinite program coordinates" and Plan Cutting fell back to a
best-effort plan: N26-2JJ's crescents (an inner arc tangent to the outer
one) failed whenever they were rotated 180 degrees, but only on the live
DWG geometry, since saving rounds the program and hides it.
Clamp r^2 - a^2 at zero. The externally tangent lead in
NativeContactRegressionTests is now refused on its contact rather than as
an incomplete check. The problem-nest corpus is identical to master.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Imported drawings are incremental programs, but PartLabels.AddTo appended
absolute points, so each stroke was read as a step from the last and the label
ran far off the sheet. It now writes steps from where the program stops
(ConvertMode.EndPosition).
On load, DrawingMarkRecovery took the etched label from applied part programs
back into the drawing as a lost mark, so it was etched again by every later
plan, labels off included. Drawings with a label box are now skipped.
Also load a labelMode number that names no mode as if it were absent, and show
such a mode as Off in the Cutting Parameters dropdown instead of throwing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The etched label text is made at capture from the drawing's name, label box,
bends and source offset and the plate's grain, but the freshness record did
not include them, so Apply could etch an outdated label. When the confirmed
settings etch labels, capture now records them and Apply returns Stale if any
changed; with labels off nothing new is compared.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the on/off CuttingParameters.EtchPartLabels with a PartLabelMode
(Off, PartNumber, PartNumberAndBendGroups), chosen from a dropdown in the
Cutting panel and kept per machine thickness. PartNumber etches only the
drawing name; the full mode keeps the 1234-AB label.
Settings saved with the old boolean still load: true reads as
PartNumberAndBendGroups and false or a missing key as Off, in the cutting
parameter DTO and the machine thickness config. The old key is never
written again. The plan fingerprint keeps the old full-label token and
adds one for the number-only mode.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Plan Cutting adds each part's label to the clean program it plans from
when CuttingParameters.EtchPartLabels is on (off by default, kept per
machine thickness like the other cutting options), so it is emitted as
scribe marks: shown, counted in cut time, posted through the etch path
and never part of nesting geometry.
The text is the drawing name plus its bend groups ("1234-AB"). A group
is the bend line's direction against the sheet grain in 15 degree steps
(BendGrain.Bucket), named by a fixed letter: A across the grain, B with
it, then C to L. A built-in single-stroke font (StrokeFont) draws it,
centered in the box and shrunk to fit down to half the box height.
Locked or unplanned parts, drawings without a box and common-line
members get no label. A plan-time warning for a label that cannot fit,
a letter beside each bend's etch dashes and a per-group list in the
reports are left for later.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add LabelBoxFinder (Core): erodes the cut material by an etch clearance,
cuts bands out around bend lines and breakoff scrap, then centers a
label-sized box in the roomiest empty rectangle over a few orientations
(axes, bend and edge directions). Placement is stored on
Drawing.LabelBox in the source frame, persisted in the .nest file and
carried through BuildDrawing/ApplyEdit; it never affects the program.
The CAD Converter gets a Label Box... button that finds the best spot,
draws it as a dashed rectangle, lets the user drag and resize it, and
warns when nothing fits. Etching the text is a later step.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Add Core BendGrain (across / with / other, 5 degree tolerance, 15 degree
buckets mod 180) and draw each bend line in the plate view by kind: yellow
across the grain, orange with it, blue otherwise. Replaces the whole-part
orange outline warning, which only said that some bend was off.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The plate Export dialog gains "SVG for laser software, e.g. LightBurn":
only cut and mark geometry (no plate outline, rapids, display-only
geometry or uncut tabs), each kind stroked in its own LightBurn palette
color so it lands on its own layer. The plain SVG export is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Auto Nest's banded variant fills the same box with the same part once per
remaining quantity, and each fill's tilted-remnant step triangulated and
tested the same spacing outlines at the same places: 98 s of a 271 s
profile of N26-2J9.
OutlineOverlapMemo keeps the verdict of SpacingOutline.Overlaps by the
exact coordinates of both perimeters, so a remembered answer is the one
the test would give and no layout can change. The block catalog owns one
memo per solve and passes it to its private fills; interactive fills pass
none and test every pair as before. It holds coordinates and verdicts
only, in two bounded generations.
N26-2J9 Auto Nest: 244 s to 179 s, the same plans and result.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Every Lattice fill searched the drawing's herringbone pairs again: a slide
of the reversed part onto a row of copies at 48 offsets for each of up to
32 rotations and both row axes, on one thread. The pairs depend on the
drawing's geometry and the spacing alone, so the search's result (each
pair's start offset and slide) is now kept beside the drawing's best fits
for that spacing, shared and dropped with them, and each fill rebuilds
only the parts, by the steps the search placed them with.
N26-2J9 Auto Nest: 621 s to 244 s, N26-2ER 43 s to 31 s, the same plans
and results.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
GetMaterialSector measured the contact point against every entity of a
boundary, twice per contact, with trigonometry for each arc. Each entity
now has a box no point within the incidence tolerance of it lies outside,
built once when the boundary is prepared; entities whose box misses the
point are skipped unmeasured. They are farther than the tolerance, so the
nearest entity, the off-boundary verdict and the ambiguity check are
unchanged, and every slide distance is the same.
N26-2J9 Auto Nest: 724 s to 621 s, the same plans and result.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Some jobs get better with more sheets of less material, so a sheet count
alone would pass a regression. An "auto-nest:" line may now end with
"cost N" (the job cost, rounded up to a whole unit); with it the cost
decides: more than 0.5 over fails whatever the sheet count, less is
reported with the line to record. Every run prints each nest's cost.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Irregular picks each sheet's stock by look-ahead cost, which favors the
densest sheet, and a sheet of small parts packs densest. On a job mixing
long bars with small parts it spent the first sheets on the small parts
and left the bars six to a small sheet: 12 sheets on a real job, so
Default kept Rectangles' 7-sheet box layout (55,594 net).
Right after the strategy variants, Irregular now decodes them again with
the large types ranked first on every sheet (the frontier packer's group
ranks), so the small parts take the large parts' gaps. Types split as
Rectangles splits them, at drops in minimum box area to half or less,
the three widest tried; a split that priority already orders is skipped.
The pass runs on a work meter of its own and prepares no Lattice blocks
(the catalog is frozen), so the grouped and banded variants after it run
as without it and a job it does not improve keeps its layout. That job
now reports 8 sheets at 54,144 about 100 s into the solve and ends at
53,828.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add 60x96 to the standard plate-size catalog and to every thickness of
the shipped Generic Laser machine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Irregular overran DeadlineNestingEngine's 30 s limit by up to 50x in the
ML flag-sweep pilot (1,537 s on a 450-per-sheet part). Stack samples put
every second of the overrun in BlockCatalog.Rectangles: after a sheet fill
places a Lattice block of hundreds of detailed parts, the next block
preparation builds the free region one Clipper difference per part and
then sorts out every maximal rectangle with a quadratic dominance pass,
and neither checked the token. It shows only once best fits are cached
(a warm app, worker or sweep process), which is when the fill gets there
within the limit.
MaximalRectangles.InRegion now takes a token and a `largest` count: it
stops dominance checks past that rank, keeping every result tied in area
with the last, so its results are exactly the full search's down to that
area and Rectangles' top two are unchanged. The free region checks the
token per part. Layouts do not change; the reproducing job's whole solve
now takes 34 s instead of over 1,000.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The duplicate scan showed the CAD Converter's breakoff and tabbed-cutout
features, and several IO readers, as copy-and-paste pairs, so a fix to
one feature could miss its twin. Each pair now shares one helper with no
change in behavior:
- CAD Converter pick modes go through one toggle, turning the other modes
off in the same order as before (the view's cursor follows the last one
set); index guards, nearest-pick and keep-tabs tests are shared helpers.
- EntityView pick clicks, entity and tab-handle hit tests, and tab-handle
and entry-mark drawing are shared by both features.
- IO: both polyline converters build one line chain; NestFormat's lenient
converters share one TryNumber; NestReader reads breakoffs and tabbed
cutouts through one loop with the same warnings.
The edit and tab-drag handlers stay separate: their types share no
interface, and the tab-drag guard deliberately differs. The Server's own
TryNumber copy stays, since Server may not reference IO. The WinForms
suite (1062) and IO.Tests pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Roslyn Bridge's duplicate scan found helpers copied verbatim between
projects, so a fix to one copy could silently miss the other. Each copy
now calls a single implementation with the same body:
- boundary nearest point: ClipperBridge.NearestBoundaryPoint (ErodedPierce,
ScrapPierceSearch)
- nesting profile of a part: NestLayoutCheck.Profile (CommonLinePair)
- part label points: PartLabels in OpenNest.Desktop (WinForms LayoutPart)
- copied common-line groups: CommonLineGroup.AmongParts (ActionClone,
PlaceTool)
- shared saved cutting parameters: CuttingParametersSerializer.SharedBy
(MCP, Console)
- bounding box of boxes: generic BoundingBox.GetBoundingBox<T> (rectangle
packing items)
- box proximity: Clearance.BoxesWithin (Expander)
Behavior is unchanged: every moved body is identical to the copies it
replaces, so the fill change in Expander and rectangle packing skips the
problem-nest corpus. Core, IO, Desktop and Engine suites and the label,
clone and common-line WinForms tests pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fill placed 30 J-shaped bars (30 x 7.5, 0.3 spacing) on a 48 x 96 sheet where
33 fit by hand. With pairs settled tight (07f30c12), two columns leave a 30.2"
strip, but the grid topped its last column up with single halves of pairs
and took that strip. The work that reached 33 was done on 2026-11-09 and left
uncommitted; this ports it onto master.
- PairFiller also tiles each pair grid with whole pairs only (FillLinear
PartialCopies = false), after the others, and refills the strip it leaves;
that grid wins only by placing more parts. Only fills without a quantity
try it: in Auto Nest's capped fills it ended N26-2ER's sheet at 103.83
instead of 103.08. The cutout lattice turns it off, since it crops its fill.
- GridEndInserter completes a strip's densest pair grid: it moves the grid
to each corner, slides copies of its parts in from the open sides and fills
the strip beyond. The J-bar strip takes three pairs stood on end, one more
bar beside them and a pair underneath: 33 parts, as laid out by hand.
Corpus: the J-bar fill places 33 (baseline 30), N26-29X keeps 136, and
every auto-nest nest keeps its saved layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sheet-by-sheet look-ahead cost picks the densest sheet, and a sheet of
small parts packs densest. On a braze casing mixing 35x57 to 65x89
plates with 5x28 angles and 9x4 tabs, sheet 1 took 109 small parts and
the plates followed one or two to a sheet with empty strips beside
them: 28 sheets, 220,032 sq in.
Rectangles now also runs the job large parts first, splitting types at
the widest drops in box area: the large types nest alone, each of their
sheets is repacked with every waiting small part (keeping all its large
parts), and leftovers get new sheets. The cheapest whole job wins; ties
keep the cost-first run. The braze casing takes 27 sheets and 203,616
sq in, every sheet but the last a plate with small parts in its gaps.
Problem-nest corpus (auto-nest): all saved layouts unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A braze-casing angle whose 0.98" curve was exported as 199 lines of
0.005" made a single Fill of 33 copies take 8.6 minutes, and Auto Nest's
Irregular engine never finished its first plate in 15 minutes: it
proposes such fills as Lattice blocks.
Two causes. Shape.JoinOffsetLines tested convexity with an unnormalized
cross product, so shallow concave turns between tiny lines fell under
the epsilon, the nearly parallel offsets missed each other, and the
fallback arc swept the long way round: a near circle per joint, 414
entities in the spacing outline. A non-convex turn now gets a straight
bridge, as concave corners already do.
Spacing outlines with a dense run of tiny entities are also thinned to
Douglas-Peucker chords on an offset padded by 0.0015, so every chord
stays outside the true spacing outline: clearance can only grow, by at
most 0.003 beside the run, and validation still reads true geometry.
The angle's outline is now 21 entities; the Fill takes 69 s with no
overlaps, and Irregular finishes the whole job (24 sheets in under 5
minutes, 22 by a 15-minute limit, against 28).
Problem-nest corpus (auto-nest, fill): all layouts and counts unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The corpus nests' comments were single long paragraphs that were hard to
scan in the comment box; they were rewritten on the server as Setup /
Problem / Fix sections. Describe that layout so new nests follow it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A part a single tab could hold level kept its outside entry to the points
where the tab steadied it, so the head detoured to them and often left the
part back over itself. Tabs hold most parts wherever they land, a part whose
tab does not is still tabbed and avoided once cut, and the detour costs
every part. Every support-tabbed perimeter now offers each entry clear of
inside corners (plus its best tab point), ranked toward the next cut like an
untabbed part's. Only when none of those fits a lead-in does the search fall
back to every entry, steadiest first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Long holed strips on a support grid were entered mid-length, and those
resting on a line of contacts beside their center of gravity on the far
side, so the head left back over the strip. Four causes:
- A support tab that cannot hold a part level still led its entries with
the steadiest point. No such entry steadies the part enough to be worth
a detour, so every entry clear of inside corners now ranks toward the
next cut, as for an untabbed part. The part is still tabbed and still
avoided once cut.
- A next part level with this one's center faced the bottom by rounding.
A level target now faces neither side on that axis.
- The tab-retention check measured a lead-in against the start tangent,
so a straight in-line corner lead-in on a tabbed outside, which runs
back off the part while the gap lies along the other edge, was refused
at every corner. A part's only open cut now measures toward its gap.
Cutouts cut in pieces keep the old rule.
- Travel measured from before the part, not from its cutouts.
A holed part now tries first the outside entry where the straight line
from its cutouts to the next part's leaves it: the shortest way between
them. The search and contour recovery both lead with it; every check
still applies.
The problem-nest corpus ranks no plate below its baseline, and none at
80% of its budget; five ConstraintConflict plates now plan BestEffort.
Five planning fingerprints change, all still Ready: rapid travel drops
14-17% on four and rises 0.5% on mixed-irregular. A kept-order replan
after a cut-off segment may now find a shorter route than the plan, so
that test checks the route is no longer rather than identical.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Picking every piece of a contour one click at a time is slow. Select
Chain grows the selection through every line and arc joined end to end
(at the shape-building chain tolerance), so a closed loop, and anything
branching off it, is selected whole.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Options is now a sidebar of pages (General, Nesting & Cutting, Fill
Strategies, Nest Server, MaterialLedger, Updates), each with a heading,
a summary and hints under its fields; the window is resizable and
reopens on the last page used.
Nest Server lists the saved servers in an editable grid (add in the blank
last row, remove any but the active one) with an Active server dropdown.
The list saves with the dialog's Save after every row is checked, so a
bad address saves nothing and keeps the dialog open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The mirror pass replaced an arc with its mirror image whenever the image
landed within the fit tolerance of the arc's endpoints, leaving gaps of up
to that tolerance; it now only lends its radius to a refit through the
arc's own endpoints, and only when that keeps the arc's end tangents.
Arc fitting fell back to tangent-free fits when the next arc could not
leave along the previous arc's end tangent, putting corners where the
drawing is smooth (two same-way arcs across an inflection). Chained arcs
now start exactly tangent, shortening the previous arc when that lets the
next one reach further, and an arc is kept only if it turns no more
sharply against its neighbors than the original polyline (plus 1 deg);
otherwise it is trimmed or its lines stay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Whole jobs placed by the fill strategies could put parts on a clamp
keep-out in three ways:
- A best-fit pair left flush on a keep-out was compacted with the clamp
obstacles held at the part spacing, so it already read as inside that
spacing; the push ignores contacts that already overlap and carried
the pair through the clamp to the sheet edge. CompactPair now holds
clamps at zero spacing, as the settle does.
- The pack area was narrowed to a clamp-free remnant only after a fill
had placed parts. With nothing filled the leftovers were packed across
the whole sheet, clamps included. They now get the same remnant.
- A rail with zero clearance left placement no margin over the
validator's keep-out, whose outlines are rounded to a 0.0001 grid, so
a flush edge could read as inside the zone. Placement keep-outs now
grow by at least the spacing slack (0.0005). The expand-spacing walls
keep the exact clamp clearance (WallRectangles).
No tolerance or validator changed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Lattice and the two Remnant strategies packed only items that were never
filled, into one remnant, and dropped whatever a fill left of its own
item. The fills see each earlier fill as one envelope, so a part's box
can still fit between the parts of the finished layout, and the one
remnant the pack tried is often a sliver that holds nothing.
After the pack-first or pairs-first step and before the settle, every
item with demand left is now offered to the remnants of the whole work
area through LeftoverPacker, clamp keep-outs counted as occupied. The
earlier steps are untouched, so a nest with nothing unplaced comes out
as before.
Three pinned nests gained parts and none lost one: mixed Fill 34 to 35,
mixed Horizontal Remnant 30 to 35, learned-angle Horizontal Remnant 24
to 26.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Linear fill finds how far a pattern's next copy must sit by sliding each
part of the copy against the parts of the pattern, and it skipped every
pair whose bounding boxes do not overlap across the slide. A part whose
box lies beside the copy's path by less than the part spacing was never
measured, so the copy could pass it closer than the spacing: columns of
a gusset pair tiled 0.04 apart (the pattern Irregular's band search had
to reject), and an Extents column pair of D-shapes 0.01 apart.
The copy distance now skips a pair only when the boxes are beside each
other by the spacing or more. A part beside the path moves the copy only
when it needs more than Epsilon beyond what the parts in the path need,
so a corner-to-corner contact at the same distance leaves layouts as
they were.
The Strip strategy's mixed pinned nest then filled a valid, denser row
of D-shapes and lost its single rectangle: the pack step tried only the
first remnant, now a sliver along the top edge. Strip offers its
leftovers to the remnants in order instead (LeftoverPacker), packs the
first that takes a part, finds the remnants again and stops when none
takes one. The nest holds 35 parts again, and the whole-plate
characterization nests are now validated as they are solved.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A file such as a sheet of ornaments imported as one drawing, with every
part but the largest treated as a cutout. PartBodies (Core) now finds the
separate parts by contour nesting, and the CAD Converter offers a
Separate (N) button plus Separate This Part / Separate All Parts in the
entity menu. Each part keeps its entity IDs, so roles, exclusions,
breakoffs, tabbed cutouts and dimensions follow it; separation is refused
when a breakoff or tabbed cutout spans parts.
SVG import keeps element titles as labeled regions, which name the
separated parts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A Vertical or Horizontal Remnant fill of a quantity of round parts left
a deep remnant on the table: twelve 8 in. flanges took 25.6 in. of a
60 in. sheet's length and stopped 16 in. short of its far edge, where
two full-height columns need 15.1 in. Three causes:
- The low-quantity shrink scaled both sides, so stripes could not span
the side the remnant runs along. It now narrows only the trimmed axis.
- The ranking compared untrimmed counts, so the full-sheet layout always
beat the full-height columns and was then trimmed. It now ranks the
layout as it will be kept.
- The trim kept overlapping bounding boxes as interlocked pairs, which
staggered discs always are. Discs are now trimmed one by one.
The circle strategy also offers each stagger mode's stripes in both
directions to a remnant ranking. Every change is limited to remnant
fills of round parts: applied to other shapes, the trimmed ranking let
a tilted bar layout block the rest of a nest, and the disc trim moved
the Irregular engine's sample layout, so every other fill is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An Auto Nest problem nest recorded only a sheet count and where its last
sheet ends, so seeing the layout behind those numbers, or telling
whether a change still made it, meant nesting the old code again.
With OPENNEST_PROBLEM_NESTS_RECORD=1 the auto-nest area now saves each
nest whose layout is valid, complete and no worse than its baseline back
to the corpus server as a new revision: its plates become the layout
Auto Nest just made, on the sheets the job nested on, and its line ends
in "layout saved". A nest without a baseline gets its first one that
way. What was on the plates before stays in the earlier revisions.
- A layout inside the tolerance past the recorded end keeps that end,
so repeated recording cannot let the baseline creep.
- A nest that also guards planning or fill is not saved (those tests
read its plates), nor a layout leaving one of the nest's sheet sizes
unused (the job takes its sizes from the plates).
- A nest whose saved layout and line already match adds no revision.
Without the variable nothing is written; a run reports for each saved
layout whether Auto Nest still makes exactly it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On a saved nest of the README sample parts (130 copies, 60 x 120, 0.3
spacing, bottom clamp rail) Auto Nest ended at 105.8 where a hand layout
of tidy bands ends at 103.1. Three things kept the banded fill from it:
- Lattice's first pattern for the 24 gussets set two columns 0.04 apart.
The band's certification rejected it and the band search stopped, so
the gussets had no band and filled the gaps as ragged columns. The
search now asks again just short of the rejected pattern
(BlockCatalog.RejectedBandLength).
- Building patterns is charged to the same work meter as the trials of
narrower and lower bands, and with the lower bands it spent the whole
budget, so the last types in the order never had a trial. Trials now
go round the types and may spend 25,000 work whatever the budget.
- A band taller than the height clear of the clamps lost members to
them. The first lower band is now asked for at that height and
searched like the full band; where such a band would stand whole in
place of one that loses members, the bands are searched a second time
with it there and the better sheet kept. A lower band no longer than
the full one stands first in its place, leaving a strip beside it.
That nest now ends at 103.1, the same parts built from the README DXFs
at 104.0 instead of 106.6, the help tutorial nest at 33.6 instead of
34.2; N26-2HH stays at 103.9 and the other benchmark jobs are unchanged.
Solves of these jobs take about a tenth longer.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A finished search waiting for a layout pick looked the same as one still
running, so it sat unnoticed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auto-update.md and the development build's release text named the old
Include development builds box. They now name Tools > Options > Updates,
list the four choices with when each checks, and say how the once-a-day
and once-a-week clock starts and that Check for Updates never waits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every green master push becomes a development build, six to thirty a
day, so a copy taking them showed "Update ready" several times a day.
Tools > Options replaces the Include development builds box with an
Updates choice: Stable releases only, Development builds at most once a
day, at most once a week, or Every development build.
The choice is stored as the existing UpdateIncludeDevBuilds plus a new
UpdateDevBuildInterval, so a copy with only the old box checked reads as
Every development build and nothing changes until someone picks, and an
older build still reads the channel. Saving Stable keeps the stored
interval. Both Options dialogs (WinForms and Avalonia) carry the choice,
so saving either never resets it.
On the daily and weekly choices the 30-minute background check waits
until the calendar day after (or seven days after) this copy first ran
its current version, recorded at startup in UpdateRunningVersion and
UpdateRunningSince however that version arrived. Local calendar days,
so a copy started a little earlier each morning still updates daily.
Help > Check for Updates... never waits. The rule lives in
OpenNest.Desktop (DevBuildSchedule) with tests on Linux; UpdaterService
only applies it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two tabbed-part tests from e4043a4d end with a pdftotext check, which
throws SkipException on hosts without poppler (the Linux CI runner). As
plain [Fact]s that skip was reported as a failure; [SkippableFact] matches
the other text-checking tests and still runs the PdfSharp path assertions
before the text check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>