Skip to content

Commit 3e93ab8

Browse files
committed
add swap arg to Chamfer enum
1 parent 5b53729 commit 3e93ab8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

modeling-cmds/src/shared.rs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,20 @@ pub enum CutType {
2222
Fillet,
2323
/// Cut away an edge.
2424
Chamfer {
25-
/// The ratio affects the edge length of the second edge of the fillet. E.g. 1.0 means both
26-
/// edges of the fillet will have the same length.
25+
/// The ratio affects the edge length of the second face of the cut. E.g. 1.0 means both
26+
/// faces will have the same length removed.
2727
ratio: Option<f64>,
28-
/// The angle of the fillet, default is 45deg.
28+
/// The angle of the chamfer, default is 45deg.
2929
angle: Option<Angle>,
30+
/// If true, the ratio or angle is applied to the second face of the cut, instead of the
31+
/// first.
32+
swap: bool,
3033
},
3134
/// A custom cut profile.
3235
Custom {
3336
/// The path that will be used for the custom profile.
3437
path: Uuid,
35-
}
38+
},
3639
}
3740

3841
/// A rotation defined by an axis, origin of rotation, and an angle.

0 commit comments

Comments
 (0)