boolean
Perform boolean cut, fuse, or intersect operations on arbitrary solids to combine, subtract, or intersect separate parts for assembly modeling.
Instructions
Cut, fuse, or intersect ARBITRARY existing solids.
This is the assembly primitive. `pocket` cuts a sketch out of its own
PartDesign Body and cannot subtract one part from another — use this
whenever the tool is a separate object: hollowing a piston with a
cavity solid, subtracting a shaft from a housing, merging bosses onto a
body.
A `cut` that removes no material FAILS loudly rather than reporting
success: the usual cause is that the tool solid does not actually
overlap the base, which is invisible in a render.
A powerful pattern this enables: build the cutting tool itself by
subtraction, so hollowing preserves internal structure. Cutting a
piston with (cavity MINUS bosses) hollows the piston while leaving the
pin bosses standing — material survives where it is outside the cavity
OR inside a boss.
Args:
doc_name: The document.
name: Name for the resulting object.
operation: "cut", "fuse", or "common".
base: Name of the base solid.
tools: Names of the solids to cut/fuse/intersect with the base.
Multiple tools are combined automatically for a cut.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ||
| name | Yes | ||
| tools | Yes | ||
| doc_name | Yes | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |