Skip to content

Commit 1d1ea06

Browse files
committed
Explicitly call out when errors will happen
1 parent be2f7fd commit 1d1ea06

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modeling-cmds/src/shared.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ pub enum TranslateBy {
100100
/// normal vector of this circle, going through the circle's center.
101101
///
102102
/// If the edge is linear, translates along that line's vector.
103+
///
104+
/// If the edge is neither circular nor linear, the API will respond with an error.
103105
Edge {
104106
/// Which edge to translate along.
105107
id: Uuid,
@@ -111,6 +113,8 @@ pub enum TranslateBy {
111113
///
112114
/// If the face is circular (i.e. the end of a cone or cylinder),
113115
/// this works the same as translating along a circular sketch.
116+
///
117+
/// If the face is not circular, the API will respond with an error.
114118
Face {
115119
/// Which face to translate along.
116120
id: Uuid,

0 commit comments

Comments
 (0)