Split one shape with another.
(
s1: Shape,
s2: Shape,
tol: float = 0.0,
history: History | None = None,
name: str | None = None,
)
| 6753 | |
| 6754 | |
| 6755 | def split( |
| 6756 | s1: Shape, |
| 6757 | s2: Shape, |
| 6758 | tol: float = 0.0, |
| 6759 | history: History | None = None, |
| 6760 | name: str | None = None, |
| 6761 | ) -> Shape: |
| 6762 | """ |
| 6763 | Split one shape with another. |
| 6764 | """ |
| 6765 | |
| 6766 | builder = BRepAlgoAPI_Splitter() |
| 6767 | _bool_op(s1, s2, builder, tol) |
| 6768 | |
| 6769 | _update_history(history, name, [s1, s2], builder) |
| 6770 | |
| 6771 | return _compound_or_shape(builder.Shape()) |
| 6772 | |
| 6773 | |
| 6774 | def imprint( |
no test coverage detected