Import shape from a binary BREP file.
(cls, f: str | BytesIO)
| 593 | |
| 594 | @classmethod |
| 595 | def importBin(cls, f: str | BytesIO) -> Shape: |
| 596 | """ |
| 597 | Import shape from a binary BREP file. |
| 598 | """ |
| 599 | s = TopoDS_Shape() |
| 600 | |
| 601 | BinTools.Read_s(s, f) |
| 602 | |
| 603 | return cls.cast(s) |
| 604 | |
| 605 | def geomType(self) -> Geoms: |
| 606 | """ |