Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions modeling-cmds/openapi/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -6320,15 +6320,20 @@
"type": "object",
"properties": {
"body_ids": {
"description": "Which input bodies to intersect. Inputs with non-solid body types are permitted",
"description": "Which target input bodies to intersect. Inputs with non-solid body types are permitted",
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"keep_tools": {
"description": "If true, the provided tool bodies will not be modified",
"default": false,
"type": "boolean"
},
"separate_bodies": {
"description": "If true, bodies will be separated into multiple objects at their intersection boundaries.",
"description": "If true, target bodies will be separated into multiple objects at their intersection boundaries.",
"default": false,
"type": "boolean"
},
Expand All @@ -6340,6 +6345,16 @@
}
]
},
"tool_ids": {
"nullable": true,
"description": "If provided, only these bodies will be used to intersect with the target bodies in body_ids, Otherwise, all bodies in body_ids will be intersected with themselves.",
"default": null,
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"type": {
"type": "string",
"enum": [
Expand Down
13 changes: 11 additions & 2 deletions modeling-cmds/src/def_enum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2262,12 +2262,21 @@ define_modeling_cmd_enum! {
#[cfg_attr(not(feature = "unstable_exhaustive"), non_exhaustive)]
pub struct BooleanImprint
{
/// Which input bodies to intersect. Inputs with non-solid body types are permitted
/// Which target input bodies to intersect. Inputs with non-solid body types are permitted
#[serde(alias = "target_ids")]
pub body_ids: Vec<Uuid>,
/// If true, bodies will be separated into multiple objects at their intersection boundaries.
///If provided, only these bodies will be used to intersect with the target bodies in body_ids,
///Otherwise, all bodies in body_ids will be intersected with themselves.
Comment thread
adamchalmers marked this conversation as resolved.
#[serde(default)]
pub tool_ids: Option<Vec<Uuid>>,
/// If true, target bodies will be separated into multiple objects at their intersection boundaries.
#[serde(default)]
#[builder(default)]
pub separate_bodies: bool,
/// If true, the provided tool bodies will not be modified
#[serde(default)]
#[builder(default)]
pub keep_tools: bool,
/// The maximum acceptable surface gap between the intersected bodies. Must be positive (i.e. greater than zero).
pub tolerance: LengthUnit,
}
Expand Down