Syntactic sugar for intersect. Notice that :code:`r = a * b` is equivalent to :code:`r = a.intersect(b)`. Example:: Box = Workplane("XY").box(1, 1, 1, centered=(False, False, False)) Sphere = Workplane("XY").sphere(1) result = Box * Sph
(self: T, other: Union["Workplane", Solid, Compound])
| 3479 | return self.intersect(other) |
| 3480 | |
| 3481 | def __mul__(self: T, other: Union["Workplane", Solid, Compound]) -> T: |
| 3482 | """ |
| 3483 | Syntactic sugar for intersect. |
| 3484 | |
| 3485 | Notice that :code:`r = a * b` is equivalent to :code:`r = a.intersect(b)`. |
| 3486 | |
| 3487 | Example:: |
| 3488 | |
| 3489 | Box = Workplane("XY").box(1, 1, 1, centered=(False, False, False)) |
| 3490 | Sphere = Workplane("XY").sphere(1) |
| 3491 | result = Box * Sphere |
| 3492 | """ |
| 3493 | |
| 3494 | return self.intersect(other) |
| 3495 | |
| 3496 | def __truediv__(self: T, other: Union["Workplane", Solid, Compound]) -> T: |
| 3497 | """ |