Repository navigation
Weldments: one Frame Member feature lays several groups of lines, each placed its own way (#4003) - #8608
Weldments: one Frame Member feature lays several groups of lines, each placed its own way (#4003)#8608Karl-VonRichter wants to merge 3 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One Frame Member feature can now lay several groups of lines in the same
profile, each with its own lines, anchor, angle, mirror and body name
(`groups: [{lines, anchor?, angle?, mirror?, body_name?}]`). A feature
with one group saves in the old flat form, so existing designs load and
save unchanged. The dialog gets a group list with New Group and Remove
Group; Edit Feature reopens it with every group. Member names stay with
their lines across groups, reopening and edits.
Design format: crates/doc/src/format/pending/frame-member-groups.rs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Coordination for the chassis request on #4003: #9793 (tracking #9792) adds explicitly selected circular arcs and an opt-in continuous line/arc path as one physical member. This is separate from groups sharing section/placement settings. It adds a default-false continuous field to FrameMember and uses names[$path] for the single member, preserving identity when traversal changes. The current all-straight-lines default stays unchanged. Please preserve that distinction when these branches integrate; bend-list and cope-template follow-ups are #9795 and #9796. |
…it test keeps the names Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for this! I'm closing older PRs that have gone quiet or drifted from main, since a lot has changed in the last couple of weeks. If you'd still like this in, please open a fresh PR against current main; happy to review it. |
Let one Frame Member feature share a profile across groups of sketch lines, with each group keeping its own anchor, locate, angle, mirror and member names. Preserve the flat save format for one group and stable member names on edits. Add grouped command input and schema validation with the handler's locate shape, finite-value and range errors. Keep the existing All Lines row before the Groups controls for single-group features. Cover placement, edit, format, schema parity and dialog behavior in the existing test modules. Replaces stale PR tangency-labs#8608 for tangency-labs#4003. The exact content tree passed the authorized 13-step scoped gate: app build, strict clippy, quick checks and 195 tests. The listed variable-fillet known failure was excluded; full CI and native UI evidence remain pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
Let one Frame Member feature share a profile across groups of sketch lines, with each group keeping its own anchor, locate, angle, mirror and member names. Preserve the flat save format for one group and stable member names on edits. Add grouped command input and schema validation with the handler's locate shape, finite-value and range errors. Keep the existing All Lines row before the Groups controls for single-group features. Cover placement, edit, format, schema parity and dialog behavior in the existing test modules. Replaces stale PR tangency-labs#8608 for tangency-labs#4003. The exact content tree passed the authorized 13-step scoped gate: app build, strict clippy, quick checks and 195 tests. The listed variable-fillet known failure was excluded; full CI and native UI evidence remain pending. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
Let one Frame Member feature share a profile across groups of sketch lines, with each group keeping its own anchor, locate, angle, mirror and member names. Preserve the flat save format for one group and stable member names on edits. Add grouped command input and schema validation with the handler's locate shape, finite-value and range errors. Keep the existing All Lines row before the Groups controls for single-group features. Cover placement, edit, format, schema parity and dialog behavior in the existing test modules. Replaces stale PR tangency-labs#8608 for tangency-labs#4003. The exact content tree passed the authorized 13-step scoped gate: app build, strict clippy, quick checks and 195 tests. The listed variable-fillet known failure was excluded; full CI and native UI evidence remain pending. Integrate upstream per-member Rotate steps with each group's placement, profile centre, section and pivot. Keep both sets of tests and add a grouped rotation/end-cap/reload case. The gate results above describe the earlier source only; this rebased integration still needs scoped verification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
Let one Frame Member feature share a profile across groups of sketch lines, with each group keeping its own anchor, locate, angle, mirror and member names. Preserve the flat save format for one group and stable member names on edits. Add grouped command input and schema validation with the handler's locate shape, finite-value and range errors. Keep the existing All Lines row before the Groups controls for single-group features. Cover placement, edit, format, schema parity and dialog behavior in the existing test modules. Replaces stale PR tangency-labs#8608 for tangency-labs#4003. The exact content tree passed the authorized 13-step scoped gate: app build, strict clippy, quick checks and 195 tests. The listed variable-fillet known failure was excluded; full CI and native UI evidence remain pending. Integrate upstream per-member Rotate steps with each group's placement, profile centre, section and pivot. Keep both sets of tests and add a grouped rotation/end-cap/reload case. The gate results above describe the earlier source only; this rebased integration still needs scoped verification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Signed-off-by: Karl Von Richter<karl@embeint.com>
…7672) * weldments(feat): place frame members in independent groups Let one Frame Member feature share a profile across groups of sketch lines, with each group keeping its own anchor, locate, angle, mirror and member names. Preserve the flat save format for one group and stable member names on edits. Add grouped command input and schema validation with the handler's locate shape, finite-value and range errors. Keep the existing All Lines row before the Groups controls for single-group features. Cover placement, edit, format, schema parity and dialog behavior in the existing test modules. Replaces stale PR tangency-labs#8608 for tangency-labs#4003. The exact content tree passed the authorized 13-step scoped gate: app build, strict clippy, quick checks and 195 tests. The listed variable-fillet known failure was excluded; full CI and native UI evidence remain pending. Integrate upstream per-member Rotate steps with each group's placement, profile centre, section and pivot. Keep both sets of tests and add a grouped rotation/end-cap/reload case. The gate results above describe the earlier source only; this rebased integration still needs scoped verification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Signed-off-by: Karl Von Richter<karl@embeint.com> * weldments(fix): keep frame group buttons visible and clickable Give each group chip and action its own line within the existing sized form row. Use the theme row height and spacing so the default dialog no longer clips controls after the first chip. Keep All Lines before the group controls. Check one and three groups at 1280x720 and 800x600 in the existing dialog test module. Assert visible button bounds and exercise actual clicks that select groups and add an empty group. Signed-off-by: Karl Von Richter<karl@embeint.com> * weldments(fix): preserve frame rotation identity through edits Match grouped rotations by their path sketch and unordered line IDs so names and parameter references survive reordering, earlier-group removal and the canonical single-group flat form. Preserve legacy flat rotation names across both line-selection changes and switches between existing path sketches. Refuse non-null flat continuous beside groups even without parameter checks. Bound the nullable grouped locate schema to the handler's existing coordinate limits while preserving the parser and its complete error context. Cover renamed angles, user references, reopening and subsequent angle changes in the existing frame test module. Retain malformed-locate, boundary, refusal atomicity and grouped identity assertions. Integrate with the pinned d799 frame pipeline without replacing its Auto, corner, pair, fit, cope, gap or later-piece behavior for flat frames. Grouped None frames use flat placement views with global copy-name offsets, preserve the shared feature metadata, and route section/pivot and earlier-frame tools to each member's group. Refuse multi-group joined finishing and point pairs explicitly; a canonical single group keeps the ordinary flat options. Retain every main and existing frame assertion, add source regressions for refusal atomicity, copied names, earlier-group fitting and UI/schema parity, and adapt rotation identities to optional path sketches. This source-only rebase has not run Cargo or native checks; the 178-test result remains tied to the preceding 3fffc53 content tree. Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Signed-off-by: Karl Von Richter<karl@embeint.com> * frame(fix): import grouped parameter error details Import the existing schema error helper used to report a malformed group. The hosted compiler reported E0425 after the Auto-frame rebase. This changes name resolution only; schema behavior and tests are unchanged. Source formatting and whitespace checks passed; no local build or test ran. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Karl Von Richter<karl@embeint.com> --------- Signed-off-by: Karl Von Richter<karl@embeint.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Łukasz Dłucik <lukasz.dlucik@abastran.com> Co-authored-by: OpenAI Codex <noreply@openai.com>
Lets one Frame Member feature lay several groups of sketch lines in the same structural profile, each group placed (anchor, angle, mirror) and named its own way, so uprights and rails of one frame no longer need separate features. Part of #4003 (frames and weldments).
Changes a default: no
What
frame.membertakesgroups: each group lists its lines and may give its ownanchor,angle,mirrorandbody_name. A line belongs to one group only.{"sketch": "Frame", "profile": {"kind": "angle", "width": 60, "height": 40, "thickness": 5}, "groups": [{"lines": ["l1", "l3"], "anchor": "bottom_left", "body_name": "Rail"}, {"lines": ["l2", "l4"], "angle": "90 deg", "body_name": "Post"}]}crates/doc/src/format/pending/frame-member-groups.rs). A feature with one group saves in the old flat form, so designs without groups don't change.groups, a line in two groups,lines/anchor/angle/mirror/body_namegiven besidegroups.assets/locales/pending/;docs/frames.mddocuments groups.Not in scope: corner treatments (mitre is #8452 by @dlucik). A group is where a later per-group corner setting would go.
Screenshot
One feature, one 60×40×5 angle, two groups: the grey rail laid flat, the blue member turned 90° about its line (
solidcraft-cli snapshotoftests/kernel-cases/frames/cov-frame-member-groups-turned-their-own-way, SMLib build).Tests
On
7471537, merged into main147b404(the SMLib kernel) in WSL,--releasewith SMLib:frames/cov-frame-member-groups-turned-their-own-way(box and volume worked out by hand inexpected.json) passes. The engine test that asserted sizes and volume now asserts only names, as the testing rules ask.a_tap_marking_*,a_propagated_chain_that_cannot_build_*).cargo fmt --check,cargo xtask lists,layers,assets,icons,skills,ui-containers,mesh-decisions(no new mesh decision sites) andcargo clippy --workspace --all-targets -D warnings: pass.Full gate on the PR head
7471537itself (not merged), 2026-11-03/04:cargo xtask ciin WSL Ubuntu: fmt, assets, icons, licences, lists, skills, layers, ui-containers, mesh-decisions,cargo clippy -D warnings, the wasm32 check and doc tests pass. 80 of the 82 test binaries pass with 0 failures, among them the kernel lib (877), the doc lib (481, no failures), ui-egui lib (3258), ui-egui scenarios/ui_layout/icon_audit, the MCP lib, the app binary and allsolidcraft-clitests. The run hit the 2-hour limit before the other two finished:/dev/dri) and on Windows (AMD OpenGL). This PR doesn't changecrates/gpu, and on clean main4bdffefthe three denoise tests pass in 6 s when run on their own. CI's GPU runner is the authority for this binary.cargo xtask web-offline-test: WSL has no Chrome (insidextask ciit is skipped). On Windows with Edge in place of Chrome, steps 1–10 pass, then step 11 fails with a DevTools connection timeout. This PR changes no web files. A comparison run on clean main couldn't build, because Windows stopped starting compilers (STATUS_DLL_INIT_FAILED) while the machine was overloaded.🤖 Generated with Claude Code