Skip to content

Commit eba9e07

Browse files
committed
add body_type to revolve
1 parent f4d8956 commit eba9e07

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modeling-cmds/src/def_enum.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ define_modeling_cmd_enum! {
239239
/// If so, this specifies its angle.
240240
#[serde(default)]
241241
pub opposite: Opposite<Angle>,
242+
/// Should this extrude create a solid body or a surface?
243+
#[serde(default)]
244+
pub body_type: BodyType,
242245
}
243246

244247
/// Command for shelling a solid3d face
@@ -280,6 +283,9 @@ define_modeling_cmd_enum! {
280283
/// If so, this specifies its angle.
281284
#[serde(default)]
282285
pub opposite: Opposite<Angle>,
286+
/// Should this extrude create a solid body or a surface?
287+
#[serde(default)]
288+
pub body_type: BodyType,
283289
}
284290

285291
/// Command for lofting sections to create a solid

0 commit comments

Comments
 (0)