Commit Graph
344 Commits
Author SHA1 Message Date
ajandClaude Opus 5.5 cb97b58126 feat(desktop): move Remove Unused Drawings to the drawing list's menu
The drawings toolbar was getting crowded, and the command is a rare
once-per-job cleanup. Right-click the drawing list to run it; it keeps
its confirmation and undo. The menu now opens with no drawing selected,
offering only the whole-nest commands, and hides stray separators.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:40:00 -05:00
aj 0d21e71d24 feat(desktop): open the nest's material in Machine Configuration from the status bar
Right-clicking the status bar material offers Edit Nest... and Show in
Machine Configuration..., which opens the configuration with the nest
machine's thickness for its material selected (else the grade, the
material or the machine). A left click still edits the nest.
2026-11-26 15:17:09 -05:00
aj d69fc936e7 fix(desktop): stop the main window opening at its minimum size
With no saved size, Load applied the 0, 0 default, which Windows raised to
the window's minimum (588 x 381); the next normal close saved that minimum,
and from then on the window always opened at it. Before settings survived
updates (v0.7.0) every update started from the default, and the settings
migration then carried the saved minimum into user-settings.json.

Load now ignores a saved size that is empty or no larger than the minimum
and keeps the designer start, maximized, so existing settings recover.
Save keeps the restored bounds of a maximized or minimized window and never
saves the minimized state, as the Drawing Sets window already does.
2026-11-26 11:17:43 -05:00
aj f88b1b37fa fix(autonest): keep the server choice once the dialog closes
AutoNestForm read "Nest on the server" through nestOnServerBox.Visible,
which WinForms reports as false whenever the form is hidden or another tab
is selected. AutoNestCommand reads NestOnServer after ShowDialog returns,
so a checked box never sent the job to the server, and the choice was not
saved when the dialog closed on a tab other than Plates. Availability now
lives in its own field.

