Section Analysis (FusionHalfSectionViewCommand, INSPECT): cut the view by an origin plane, construction plane or planar face with an offset (drag arrow) and flip; the inside of cut bodies shows a flat cap colour; live while the dialog is open, Remove Section on the right-click menu; viewport shader validated in a test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS5Tn3xieewUSg3uxrMVdL
This commit is contained in:
bherbruckandClaude Opus 5.5 committed 2026-10-08 00:45:44 +00:00
1 parent 24627d4f0a
commit 1988594a13
11 files changed
+206 -6

No files matched your search

+4
View File
@@ -73,6 +73,9 @@ pub fn show(app: &mut SolveApp, ctx: &egui::Context) {
}
}
ui.separator();
if app.session.section.is_some() && item(ui, "Remove Section") {
other = Some("unsection");
}
if !app.session.selection.is_empty() && item(ui, "Clear Selection") {
other = Some("clear");
}
@@ -97,6 +100,7 @@ pub fn show(app: &mut SolveApp, ctx: &egui::Context) {
}
match other {
Some("clear") => drop(app.run("select.clear", json!({}))),
Some("unsection") => drop(app.run("FusionHalfSectionViewCommand", json!({"clear": true}))),
Some("fit") => app.animate_view("fit"),
Some("home") => app.animate_view("home"),
Some("undo") => drop(app.run("UndoCommand", json!({}))),