Skip to content

Commit 0900154

Browse files
committed
Add tolerance field to union/intersection/subtract
1 parent 3c27573 commit 0900154

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
@@ -1570,6 +1570,8 @@ define_modeling_cmd_enum! {
15701570
/// Which solids to union together.
15711571
/// Cannot be empty.
15721572
pub solid_ids: Vec<Uuid>,
1573+
/// The maximum acceptable surface gap computed between the joined solids. Must be positive (i.e. greater than zero).
1574+
pub tolerance: LengthUnit,
15731575
}
15741576

15751577
/// Create a new solid from intersecting several other solids.
@@ -1583,6 +1585,8 @@ define_modeling_cmd_enum! {
15831585
{
15841586
/// Which solids to intersect together
15851587
pub solid_ids: Vec<Uuid>,
1588+
/// The maximum acceptable surface gap computed between the joined solids. Must be positive (i.e. greater than zero).
1589+
pub tolerance: LengthUnit,
15861590
}
15871591

15881592
/// Create a new solid from subtracting several other solids.
@@ -1599,6 +1603,8 @@ define_modeling_cmd_enum! {
15991603
pub target_ids: Vec<Uuid>,
16001604
/// Will be cut out from the 'target'.
16011605
pub tool_ids: Vec<Uuid>,
1606+
/// The maximum acceptable surface gap computed between the target and the solids cut out from it. Must be positive (i.e. greater than zero).
1607+
pub tolerance: LengthUnit,
16021608
}
16031609

16041610
/// Make a new path by offsetting an object by a given distance.

0 commit comments

Comments
 (0)