(
shape: Shape, fname: str, tolerance: float = 0.1, angularTolerance: float = 0.1
)
| 41 | |
| 42 | |
| 43 | def exportVTP( |
| 44 | shape: Shape, fname: str, tolerance: float = 0.1, angularTolerance: float = 0.1 |
| 45 | ): |
| 46 | |
| 47 | writer = vtkXMLPolyDataWriter() |
| 48 | writer.SetFileName(fname) |
| 49 | writer.SetInputData(shape.toVtkPolyData(tolerance, angularTolerance)) |
| 50 | writer.Write() |
| 51 | |
| 52 | |
| 53 | def toString( |
no test coverage detected