forked from 1b-agent/opencadstudio-upstream
Complete revolve workflow and properties
This commit is contained in:
1 parent
e6429d5712
commit
2e112f9aeb
9 files changed
+913
-94
No files matched your search
+12
-4
@@ -1443,12 +1443,14 @@ pub enum CmdResult {
|
||||
drag: Option<DVec3>,
|
||||
color: [f32; 4],
|
||||
},
|
||||
/// Revolve the profile entity `handle` around the given axis by `angle_deg`.
|
||||
RevolveEntity {
|
||||
handle: Handle,
|
||||
/// Revolve the profile entities around the given axis.
|
||||
RevolveEntities {
|
||||
handles: Vec<Handle>,
|
||||
axis_start: glam::DVec3,
|
||||
axis_end: glam::DVec3,
|
||||
angle_deg: f32,
|
||||
angle: f64,
|
||||
start_angle: f64,
|
||||
mode: ExtrudeMode,
|
||||
color: [f32; 4],
|
||||
},
|
||||
/// Sweep the profile entity `profile_handle` along `path_handle`.
|
||||
@@ -2161,6 +2163,12 @@ pub trait CadCommand: Send {
|
||||
false
|
||||
}
|
||||
|
||||
/// Whether a bare dynamic angle inherits its sign from the world-XY
|
||||
/// cursor side. Commands with their own 3D axis semantics opt out.
|
||||
fn dyn_auto_sign_angle(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// Explicit per-step dynamic-input description. `Some(spec)` takes full
|
||||
/// control of the boxes, guide geometry and anchor for this step; `None`
|
||||
/// (the default) falls back to the legacy `dyn_field()` behaviour so
|
||||
|
||||
Reference in new issue
Block a user