Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
area:doctimeline, components, parameters, namingin progresssomeone is working on it (see comments)needs-triageno priority yet; a maintainer sorts it with /triage
Description
Found in a review of #5312 (Frames: Trim/Extend, part of #4003). None of them crashes; each gives a wrong or stale result. They depend on #5312 (frame.trim isn't on main yet), so the fix is a PR stacked on it.
Problems
- A trim to a body face doesn't follow the face. The command captures the face with its attachment, but evaluation reads the plane as it was when picked (
resolve_plane_inon aPlaneRef::Face). Sketches and construction planes on a face useresolve_attached_plane_notedand follow it.
Reproduce: a 200 × 200 plateT= 10 thick, a 45 × 45 post along Z from z = 100 to 300,frame.trimthe post to{"plane": {"face": [50, 50, 10]}}: 290 long. ChangeTto 30. Expected: the post stands on the new top, 270 long. Actual: it stays 290, sunk into the plate. - A member name taken again can mean the old member. A member's record stays in the model when Remove or Combine takes its body, and a new member can take the freed name.
frame.trimand the dialog take the first record with that body name: the old one.
Reproduce: a memberRail,solid.removeit, a newframe.membernamedRailon another line, then trimRail. Actual: "Railwas changed after it was made" (as a target it would butt against the removed member's line). Expected: the new member is trimmed. - Face targets inside a moved component are placed twice.
frame.trimhas no entry in the engine's frame-mapping table, so the new feature is moved into the active component's frame, but a face capture is already in that frame.
Reproduce: a moved component (100 up), a post in it, a plate whose top is shown at z = 50; trim the post to that face. Expected: it stands at z = 50. Actual: it is offset by the component's placement. - The dialog sends a face target as a bare point (
{"plane": {"face": [x, y, z]}}), dropping the body, index and path the pick has. Without them the capture searches every body: in a design with detailed bodies that hits "face capture work limit exceeded; use an exact body and face index", which the dialog can't do anything about. Start Sketch sends the exact face. - A trim renames every face of the member it rebuilds. The rebuilt body's faces are named as the trim's own (
F<trim>:face:k), not the member feature's (F<member>:face:k). A hole, fillet or sketch on a member loses its face when a trim goes in before it, which is what the trim's own error ("trim it before the features that change it") asks for. - A saved model from before trims is adopted with no member records: it has no
frame_members, read as none, and the member features' fingerprints are unchanged, so it is taken as the design's evaluation. A trim added after reopening fails with "member on linel1ofMember1(it must come earlier in the timeline)". Only designs saved by development builds with Frames: profile library, members along frame sketch lines, and the Frame Member dialog (#4003) #4004 and not Weldments: trim and extend frame members to other members, planes, or faces #5312 have such a model. - Docs and tests:
docs/frames.mdsays only chosen sides and origin/normal planes come back under Keep in Edit Feature; face targets do too. The dialog test's comment says kept targets go "unless unticked", but unticking isn't tested; the hostile-input test doesn't send theplane_refor{member, side}forms.
Known and left
A member changed by a later feature is told by its face count and bounding box. A square bar turned 90° about its own line by a Move passes, and a trim would rebuild it unturned. It takes a contrived edit.
Metadata
Metadata
Assignees
Labels
area:doctimeline, components, parameters, namingin progresssomeone is working on it (see comments)needs-triageno priority yet; a maintainer sorts it with /triage
Activity
github-actions commentedon Oct 24, 2026
Claimed by @Karl-VonRichter through #5773. The claim lapses after 14 days without pushes.
Karl-VonRichter commentedon Oct 24, 2026
Closed: these are review fixes to #5312, which isn't merged yet. They are in #5312 itself (
Frames: fixes from the Trim/Extend review), not a separate change.