MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshSave.BinaryStlSaver Class Reference

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)
 

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__() [1/3]

None mrmeshpy.MeshSave.BinaryStlSaver.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.MeshSave.BinaryStlSaver.__init__ ( self,
MeshSave.BinaryStlSaver arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None mrmeshpy.MeshSave.BinaryStlSaver.__init__ ( self,
typing.Any out,
SaveSettings 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,
std_array_Vector3_float_3 tri )
writes one more triangle in the stream

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