forked from 1b-agent/fieldcraft-upstream
ui: Extrude to Surface form picks the source face, then the target surface (#400)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo
This commit is contained in:
1 parent
4ac31d3988
commit
c077131285
3 files changed
+68
-4
No files matched your search
@@ -1723,6 +1723,8 @@ impl ModelApp {
|
||||
}
|
||||
Value::Object(out)
|
||||
}
|
||||
selection::Target::ExtrudeFaces => selection::with_extrude_faces(¶ms, &self.pick.selection)
|
||||
.ok_or("no face is selected: pick the source face, then the target surface (Select: Faces)")?,
|
||||
selection::Target::Bodies => {
|
||||
let bodies = selection::bodies(&self.pick.selection).ok_or("no geometry is selected: pick cells with Select: Bodies")?;
|
||||
let mut out = params.as_object().cloned().unwrap_or_default();
|
||||
|
||||
Reference in new issue
Block a user