MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshSave.BinaryStlSaver Class Reference
Inheritance diagram for mrmeshpy.MeshSave.BinaryStlSaver:

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)

Detailed Description

Generated from:  MR::MeshSave::BinaryStlSaver

saver in binary .stl format that can write triangles one by one not knowing their number beforehand

Constructor & Destructor Documentation

◆ __init__()

None mrmeshpy.MeshSave.BinaryStlSaver.__init__ ( self,
typing.Any out,
ConstSaveSettings settings = ...,
int expectedNumTris = 0 )
writes STL header in the stream

Member Function Documentation

◆ updateHeadCounter()

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

◆ writeTri()

bool mrmeshpy.MeshSave.BinaryStlSaver.writeTri ( self,
Const_std_array_Vector3_float_3 tri )
writes one more triangle in the stream

The documentation for this class was generated from the following file: