forked from 1b-agent/opencadstudio-upstream
cargo fmt
This commit is contained in:
1 parent
468cbde5e1
commit
ca07268c7c
204 files changed
+13997
-5525
No files matched your search
+11
-3
@@ -127,7 +127,12 @@ pub enum CmdResult {
|
||||
/// Replace the text content of a Text/MText entity in-place.
|
||||
DdeditEntity { handle: Handle, new_text: String },
|
||||
/// Apply new pattern/scale/angle to an existing hatch entity.
|
||||
HatcheditApply { handle: Handle, name: String, scale: f32, angle: f32 },
|
||||
HatcheditApply {
|
||||
handle: Handle,
|
||||
name: String,
|
||||
scale: f32,
|
||||
angle: f32,
|
||||
},
|
||||
/// Stretch entities: move only vertices/endpoints inside the crossing window.
|
||||
StretchEntities {
|
||||
handles: Vec<Handle>,
|
||||
@@ -144,7 +149,11 @@ pub enum CmdResult {
|
||||
mesh_fn: Box<dyn FnOnce(String) -> Option<crate::scene::mesh_model::MeshModel> + Send>,
|
||||
},
|
||||
/// Extrude the profile entity `handle` by `height` along Z.
|
||||
ExtrudeEntity { handle: Handle, height: f32, color: [f32; 4] },
|
||||
ExtrudeEntity {
|
||||
handle: Handle,
|
||||
height: f32,
|
||||
color: [f32; 4],
|
||||
},
|
||||
/// Revolve the profile entity `handle` around the given axis by `angle_deg`.
|
||||
RevolveEntity {
|
||||
handle: Handle,
|
||||
@@ -283,7 +292,6 @@ pub trait CadCommand: Send {
|
||||
None
|
||||
}
|
||||
|
||||
|
||||
/// Called instead of `on_point` when the command needs a tangent pick
|
||||
/// and the snap system found a tangent object.
|
||||
fn on_tangent_point(&mut self, obj: TangentObject, hit: Vec3) -> CmdResult {
|
||||
|
||||
Reference in new issue
Block a user