Fixes AutoNestFormPlateSourceTests.CurrentPlatesAreNeverNestedOnTheServer
on windows-desktop (Cross-platform tests run 45732432564).
2026-11-26 10:49:22 -05:00
ajandClaude Opus 5.5 ce594814c6 feat(autonest): choose new plates, current plates or both
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>
2026-11-25 19:56:58 -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 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 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 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 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 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
ajandClaude Opus 5.5 3108fdb64a fix(labels): etch labels in place on imported drawings and keep them out of drawings
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>
2026-11-22 18:56:57 -05:00
ajandClaude Sonnet 5.5 b227321aee feat(labels): etch the part number alone or with its bend groups
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>
2026-11-22 18:09:17 -05:00
ajandClaude Sonnet 5.5 2a59ffb951 feat(labels): etch the part number and bend groups in the label box
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>
2026-11-22 17:51:01 -05:00
ajandClaude Sonnet 5.5 6b37953be4 feat(cad-converter): find and show a part number label box
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>
2026-11-22 17:30:24 -05:00
ajandClaude Sonnet 5.5 b5069cca6f feat(bends): colour each bend line by its angle to the sheet grain
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>
2026-11-22 16:32:12 -05:00
ajandClaude Opus 5.5 c8ba250adc feat(cad-converter): separate a file that draws several parts
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>
2026-11-20 20:53:08 -05:00
ajandClaude Opus 5.5 0cf9f9d0bd feat(nesting): turn the status bar green when the search ends
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>
2026-11-20 17:01:13 -05:00
ajandClaude Opus 5.5 4be141b038 feat(release): pick a top layout while Make Nests nests
Each released nest's progress window offers the top-layout cards and
Use This Layout, as Auto Nest does: using one stops that nest's search
and goes on with it. A search that finishes with several layouts counts
down 5 seconds before going on with the engine's result; picking a card
stops the countdown and waits for Use This Layout or Discard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:31:07 -05:00
ajandClaude Opus 5.5 c9230af39e feat(release): nest after release on the machine's plate sizes
Make Nests with Nest after release ticked now nests what the MaterialLedger
stock cannot hold on the plate sizes the nest's machine lists for its
material, grade and thickness (Machine Configuration's Plate Sizes tab),
instead of the Nest Defaults sheet or a draft's saved options. The sizes
become the nest's plate-size options, converted to its units (standard
sizes are inches, custom ones the machine's units); a thickness listing
none keeps the previous behavior.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 19:31:07 -05:00
ajandClaude Opus 5.5 adb5400b97 feat(drawings): sort the Drawings tab by name, area, box size or remaining
A sort drop-down on the Drawings toolbar orders the list by Name,
Area, Bounding Box Size or Remaining Qty (largest first, ties by
name). The choice is saved as the DrawingSortOrder user setting.
Placing parts re-sorts a Remaining Qty list, rebuilding only when the
order or the hidden drawings change, which also keeps re-shown
drawings in sorted place under Hide Fully Nested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 22:55:30 -05:00
ajandClaude Opus 5.5 71b4c46dbe feat(view): grain arrow off the plate corner that turns the grain
With View > Show Bend Lines on, the plate shows its grain as a
double-headed arrow diagonally off its lower-left corner, at a fixed
screen size. Clicking it turns the grain a quarter turn (side to side or
front to back) as one undoable "Turn Grain" edit, for when the sheet's
grain runs the other way from the plate as entered. When Zoom to Fit
leaves too little margin the arrow stays inside the view's corner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 11:02:17 -05:00
ajandClaude Opus 5.5 bf412707f8 fix(view): flag bends that run with the grain, not across it
Bend lines should run perpendicular to the sheet's grain to avoid
cracking on the outside of the bend. The grain warning had it backwards:
it outlined parts whose bends were not parallel to the grain, so on a
60x120 sheet (grain side to side along X) it flagged the correctly
oriented parts and passed the ones bent with the grain.

It now outlines a part when any of its bends is more than 5 degrees off
perpendicular to the plate's grain, and the check is a tested helper.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:25:18 -05:00
ajandClaude Opus 5.5 101f5e16df test(windows): fix the two windows-desktop CI failures
The cut-off clearance change (cacfdcf5) drops a grid line within the cut
clearance of the tail separator. The dialog test's fixture used spacing 40
with parts occupying exactly 80, so the second line (80, beside the 80.5
separator) was dropped and the lone remaining line could not shift, which
is what the test asserts. Spacing 38 keeps two lines, so the shift and the
"less than the fixed grid" report are still exercised.

The overlap-menu test was renamed when Check Active Plate and Cancel Check
left the menu (c10abfe9), but the acceptance manifest still required the
old name, so the coverage check found zero cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 09:34:29 -05:00
ajandClaude Opus 5.5 c10abfe996 refactor(overlap): drop Check Active Plate and Cancel Check from the menu
The nest window rechecks the active plate automatically half a second after
each edit, so a manual run/cancel pair in View > Overlap Check is redundant.
With only Display left, its Off/Areas/Markers/Both items move up to sit
directly under Overlap Check. Auto Nest still runs its explicit check, and
undo/redo still cancel a running check internally.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 08:17:58 -05:00
aj fd15c13d88 test(library): ignore machine-dependent slow-timing reports in the grid check
DrawingLibraryGridFormTests.CheckAllPages_ShowsEveryDrawing_AndListsTheOnesThatFail
failed on the hosted windows-desktop runner (Cross-platform tests run 44221112563)
because one tile's paint took 1078 ms there and the form listed it as "Slow paint"
beside the expected missing revision. Slow-paint and slow-label-search reports are
wall-clock diagnostics, so the test now asserts only the real failures; a hung
label search is still reported as "Hangs: ..." and would fail it.
2026-11-17 21:31:39 -05:00
ajandClaude Opus 5.5 4f1779376b feat(drawing-library): confirm each add with a banner and list it at once
Adding from the Drawing Library now shows a slim green banner naming what
was added (or how many more, with the new required quantity). Each add or
In This Nest quantity edit raises NestChanged, so the main window lists the
drawing on its Drawings tab behind the dialog right away, brings that tab
forward and selects it, instead of waiting for the dialog to close.

The library form tests restore the WinForms synchronization context before
each add: DoEvents leaves a plain one behind, which sent the add's awaits to
the thread pool and created the banner's window there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 21:08:39 -05:00
ajandClaude Opus 5.5 587613ff89 feat(shapes): add angle, channel and rolled plate to the Shape Library
Each makes the flat blank of a part bent or rolled along its length,
sized with the bend allowance at the K-factor. Angle and channel bends
are saved on the drawing as 90 degree up bends and etched as an
imported DXF's up bends are. The preview draws each part's section
beside the blank, dimensioned with the formed sizes; a long part's
section is enlarged so it stays readable. K-factor is a plain number,
not a length, in the form.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:28:58 -05:00
ajandClaude Opus 5.5 970f38b6b5 test(desktop): run the server Auto Nest notice tests alone
ServerNestNotice.BringForward walks Application.OpenForms, which other STA test classes change while they run in parallel, so the notice test failed once with "Collection was modified". Put the class in the existing non-parallel collection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:50:21 -05:00
ajandClaude Fable 5.2 bb23024000 feat(fill): fill with a copied common-line group as whole joined groups
Ctrl+F while pasting one common-line group fills the area with the group's
single merged outline as one part, then turns each placed copy back into its
parts joined at the source kerf. The old pattern fill tiled the members as
loose parts, added lone parts and joined nothing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-16 20:43:59 -05:00
ajandClaude Opus 5.5 6b48a986fd feat(plate-view): scale the view with the control when it resizes
Opening the Cutting Inspection panel narrowed the plate view but kept its
scale, so a plate that fit was left hanging off the edge until the user
zoomed out. A resize now keeps the world point at the center in place and
scales the view by the change in the control's usable size (less the fit
border), taking the tighter of width and height, so a fitted plate stays
fitted. The scale is measured from the size and zoom when the user last
zoomed, so closing the panel restores exactly the zoom it took away; tiny or
minimized sizes keep the old recentering only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 07:23:32 -05:00
ajandClaude Opus 5.5 47b4e8e9a4 feat(shape-library): remember the last shape, quantity and inputs
The Shape Library opened on the first shape with preview defaults every
time, so repeat work meant retyping the same dimensions. It now reopens
on the shape last shown, with the last quantity, and each shape starts
from the values (and configuration) it was last left with.

