Fuse the positional arguments with this Shape. :param glue: Sets the glue option for the algorithm, which allows increasing performance of the intersection of the input shapes :param tol: Fuzzy mode tolerance
(
self, *toFuse: Shape, glue: bool = False, tol: float | None = None
)
| 1426 | return self._bool_op((self,), toCut, cut_op) |
| 1427 | |
| 1428 | def fuse( |
| 1429 | self, *toFuse: Shape, glue: bool = False, tol: float | None = None |
| 1430 | ) -> Shape: |
| 1431 | """ |
| 1432 | Fuse the positional arguments with this Shape. |
| 1433 | |
| 1434 | :param glue: Sets the glue option for the algorithm, which allows |
| 1435 | increasing performance of the intersection of the input shapes |
| 1436 | :param tol: Fuzzy mode tolerance |
| 1437 | """ |
| 1438 | |
| 1439 | fuse_op = BRepAlgoAPI_Fuse() |
| 1440 | if glue: |
| 1441 | fuse_op.SetGlue(BOPAlgo_GlueEnum.BOPAlgo_GlueShift) |
| 1442 | if tol: |
| 1443 | fuse_op.SetFuzzyValue(tol) |
| 1444 | |
| 1445 | rv = self._bool_op((self,), toFuse, fuse_op) |
| 1446 | |
| 1447 | return rv |
| 1448 | |
| 1449 | def intersect(self, *toIntersect: Shape, tol: float | None = None) -> Shape: |
| 1450 | """ |