32 lines
685 B
Markdown
32 lines
685 B
Markdown
# intersect_rsolid
|
|
|
|
## API Definition
|
|
|
|
```python
|
|
def intersect_rsolid(*solids: Union[Solid, Sequence[Solid]]) -> Solid
|
|
```
|
|
|
|
*Source: operations.py*
|
|
|
|
## Import Surface
|
|
|
|
- top-level: `from simplecadapi import intersect_rsolid`
|
|
|
|
## Description
|
|
|
|
Compute the boolean intersection of solids.
|
|
|
|
Accepts one or more solids, including nested sequences, and returns a single
|
|
`Solid`. If the inputs do not overlap meaningfully, the API raises a clear
|
|
error instead of returning an empty list.
|
|
|
|
## Parameters
|
|
|
|
### solids
|
|
|
|
- **Description**: One or more Solid objects or sequences of Solid. Nested sequences are flattened before processing.
|
|
|
|
## Returns
|
|
|
|
Solid: The overlap region as a single solid.
|