The inputs are kept as JSON in a new ShapeLibraryInputs user setting.
Saved values that no longer read as their parameter's type are skipped,
and a set that no longer makes a shape falls back to the defaults, so a
changed shape definition cannot leave the dialog stuck on a bad input.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 07:14:51 -05:00
ajandClaude Fable 5.2 b96e0853b5 feat(auto-nest): offer the top layouts in the progress window with each sheet's free strip
The Auto Nest progress window lists up to three whole-job layouts as
cards, the engine's best first and then the best of each other family
(sheet count and free-strip direction). Every sheet shows the distance
from its parts to the right edge (vertical strips) or the top
(horizontal strips), dimensioned on the sheet. Any card can be used:
during the search it stops it, and a finished search with more than one
layout waits for the pick. The layout used is validated and bound like
the engine's own result.

Engines may report plans that lost to their best as
NestJobStage.PlanAlternative; Irregular, Default and the time-limited
solve do. Reporting never changes a layout.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 18:04:21 -05:00
ajandClaude Fable 5.2 888b639598 feat(auto-nest): show the sheet outline in the nest preview
The review and progress sheet strips drew every sheet as its bounding
rectangle. An outlined sheet now shows its real shape with obstacles
hatched, as the plate view does, and its utilization is measured on the
outline's material.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 14:24:40 -05:00
ajandClaude Opus 5.5 3e2e9c842a feat(drawing-library): export drawings as DXF, SVG or .nest
Export... saves the selected drawing's listed revision; Export Listed
Drawings writes every drawing on the page to a folder, numbering
names the batch already used and asking once before replacing files.
Files are written beside the target and moved into place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:08:03 -05:00
ajandClaude Fable 5.2 17c496795e feat(shape-library): give the preview's part and dimensions more room
The fitted drawing and its dimensions now keep 30 px from the preview's
border instead of 10, and at least 20 px from the info lines and note
chips. Linear dimensions sit 50 px off the part by default instead of 18,
and leader labels 30 px instead of 20.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 10:53:25 -05:00
ajandClaude Fable 5.2 c55187909d feat(storage): pick the nest server from a named saved list
Storage Mode and Tools > Options now share a server picker: a Saved
dropdown of every server this PC has used, shown as "Name — URL", with a
Name box for a note on what each one is for and a Forget button.

