forked from 1b-agent/opencadstudio-upstream
feat(commands): add FLATSHOT and CONVTOSURFACE
- FLATSHOT: project the selected solid's edges to 2D Line entities at Z=0 - CONVTOSURFACE: convert the selected solid(s) to Surface entities Both reuse the cached B-rep's edge wires. COMMANDS.md: 219/262. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
6f9565e9f7
commit
c653a3f38e
4 files changed
+108
-4
No files matched your search
@@ -704,6 +704,16 @@ impl OpenCADStudio {
|
||||
return Some(self.solid_interfere());
|
||||
}
|
||||
|
||||
// FLATSHOT — flatten the selected solid's edges to 2D lines at Z=0.
|
||||
"FLATSHOT" => {
|
||||
return Some(self.solid_flatshot());
|
||||
}
|
||||
|
||||
// CONVTOSURFACE — convert the selected solid(s) to surface entities.
|
||||
"CONVTOSURFACE" => {
|
||||
return Some(self.solid_convtosurface());
|
||||
}
|
||||
|
||||
// POLYSOLID <width> <height> — extrude a selected polyline into a
|
||||
// wall-like solid.
|
||||
cmd if cmd == "POLYSOLID" || cmd.starts_with("POLYSOLID ") => {
|
||||
|
||||
Reference in new issue
Block a user