Public Member Functions | |
| None | __init__ (self, MeshSave.BinaryStlSaver arg0) |
| None | __init__ (self, typing.Any out, SaveSettings settings='{}', int expectedNumTris=0) |
| bool | updateHeadCounter (self) |
| bool | writeTri (self, std_array_Vector3_float_3 tri) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::MeshSave::BinaryStlSaver saver in binary .stl format that can write triangles one by one not knowing their number beforehand
|
static |
| None mrmeshpy.MeshSave.BinaryStlSaver.__init__ | ( | self, | |
| MeshSave.BinaryStlSaver | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.MeshSave.BinaryStlSaver.__init__ | ( | self, | |
| typing.Any | out, | ||
| SaveSettings | settings = '{}', | ||
| int | expectedNumTris = 0 ) |
writes STL header in the stream
| bool mrmeshpy.MeshSave.BinaryStlSaver.updateHeadCounter | ( | self | ) |
if initially written the number of triangles do not match to the actual number of written triangles, updates the number in the header
| bool mrmeshpy.MeshSave.BinaryStlSaver.writeTri | ( | self, | |
| std_array_Vector3_float_3 | tri ) |
writes one more triangle in the stream