forked from 1b-agent/opencadstudio-upstream
feat(model): complete cylinder workflow
This commit is contained in:
commit
ec13621adb
6 files changed
+1078
-27
No files matched your search
@@ -957,7 +957,13 @@ impl OpenCADStudio {
|
||||
}
|
||||
|
||||
// ── Model commands (3D primitives) ─────────────────────────────
|
||||
"BOX" | "WEDGE" | "CYLINDER" | "CONE" | "SPHERE" | "PYRAMID" | "PYR"
|
||||
"CYLINDER" => {
|
||||
use crate::modules::model::cylinder_cmd::CylinderCommand;
|
||||
let new_cmd = CylinderCommand::new();
|
||||
self.command_line.push_info(&new_cmd.prompt());
|
||||
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
|
||||
}
|
||||
"BOX" | "WEDGE" | "CONE" | "SPHERE" | "PYRAMID" | "PYR"
|
||||
| "TORUS" => {
|
||||
use crate::modules::model::primitive_cmd::PrimitiveCommand;
|
||||
let new_cmd = PrimitiveCommand::new(cmd);
|
||||
|
||||
@@ -2399,7 +2399,7 @@ impl OpenCADStudio {
|
||||
annotation_scale_handle,
|
||||
);
|
||||
let mut entity_grips = dispatch::grips(contextual.as_ref());
|
||||
if crate::scene::model::solid_history::is_rectangular_primitive(
|
||||
if crate::scene::model::solid_history::has_specialized_primitive_properties(
|
||||
&self.tabs[i].scene.document,
|
||||
handle,
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user