Directly returns the wrapped OCCT object. :return: The wrapped OCCT object :rtype: TopoDS_Shape or a subclass
(self)
| 445 | return self |
| 446 | |
| 447 | def toOCC(self) -> Any: |
| 448 | """ |
| 449 | Directly returns the wrapped OCCT object. |
| 450 | |
| 451 | :return: The wrapped OCCT object |
| 452 | :rtype: TopoDS_Shape or a subclass |
| 453 | """ |
| 454 | |
| 455 | v = self.val() |
| 456 | |
| 457 | return v._faces if isinstance(v, Sketch) else v.wrapped |
| 458 | |
| 459 | def workplane( |
| 460 | self: T, |