Public Member Functions | |
| None | __init__ (self, typing.Any out, ConstSaveSettings settings=..., int expectedNumTris=0) |
| bool | updateHeadCounter (self) |
| bool | writeTri (self, Const_std_array_Vector3_float_3 tri) |
| Public Member Functions inherited from mrmeshpy.MeshSave.ConstBinaryStlSaver | |
| __init__ (self, *args, **kwargs) | |
Generated from: MR::MeshSave::BinaryStlSaver saver in binary .stl format that can write triangles one by one not knowing their number beforehand
| None mrmeshpy.MeshSave.BinaryStlSaver.__init__ | ( | self, | |
| typing.Any | out, | ||
| ConstSaveSettings | 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, | |
| Const_std_array_Vector3_float_3 | tri ) |
writes one more triangle in the stream