You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Section Analysis: a section on a construction plane stays where the plane was after the plane is edited or deleted #10706
Reproduced on: SolidCraft 0.29.0 (release), Linux x86_64, NVIDIA GTX 1060 (Vulkan), in the app Kernel: no — Section Analysis stores a fixed origin and normal in crates/engine/src/cmd/section.rs; no crates/kernel change
A section made on a construction plane copies where the plane is at that moment. Moving the plane or deleting it does not move or clear the section. This may be intended (the command's comment says "where it is now"), but then the pill should not suggest a link to the plane, and a deleted plane should probably end its section. Please decide which one is meant.
Steps
Box 40 × 30 × 20 mm. Offset plane "CutPlane" from XZ by 10 mm.
Section Analysis on CutPlane. Pill: "Section Y 10.00 mm".
Either the section follows the plane (cut at y = 20 after step 3, cleared or flagged after step 4), or it is clearly a one-off copy.
Actual
view.status_items after each step:
after step 2: origin_mm [0, 10, 0], normal [0, 1, 0]
after step 3: origin_mm [0, 10, 0], normal [0, 1, 0] (plane is now at y = 20)
after step 4: origin_mm [0, 10, 0], normal [0, 1, 0] (plane deleted; pill still "Section Y 10.00 mm")
Where it happens
From reading the source (main e77c555): crates/engine/src/cmd/section.rs:40 ("A construction plane (name or id): where it is now") resolves the plane once and keeps only its origin and normal in Session::section (crates/engine/src/lib.rs:535). Nothing remembers which plane it came from.
PR #8733 (for #3977) makes a section on a construction plane follow that plane and keeps it with a warning when the plane is deleted, which covers this issue.
Triage by dudedagger42: Reproduced on solidcraft-cli 0.30.1 (official, Windows x64) with the commands in your report: the section on CutPlane reads origin [0, 10, 0], normal [0, 1, 0] after it is made, still the same after CutPlane's offset is edited to 20 mm, and still the same after CutPlane is deleted.
Boundary: CLI only; the section pill in the app was not run.
Root cause (likely): crates/engine/src/cmd/section.rs copies the plane's origin and normal when the section is made, as your read of line 40 says; I did not trace the delete path. PR #8733 (for #3977), open and not merged, makes a section follow its plane.
I ran the exact report on main e3855ea466 with the 0.54.0 Linux CLI and inserted a view.status_items query after each operation.
Operation
Section origin in mm
Create the section on CutPlane
[0, 10, 0]
Set CutPlane offset to 20 mm
[0, 10, 0]
Delete CutPlane
[0, 10, 0]
The desktop picker confirms the section starts from CutPlane. Draft #25762 adds a message in that picker flow explaining that edits to the construction plane leave the cut in place.
Activity
Joberndo commentedon Nov 2, 2026
PR #8733 (for #3977) makes a section on a construction plane follow that plane and keeps it with a warning when the plane is deleted, which covers this issue.
dudedagger42 commentedon Nov 3, 2026
Triage by dudedagger42: Reproduced on solidcraft-cli 0.30.1 (official, Windows x64) with the commands in your report: the section on CutPlane reads origin [0, 10, 0], normal [0, 1, 0] after it is made, still the same after CutPlane's offset is edited to 20 mm, and still the same after CutPlane is deleted.
Boundary: CLI only; the section pill in the app was not run.
Root cause (likely): crates/engine/src/cmd/section.rs copies the plane's origin and normal when the section is made, as your read of line 40 says; I did not trace the delete path. PR #8733 (for #3977), open and not merged, makes a section follow its plane.
nullifyr commentedon Dec 3, 2026
I ran the exact report on main
e3855ea466with the 0.54.0 Linux CLI and inserted aview.status_itemsquery after each operation.The desktop picker confirms the section starts from CutPlane. Draft #25762 adds a message in that picker flow explaining that edits to the construction plane leave the cut in place.
claim: #10706
Merge #25762: Section Analysis: explain that the cut copies the picke…