Make a solid from the existing set of pending wires. :param angleDegrees: the angle to revolve through. :type angleDegrees: float, anything less than 360 degrees will leave the shape open :param axisStart: the start point of the axis of rotation :param axisE
(
self, angleDegrees: float, axisStart: VectorLike, axisEnd: VectorLike
)
| 3798 | return res |
| 3799 | |
| 3800 | def _revolve( |
| 3801 | self, angleDegrees: float, axisStart: VectorLike, axisEnd: VectorLike |
| 3802 | ) -> Compound: |
| 3803 | """ |
| 3804 | Make a solid from the existing set of pending wires. |
| 3805 | |
| 3806 | :param angleDegrees: the angle to revolve through. |
| 3807 | :type angleDegrees: float, anything less than 360 degrees will leave the shape open |
| 3808 | :param axisStart: the start point of the axis of rotation |
| 3809 | :param axisEnd: the end point of the axis of rotation |
| 3810 | :return: a OCCT solid(s), suitable for boolean operations. |
| 3811 | |
| 3812 | This method is a utility method, primarily for plugin and internal use. |
| 3813 | """ |
| 3814 | |
| 3815 | # Revolve, make a compound out of them and then fuse them |
| 3816 | toFuse = [] |
| 3817 | for f in self._getFaces(): |
| 3818 | thisObj = Solid.revolve(f, angleDegrees, Vector(axisStart), Vector(axisEnd)) |
| 3819 | toFuse.append(thisObj) |
| 3820 | |
| 3821 | return Compound.makeCompound(toFuse) |
| 3822 | |
| 3823 | def _sweep( |
| 3824 | self, |