Skip to content

Commit 9520f66

Browse files
committed
change ratio to second_length
1 parent 3e93ab8 commit 9520f66

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

modeling-cmds/src/shared.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ pub enum CutType {
2222
Fillet,
2323
/// Cut away an edge.
2424
Chamfer {
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.
27-
ratio: Option<f64>,
25+
/// The second length affects the edge length of the second face of the cut.
26+
second_length: Option<LengthUnit>,
2827
/// The angle of the chamfer, default is 45deg.
2928
angle: Option<Angle>,
30-
/// If true, the ratio or angle is applied to the second face of the cut, instead of the
31-
/// first.
29+
/// If true, the second length or angle is applied to the other face of the cut.
3230
swap: bool,
3331
},
3432
/// A custom cut profile.

0 commit comments

Comments
 (0)