storage.json keeps the list as `servers`; setting a server adds or
renames its entry, and an existing install lists its current server
unnamed on first load.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 10:06:55 -05:00
ajandClaude Fable 5.2 8a1babbfb5 fix(shape-library): keep dimensions in place on the part when zooming
The dimension line gap, leader clearance and shoulder, and a dragged
standoff were fixed screen pixels, so zooming moved them relative to the
part. They now scale with the zoom, measured from the fitted view.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 10:00:48 -05:00
ajandClaude Fable 5.2 536f7f7fd7 feat(shapes): keep diameter and radius leaders aimed at the circle center
Dragging a Shape Library leader on a bolt circle, hole or corner arc now
moves its arrow round the curve so the line stays radial. The flange's
bolt circle is drawn dashed in teal instead of dotted orange, which read
as a solid dimension line.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-14 09:59:10 -05:00
ajandClaude Fable 5.2 bc0136e3f7 refactor(core): move cut-offs into OpenNest.CutOffs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 19:42:45 -05:00
ajandClaude Fable 5.2 c8e899c493 refactor(core): move common lines into OpenNest.CommonLines
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 19:40:26 -05:00
ajandClaude Fable 5.2 cd5a400a22 refactor(core): move clamps into OpenNest.Clamps
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 19:38:20 -05:00
ajandClaude Fable 5.2 b77b3b7a33 refactor(core): swap an immutable part palette instead of mutating Drawing statics
Drawing.PartColors (a public array aliasing the active scheme's), Drawing.UseGoldenAngleColors and a non-atomic colour counter were process-global display state. PartPalette now holds a copy of the colours and the golden-angle flag; PartColorPalette.Current/Use swap it as a whole, Drawing.GetPartColor/GetNextColor read it, and the counter increments atomically. Colours shown are unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 19:20:22 -05:00
ajandClaude Opus 5.5 c8e1b97786 fix(ui): sign new nests with Made By instead of on viewing Nest Info
Nest Info filled a blank Made By with the current user every time it
opened, so pressing OK on an existing nest's info (from a tab or Saved
Nests) signed someone else's nest. The author is now stamped once when a
nest is made (File > New, drawing set Make Nests, BOM import), and Nest
Info shows the stored value as is, leaving a blank one blank.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 18:21:22 -05:00
ajandClaude Opus 5.5 b9fc618a50 feat(library): filter the drawing library by thickness, size, holes, date and customer
Finding a part on the nest server meant scrolling 40k drawings: the library
could only match an exact thickness or customer and knew nothing about a
drawing's size or holes. The library browser gets a Filter dialog with
inclusive ranges, and the query API takes them.

The server never parses packages and stays off IO, so the server worker now
measures each package beside its nest jobs (bounding sides, net area, closed
cutouts inside the outline) and stores the summary keyed by package hash
(schema v19). Identical geometry is measured once, an unreadable package is
recorded once instead of retried forever, and size or hole limits match only
measured drawings. Thickness ranges compare in inches across units and keep
the library's rule that a drawing saved without a thickness suits any.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 16:47:51 -05:00