Repository navigation
Weldments: trim and extend frame members to other members, planes, or faces - #5312
Conversation
7b92a1f to
7f12717
Compare
7f12717 to
b710785
Compare
b710785 to
8e8b5bc
Compare
9f4521a to
453713f
Compare
|
Not held any more. Next step: please run |
Resolve conflicts with pinned main d34d449 while preserving both histories. Take main's per-line document exports and add map_plane_ref on its own line. Retain general Trim/Extend beside main's mounting-plate command, feature, UI, clipboard plane remapping, icon requests and complete independent tests. Keep frame.trim separate from frame.multi_trim. Preserve both feature-walk fixture/golden blocks and the trim expression record's three zero coordinates. Pinned Rust formatting/parsing, scoped whitespace, fixture/golden order, separate command registration and test-declaration retention checks pass. No local Cargo, tests, build, app or native execution ran. Prior CI and evidence remain attributed to their recorded source commits, not this integrated tree. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
Move gap into its alphabetical position and remove the duplicate members entry at the end of the hostile parameter fixture. Main already lists members in its alphabetical position. This fixes the repository list check exposed after integrating main without changing covered keys, test assertions or behavior. Pinned rustfmt and scoped whitespace checks pass; the sorted list retains all keys exactly once. No local Cargo, compilation or tests ran. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
Merge pinned main e34d772 into the trim branch without rewriting either history. The merge is textually clean and retains current main's construction, frame, clipboard and application APIs. The two app-geometry failures are moved sites rather than new calculations. Migrate member_section's existing ledger entry to untrimmed_member_section; its body is main's exactly except the recursive helper name. Migrate paste's entry to reframe_wires; the extracted block is identical after its existing document and world-shift reference argument adaptations. Remove the stale eval_feature_kind entry. The ledger shrinks by one; no site is newly exempted. Source equality proofs, direct pinned rustfmt checks for all 41 PR Rust files, and whitespace checks pass. No assertions, expected values or manual source geometry change. App and startup sources match pinned main, so the App field integration failure seen in PR tangency-labs#3322 does not apply. No local Cargo, compilation, tests, app or native execution ran; hosted CI must verify this combined tree. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
|
Merged pinned current main I also diagnosed the two app-geometry failures. Both are moved inherited code: main's member_section body became untrimmed_member_section (only the recursive name differs), and main's inline paste block became reframe_wires (only the existing document/reference arguments differ). Source comparisons prove these equalities. I migrated the two existing ledger entries to their helper names and removed stale eval_feature_kind. The ledger shrinks by one; there are no added geometry exemptions or changed calculations/tests/goldens. Pinned rustfmt/source and whitespace checks pass. No local compilation, tests, app/native execution or new screenshots ran; hosted CI is pending. The requested full-window Trim/Extend-flow evidence remains pending, with the existing images retaining their historical labels. |
|
The default-change warning is comparing against an older main snapshot. I checked the actual merged main parent
The source at that main parent already contains The current-head Format and repository check passes, including the repaired app-geometry guard. The description records source-only local checks and preserves historical validation/capture provenance; fresh screenshots are still explicitly pending. |
|
@Karl-VonRichter You're right: the default-change warning compared against an older main. This change doesn't change a default, so "Changes a default: no" stands. I've re-run its checks on a fresh merge. One thing is still needed, though: your gusset plates PR, #8115, has merged since, and it touched the same files, so this now conflicts in git fetch https://github.com/tangency-labs/solidcraft.git main
git merge FETCH_HEAD
# resolve, then
git add -A && git commit --no-edit && git pushIt goes in once that's green. |
Merge pinned main ba2da2f after the maintainer identified conflicts with the landed gusset work. Keep main's gusset, continuous-member, clipboard, clone, rename, dialog and ribbon behavior. Retain both independent test additions, sorted op modules and documentation updates. Apply Trim's section adjustment after main's path-aware section lookup, leaving the ordinary evaluator and final member-identity pass intact. Preserve that member identity when Trim rebuilds a body so later gusset and plate attachments can identify it. Add an existing-module regression for a gusset attached after trimming and cached reopen, with analytic volume and unchanged-support checks. Direct pinned rustfmt passes for all 41 PR Rust files with their crate editions. Whitespace, both-parent test retention and constructor/source checks pass. Reversing only the declared Trim hooks reproduces main's complete evaluator; gusset and continuous-path implementations remain exact main source. No local Cargo, compilation, tests, app/native or WSL execution ran. The new regression is unexecuted locally and fresh hosted CI must verify this merged tree. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
|
Resolved the conflicts with landed gussets and merged pinned main Main now also includes the continuous-member route. Its complete ordinary evaluator, final identity pass, gusset implementation and path implementation are retained. The Trim section hook reads main's actual section before applying trim ends. The integration exposed one necessary metadata fix: rebuilding a trimmed body discarded the member-line identity used by gusset/plate attachments. Trim now preserves it. An added existing-module regression checks attaching a gusset after trimming and cached reopen, with analytic volumes and unchanged support geometry. It is unrun locally. Pinned rustfmt for all 41 PR Rust files, whitespace, source-retention and initializer checks pass. Reversing only the declared Trim hooks reproduces main's full evaluator source. No local Cargo, compilation, tests, app/native or WSL execution ran. Fresh hosted CI is pending; the requested uncropped Trim/Extend-flow screenshots remain pending for native evidence and Nate's review. The description now opens with the user-visible change and #4003, and separates current status from historical evidence. |
Remove the unreachable older frame_member match arm introduced by combining Trim's recipe support with main's continuous-member translator. Retain main's complete frame_member translation and the separate frame_trim arm unchanged. This resolves the Native Linux Clippy unreachable-pattern error without a lint allowance, geometry change or test expectation change. Pinned rustfmt, whitespace and unique recipe-arm source checks pass. Removing only the Trim arm reproduces the entire pinned-main recipe source exactly. No local Cargo, compilation, tests or app/native execution ran; hosted CI must verify this follow-up. Existing validation stays scoped to its original heads. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
|
Fixed the current Native Linux Clippy failure in b8262ad. The merge had retained two The new defaults warning misreads the integrated main pin
|
Use the ui.frame_trim.to message for the target selection field and add its translations in the eight locales already covered by the Trim dialog. This fixes both hosted label-enforcement regressions without changing their tests, geometry, command policies or existing catalog entries. Pinned rustfmt, whitespace, duplicate-id and exact source/catalog delta checks pass. No local Cargo, compilation, tests or app/native execution ran; hosted CI must verify this follow-up. Earlier Trim geometry and gusset-cache passes remain evidence for b8262ad only, whose overall job failed on these labels. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
|
Fixed the two Native Linux regressions in 6b0d944. Both enforcement tests reported the same missing The prior b8262ad job explicitly passed Pinned rustfmt, whitespace, duplicate-key/message-id and exact source-delta checks pass. No local Cargo, compilation, tests or native execution ran. Fresh hosted CI must verify this label-only follow-up; the watch remains active. |
aa6c753
…ency-labs#5312 tangency-labs#5312 (weldment trim and extend) added two remap_plane calls in the FrameTrim and FrameGusset arms with the old `occurrences, doc` arguments; this PR changes remap_plane to take `placements`, so the merge queue could not compile the two together (E0061). As bherbruck asked on the PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NKk9zDMByL6k24pse8ToBg
…e replace ours Main now has its own Frame Trim (tangency-labs#5312), attached gussets (tangency-labs#8115) and mounting and end plates (tangency-labs#7485), so our Trim and Gusset are dropped and theirs are used; our Weld, member exports (STEP, DXF, NC1), cut list, profile library and placement points, personal library and joined groups stay. The cut list's Plates lists upstream's gussets and mounting plates. Main's split of a member's section from its path (continuous members) takes our per-group placement, and its preferences in one file per page take our two library preferences (unpaged). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ut list (#4003) Each build of frame.member now records, for every body it makes (pieces too), its two ends [start, end] along its line as ModelState::member_ends(feature): a plane cut (mitre, butt, angled butt, set back by the weld gap), coped, fitted or square. The cut planes are the build's own exact data; bodies, names and face names are unchanged. The record goes in the saved model cache with the rest of the state, written only for states that have one. Trim/Extend (#5312) is a feature of its own and leaves this record as the build made it: a trimmed member's new end planes stay on its member record (ModelState::frame_member). Main's member records and path routing are kept as they are. Tests work their expected values out by hand from the sketch: mitre bisectors at 45 degrees with the corner g/2 behind each plane, butt planes at the tubes' faces, coped, fitted and square ends, an angled butt at 20 degrees, a saved model keeping the record, and a trim that leaves it and puts its plane on the member record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Sponsored-by: ABASTRAN (https://abastran.com)
Trim/Extend adjusts the ends of structural tubes and bars so they meet another member, plane or planar face. People designing welded frames can add a weld gap while keeping member names and references.
Addresses frames and weldments #4003.
Changes a default: no
Change
Use Weldments > Modify > Trim/Extend to choose members, targets, the start/end/nearest end, and an optional gap. Member and face targets follow edits. Trimmed members retain their names, face references and attachment identity through undo, copying and reopening. End Caps read the trimmed length.
General Trim accepts unjointed stock: Corner None, no corner overrides, Fit Ends off and Coped off. Modified members are explicitly refused as member sources or targets, so Trim cannot discard their existing cuts. Their planar faces remain valid plane targets. Curved/continuous member evaluation and its existing limits stay owned by main; this integration adds no new general-trim support for those paths.
Main's
frame.multi_trimstays separate from generalframe.trim. Main's Auto/corner behavior, point pairs, profile anchors, per-member rotation, gussets, mounting plates and continuous paths remain available.Current integration
Review head
6b0d944b0cc55755c8cca931ca492a40383b1b87, tree61a04111e9ec1344dabcdabcb5548bc7f4046469.Merged pinned main
ba2da2fd4da8bf07f7c311e2c814ce46e4c474bbat the maintainer's request, preserving both histories.Resolved the gusset integration conflicts while retaining main's evaluator, continuous paths and independent tests.
Trim retains member-line identity so later gusset and plate attachments survive cached reopening.
The follow-ups remove a duplicate recipe arm and translate the Trim target label in eight locales.
Validation
Hosted CI is complete and green on this exact head: 53 checks passed; 18 skipped.
Native Linux Clippy/tests, SolidCore checks/tests, shared builds, CLI, usage-stat-free build, Fillet rig and required
cipassed.Skipped jobs provide no execution evidence.
Native Linux test log:
the repository classifier reports 22,810 ran, 22,791 passed, 19 known failing; one listed test did not run here; no regression.
These accepted known failures are not passing tests.
Test change: the added gusset-identity regression and retained Trim regressions all passed on this head:
Both unchanged label-enforcement tests also passed:
every_selection_field_label_is_translatedandevery_ui_label_literal_reaches_an_english_catalog_entry.The prior missing-label regressions are fixed. Existing geometry assertions and both sides' test groups remain.
Local checks were source-only: pinned rustfmt, whitespace/markers, test retention, main-evaluator reversal and constructor/startup audits.
No local Cargo, compilation, tests, preflight, app/native or WSL execution ran.
Screenshots and review
The maintainer lifted the earlier hold.
Fresh uncropped 1280x720 captures of the selected Trim/Extend dialog and result, plus a small-window check, remain pending.
Historical screenshots below retain their original provenance and do not satisfy those current UI captures.
Nate's UI review remains separate. The source is mergeable, with zero unresolved threads at the validation read.
No current-head human approval or merge is claimed.
Earlier repair details (superseded validation states)
These notes describe earlier stages. The current head and completed hosted results are above.
Head
6b0d944b0cc55755c8cca931ca492a40383b1b87, tree61a04111e9ec1344dabcdabcb5548bc7f4046469.Merged upstream pin
ba2da2fd4da8bf07f7c311e2c814ce46e4c474bbin response to the maintainer's conflict request, preserving both histories.Resolved all 15 conflicting files. Gusset/Trim clipboard, body rename, component clone, dialog, ribbon and documentation cases are retained together. Both sides' test additions remain, and
frame_gusset,frame_member,frame_trimmodules are sorted. Main's current startup/App initializers and lockfiles are unchanged.The ordinary evaluator, its continuous-path dispatch and final member-identity pass remain intact. The section hook takes main's actual section first, then applies an existing Trim adjustment. Reversing only the declared Trim hooks reproduces main's entire evaluator source exactly. Main's gusset and path implementations are byte-identical to the pin.
Trim now copies the physical member-line identity when rebuilding a body. This lets later gusset and plate attachments identify the same member, including after cached reopen. No kernel/ops algorithm changes were needed for this repair.
Validation
Local source checks pass: pinned rustfmt 1.99.1 for all 41 PR Rust files, whitespace/marker checks, both-parent function/test retention, exact main-evaluator reversal, unchanged gusset/path modules, and constructor/startup checks. The expression golden still includes the three zero axis-origin expressions. Prior locale, attribution and pending-format data remain.
Test change: retain both independent main and Trim test groups. Add
a_trimmed_member_keeps_its_gusset_identity_after_cached_reopenin the existing engine frame file. It trims a 40x40 bar to 200 mm, attaches an 80x100x6 triangular gusset before/after cached reopen, and checks member identity and unchanged support geometry. This regression explicitly passed in hosted Native Linux tests onb8262ad489d556c8a10ff2621444e39afb8a4e93, along with the pair-only, modified-stock refusal and rotated-group/reopen cases. That job still failed overall on the two missing-label enforcement tests described below. No local run or current-head pass is inferred from those earlier events. Main's newer continuous-command/schema expectations are retained; existing Trim geometry assertions are unchanged.Native Linux Clippy on merge head
59591486f8c9f4e90740c6bb2c7d2499ad17b2a5found an unreachableframe_memberrecipe match arm. Follow-upb8262ad489d556c8a10ff2621444e39afb8a4e93removes the older duplicate and retains main's richer translator plus the separate Trim branch. Removing only the Trim branch now reproduces the entire pinned-main recipe source. Pinned rustfmt, whitespace and unique-arm source checks pass; tests and geometry are unchanged by this one-file follow-up.The next Native Linux run on
b8262ad4identified two regressions with one cause:every_selection_field_label_is_translatedandevery_ui_label_literal_reaches_an_english_catalog_entryboth reported the untranslatedTrim totarget label. Current follow-up6b0d944b0cc55755c8cca931ca492a40383b1b87usesui.frame_trim.toand adds its translations in the eight locales already covered by the dialog. All existing translations, tests and geometry are unchanged. Direct rustfmt, whitespace, duplicate-key and message-id collision audits pass. The label-enforcement tests themselves are unchanged.No local Cargo, compilation, tests, preflight, app/native or WSL execution ran. Fresh hosted CI is pending on this head. The previous
dabe13e0quick compile, repository checks and Fillet rig passed, but its Native Linux/heavy jobs were skipped. Those results do not validate the new tree or regression.Historical source, validation and media provenance (their stated heads only)
The current integration and validation are above. Head, hold and readiness statements in the retained text describe earlier snapshots.
Weldments can trim or extend frame members to other members, planes and planar faces while keeping member names and references.
Changes a default: no
Current CI repair and main integration
Current head:
dabe13e0542169f246ea94641997f3a5c6a04a6c; tree:cd6f07ff4adfef4ba6bc6dabad87e4f1daff8aee.Merged pinned main
e34d772cb63ba509d7b957f42d28f1e419ce8d6dwith no textual conflicts, retaining both histories and their authorship.The app and startup sources match main. The missing
Appinitializer fields that blocked #3322 do not apply here.The two app-geometry errors were existing main calculations moved into helpers by this PR.
untrimmed_member_sectionhas main'smember_sectionbody exactly, with only its recursive name changed.reframe_wireshas main's inline paste block exactly after passing the existing document and world-shift references as arguments.Their existing ledger entries now follow the helper names. The stale
eval_feature_kindentry is removed, so the ledger decreases from 1510 to 1509 sites; no new calculation is exempted.No source geometry, test assertion, expected value or golden changes in this repair.
Source equality proofs, direct pinned Rust 1.99.1 formatting/parsing for all 41 PR Rust files, and whitespace checks passed.
No local Cargo, compilation, tests, preflight, app/native execution or new captures ran.
Hosted CI on
dabe13e0542169f246ea94641997f3a5c6a04a6cis now complete and green. Format and repository checks, including app-geometry, the quick compile, Fillet rig and the requiredciaggregate passed.The Native Linux test and heavy build jobs were skipped on this head; green required checks do not establish execution of the new trim regressions or fresh native evidence. The existing source-only and historical test provenance below remains unchanged.
All earlier runtime results and screenshots below keep their stated source provenance.
The maintainer lifted the hold; the requested uncropped Trim/Extend-flow screenshots and human UI review remain pending. This CI repair does not claim new native evidence.
Test change: retain the corrected
frame_trimexpression golden, including the fixture's three zero axis-origin expressions. Consolidate two identicalbar45test helpers into main's existing 45 x 45 bar helper and combine the schema imports. No assertion or geometry expectation was removed or weakened. The existing ops trim tests remain registered in the consolidated harness.What changes
Add Weldments -> Modify -> Trim/Extend. Choose the start, end or nearest end, and an optional weld gap.
General Trim/Extend currently accepts unjointed Frame Members: corner None, no corner overrides, Fit Ends off and Coped off. It explicitly refuses other combinations as members to trim or as member targets, so it cannot rebuild modified stock and discard its existing cuts. Their planar faces remain valid plane targets. A later body modification is also refused as a member target; use its planar face instead. Member targets must share a component.
Main's Auto, Mitre, Butt, corner overrides, fitting, weld gaps, copes, crossing pieces and point-pair members keep their ordinary behavior. The Frame Member dialog and corner operations remain available. Corner None remains main's default. Gussets, welds and cut lists remain outside this PR.
The design-format, locale and attribution additions use pending files. The icon remains Open for owner review.
Earlier base and integration
Rebased onto pinned main
d7999cae2d5e440543ca58e49c7331ff6fee57e0after the Auto frames/corners work in #17855 landed.Previous source-reviewed head:
9e79063cf76f40d898341d0d82fa4ebbaed750c8. Exact source tree:719366c4650b6d0a8a0f8c1d9319b7fca5b0107c.The complete main frame evaluator is retained. The general trim adapter reads main's actual untrimmed sections and segments, including optional sketch paths, point pairs, anchors and per-member rotation. Only rebuildable stock gets trim identity records. The four-field section contract retains main's open-end flags; general trims update the section's start and length for End Cap. Main's pivot, corner, layout, fitting, coping and End Cap implementations remain intact. Existing kernel/ops trim geometry is unchanged.
The two commands remain separate:
frame.multi_trimedits a Frame Member's corner override, withMultiTrimParamsand main's handler. The corner rows retain their existingframe.memberparameter flow.frame.trimis general Trim/Extend to member, plane or face targets, withTrimParams, its own handler and its existing dialog.Each command is registered once. No combined handler or repurposed command was introduced.
Rust integration/restack note: main's
frame::MemberRefremains the optional-feature corner reference. The general required-feature reference is nowframe::TrimMemberRef. Its saved JSON fields are unchanged. Branches using the old general Rust type need that rename. The previous stockLayout/Laid/axisimplementation now lives in the trim adapter; integrations should restack onto main's frame pipeline rather than replace it with that stock layout.Retained fixes and credit
@dlucik's port from the corner work (
bab209ca4e) saved much of the original replay. Their co-author credit and the original authors, dates, messages, other co-authors and sponsor trailers are preserved across all eight replayed commits. The source integration is a separate attributed commit. Fixes folded in from #5772 and #5773 remain.Trim face targets retain copy, paste, rename and occurrence-move handling. Pasted 3D sketch lines keep their placement, and the dialog retains placed construction-plane targets. Frame records survive partial body copies. Half-space trim tools keep their cap roles without extra aliases. The existing ops trim tests and
every_test_file_is_builtremain registered.The stale expression-golden row still includes
frame_trim.angle, frame_trim.offset, frame_trim.gap, 0, 0, 0: the fixture sets the angled plane's axis origin to[0, 0, 0], which the existing walker visits. All 26 command-label entries still usecmd.frame.trim; every translated value and the help messages are byte-preserved.tests/kernel-cases/gains no cases. Existing hand-derived trim expectations and reference casetests/oracle/96-frame-towerremain;xtask/mesh-decisions.txtis unchanged.Earlier source validation
This is a source-only conflict integration. No local Cargo, compilation, Clippy, tests, app build, preflight or runtime checks ran on this new tree. No current-tree compile/test pass is claimed.
Independent source review, direct pinned rustfmt 1.99.1, diff and conflict-marker checks passed. JSON duplicate-key/nonfinite checks, translation/golden retention, command/type registration checks and both-parent assertion retention passed. Removing only the explicit adapter/identity hooks reproduces main's evaluator byte-for-byte. Main's core frame geometry helpers are unchanged.
These regressions in the existing engine frame tests remain unexecuted:
general_trim_refuses_cornered_members_without_losing_their_cuts: an attempted general trim of Auto/Mitre/Butt members must explicitly fail and leave the design unchanged.general_trim_keeps_a_pair_only_members_section_after_reopen: a centred 40 x 20 bar at x=600, trimmed to z=250, has hand-derived volume 200,000 mm^3 and bounds(580, -10, 0)to(620, 10, 250), before and after reopening.an_off_centre_rectangular_member_rotates_then_trims_and_caps_after_reopen: a 40 x 20 bar anchored bottom-left turns 90 degrees about(20, 10), then trims to z=180. Its hand-derived volume is 144,000 mm^3, bounds(10, -10, 0)to(30, 30, 180), and rotation pivot(20, 10, 150). Its 6 mm cap has volume 4,800 mm^3 and extends to z=186. The test also checks the retained end plane and reopening.No measured results are claimed for these cases. The previous 171-name selection was a static inventory for an older tree, not executed coverage. Earlier queued validation/native grants remain unused or on hold; no blanket rebuild or full CI was run for this update.
Historical validation on tree a205
The following results apply only to previous head
195978d3f9ba0980851067fb64eb596cf1048e95, treea205baab93c56870d10d6db16c5352f0d88ad42f.They do not validate the current rebased tree.
The first run,
20261119T203701Z-pr5312-main46daf-doc-fields-20261120, ended attribution-uncertain, not PASS.The runner could mix identity fields from adjacent steps; that defect was reproduced during audit.
The transient identity values from the original warning were not captured. Its evidence and warning remain preserved.
Audit recovery verified that owned processes were absent and released the exact retained lock without signals.
The runner was corrected and checked separately before the follow-up.
That first run recorded strict workspace Clippy (
-D warnings), licences and the Linux app build returning zero.It also recorded 138 passed, zero failed and zero ignored. These remain observations with the attribution caveat:
The clean follow-up is limited to the previously unexecuted ops and envelope tests.
Run:
20261119T213738Z-pr5312-main46daf-doc-fields-20261120.It ended PASS at 21:42:10Z: 13 passed, zero failed and zero ignored.
The ops harness ran its three trim tests and
every_test_file_is_built(four tests, 493 filtered out).All nine exact envelope cases passed (6374 filtered out). No requested filter matched zero tests.
Start and end source trees matched. The foreground run finished normally, with no stop or attribution markers, and released the shared lock.
This clean result applies to those two steps. It does not turn the earlier run into a clean gate PASS.
The full suite and
cargo xtask ciwere deliberately skipped.The earlier 754 Rust and 18 Python passes belong only to tree
c99d630dbd1c5527159eeae587fe76134eae08af.They are not validation of either the a205 tree or the current head. The checked-in
fasthelper uses its own internal profile and lock options.No full
fastpass is claimed on either tree. The historical explicit scoped Cargo commands used--profile ci --locked.Historical standalone solidcore tests used explicit CLI configuration matching the root
ciprofile.Existing frame and naming tests cover retained frame metadata and cap naming. The exact partial-open body-copy path lacks direct runtime coverage.
Native Windows app builds, unit checks and fresh whole-window screenshots remain pending separate reservations.
Both checked-in Windows CI smoke scripts are omitted because they delete real roaming settings.
Planned isolated startup/resize acceptance will be reported separately from those CI scripts.
Earlier results and screenshots remain historical.
Evidence
Historical screenshots, from earlier heads of this PR, not yet re-captured on this head. They were captured from SolidCraft, using the synthetic tower recipe in this PR.
The tower has four 1500 mm uprights and fourteen trimmed 510 mm members, all in 45 × 45 mm bar.
The analytic volume is 26,608,500 mm³. The bounds are 600 × 600 × 1500 mm.
Before trimming, rails overlap the uprights:
After trimming, the rails meet the upright sides:
These joint screenshots were captured on 2026-10-27. Reproduce with
solidcraft-cli snapshot tests/oracle/96-frame-tower/recipe.json --out tower.png.The before recipe omits its
frame_trimoperations.Parallel planes
x + y = 0andx + y = 30leave 30 mm along every section ray.A 45 × 45 mm bar therefore has volume 60,750 mm³, despite overlapping axial ranges of the cuts.
Captured on 2026-11-03 with SMLib
a18bbe5, using the tower and parallel-cut recipes in this PR:Implements the Trim/Extend slice of #4003. Frame members and the Weldments ribbon are already merged.
Heavy hosted CI requires maintainer approval. The maintainer decision label remains in place.
Summary by CodeRabbit
New Features
Added a Trim/Extend tool for frame members, supporting butt joints and trimming or extending members to planes and planar faces.
Choose which member ends to trim and set an optional weld gap. Existing member names are preserved.
Find Trim/Extend in the Weldments ribbon, with localized labels and help.
Documentation
Earlier integration records (historical heads only)
Latest validation status, 2026-11-24,
76ce4ca24d40f2bda48eeb1c38a421efe617d1e7: The hostile-input key-list failure from the integration commit is fixed in this follow-up:gapis in alphabetical order and the duplicatemembersentry is removed. All 157 distinct covered keys remain. Pinned rustfmt and whitespace checks passed; no local Cargo or tests ran. Fresh hosted CI is pending.Conflict resolution, 2026-11-24: current head
1c72eab6eda2037b019716c1c242c811db93aab3, treeb425b845537fc66319016ffc944d4980b9ab09ba. Integrated pinned maind34d449bfb1ebc29c5919285c7d668a304bce787once while preserving existing histories. Takes main's per-line public exports and addsmap_plane_refon its own line. Preserves mounting plates alongside general Trim/Extend, clipboard plane remapping, icons and UI. Keepsframe.trimseparate fromframe.multi_trim, all independent tests, and the trim golden expression record's three zero coordinates.Current-tree validation is source-only: pinned rustfmt parsing/formatting for 41 Rust files, scoped whitespace, retained test declarations, unique top-level test helpers and separate command registrations passed. Added exports follow the per-line form. The fixture/golden order was also checked for cope and trim. No local Cargo, tests, build, app or native execution ran. Fresh hosted CI is pending. All earlier runtime results and screenshots retain their original commit provenance; native evidence and human review remain separate requirements.
Conflict integration, 2026-11-23
Current published head:
bda7bb181d051261bb8494b3b58703d6065730ef.Content tree:
f72519e7f40c9b4595df2eb21f6c3c580048799d.Integrated main
bad95c31f73c0cc02cba26de2d6e748c39a45238to resolve the reported conflicts.Main's group evaluator, copy offsets and corner pipeline are retained. Trim resolves the selected member's actual group section before applying retained end planes; failed grouped builds roll back the added records. All appended tests and both separate commands remain. One existing-file grouped placement/trim/reopen regression is added and remains unexecuted.
Both histories, attribution and existing test blocks are retained.
Pinned Rust 1.99.1 formatting, whitespace, marker, JSON and test-function retention source checks passed.
No local compilation, Cargo tests, app build or native runtime ran at this head.
Earlier runtime results and screenshots below apply only to their stated previous heads.
Hosted CI and current-head review determine merge readiness.
CI correction: Trim dialog constructor, 2026-11-21
Current published head:
bc328262fbcbe97b4ce4cf2121d47bd162956939.Content tree:
27a175887066c899ac0f4f3d7e46b49e1242340a.Hosted Quick compile failed on
4977c29505c1ac7319d1f4c92046b5b6ca6d949ewith E0599 atdialogs_frame.rs:510.The Trim dialog called
Trim::new(), whileTrimprovides the existingDefaultimplementation.Use
Trim::default()to keep the automatic end choice, empty gap and empty target state.This changes one source line; no geometry or assertions changed.
Pinned rustfmt and whitespace checks passed. No local Cargo, builds, tests or native runtime ran.
The new head awaits hosted CI; no passing compilation or test result is claimed for it.
All earlier evidence below retains its stated head and tree provenance.
Hosted compile correction, 2026-11-21
Previous source-reviewed head:
4977c29505c1ac7319d1f4c92046b5b6ca6d949e.Content tree:
40703ecc668e99546aa7a2e627d8c7e2e783ab75.Hosted Quick compile and CLI compilation reported E0425 for the former
super::append_warningpath.The failed jobs apply to previous head
9e79063cf76f40d898341d0d82fa4ebbaed750c8.Resolve
append_warningthroughcrate::evalafter the trim adapter moved into a nested module.This follow-up changes one source line and leaves geometry and assertions unchanged.
Pinned rustfmt and whitespace checks passed. No local compilation, tests, app build or native runtime ran.
The correction has not yet been verified by a passing hosted compilation.
All earlier validation and evidence below retain their stated source provenance.