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

Classes

class  CtmSaveOptions
 
class  NamedXfMesh
 

Static Public Member Functions

None sceneToObj (std_vector_MeshSave_NamedXfMesh objects, os.PathLike file, VertColors colors=None)
 
None sceneToObj (std_vector_MeshSave_NamedXfMesh objects, typing.Any out, VertColors colors=None)
 
None toAnySupportedFormat (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toAnySupportedFormat (Mesh mesh, str extension, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toAsciiStl (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toAsciiStl (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toBinaryStl (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toBinaryStl (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toCtm (Mesh mesh, os.PathLike file, MeshSave.CtmSaveOptions options)
 
None toCtm (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toCtm (Mesh mesh, typing.Any out, MeshSave.CtmSaveOptions options)
 
None toCtm (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toMrmesh (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toMrmesh (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toObj (Mesh mesh, os.PathLike file, SaveSettings settings, int firstVertId)
 
None toObj (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toObj (Mesh mesh, typing.Any out, SaveSettings settings, int firstVertId)
 
None toObj (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toOff (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toOff (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 
None toPly (Mesh mesh, os.PathLike file, SaveSettings settings='MR::SaveSettings{}')
 
None toPly (Mesh mesh, typing.Any out, SaveSettings settings='MR::SaveSettings{}')
 

Detailed Description

This is a namespace.

Member Function Documentation

◆ sceneToObj() [1/2]

None meshlib.mrmeshpy.MeshSave.sceneToObj ( std_vector_MeshSave_NamedXfMesh objects,
os.PathLike file,
VertColors colors = None )
static

◆ sceneToObj() [2/2]

None meshlib.mrmeshpy.MeshSave.sceneToObj ( std_vector_MeshSave_NamedXfMesh objects,
typing.Any out,
VertColors colors = None )
static

◆ toAnySupportedFormat() [1/2]

None meshlib.mrmeshpy.MeshSave.toAnySupportedFormat ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static
detects the format from file extension and save mesh to it

◆ toAnySupportedFormat() [2/2]

None meshlib.mrmeshpy.MeshSave.toAnySupportedFormat ( Mesh mesh,
str extension,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static
extension in `*.ext` format

◆ toAsciiStl() [1/2]

None meshlib.mrmeshpy.MeshSave.toAsciiStl ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static
saves in textual .stl file;
SaveSettings::saveValidOnly = false is ignored

◆ toAsciiStl() [2/2]

None meshlib.mrmeshpy.MeshSave.toAsciiStl ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toBinaryStl() [1/2]

None meshlib.mrmeshpy.MeshSave.toBinaryStl ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static
saves in binary .stl file;
SaveSettings::saveValidOnly = false is ignored

◆ toBinaryStl() [2/2]

None meshlib.mrmeshpy.MeshSave.toBinaryStl ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toCtm() [1/4]

None meshlib.mrmeshpy.MeshSave.toCtm ( Mesh mesh,
os.PathLike file,
MeshSave.CtmSaveOptions options )
static
saves in .ctm file

◆ toCtm() [2/4]

None meshlib.mrmeshpy.MeshSave.toCtm ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toCtm() [3/4]

None meshlib.mrmeshpy.MeshSave.toCtm ( Mesh mesh,
typing.Any out,
MeshSave.CtmSaveOptions options )
static

◆ toCtm() [4/4]

None meshlib.mrmeshpy.MeshSave.toCtm ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toMrmesh() [1/2]

None meshlib.mrmeshpy.MeshSave.toMrmesh ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static
saves in internal file format;
SaveSettings::saveValidOnly = true is ignored

◆ toMrmesh() [2/2]

None meshlib.mrmeshpy.MeshSave.toMrmesh ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toObj() [1/4]

None meshlib.mrmeshpy.MeshSave.toObj ( Mesh mesh,
os.PathLike file,
SaveSettings settings,
int firstVertId )
static
saves in .obj file
\\param firstVertId is the index of first mesh vertex in the output file (if this object is not the first there)

◆ toObj() [2/4]

None meshlib.mrmeshpy.MeshSave.toObj ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toObj() [3/4]

None meshlib.mrmeshpy.MeshSave.toObj ( Mesh mesh,
typing.Any out,
SaveSettings settings,
int firstVertId )
static

◆ toObj() [4/4]

None meshlib.mrmeshpy.MeshSave.toObj ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toOff() [1/2]

None meshlib.mrmeshpy.MeshSave.toOff ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static
saves in .off file

◆ toOff() [2/2]

None meshlib.mrmeshpy.MeshSave.toOff ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

◆ toPly() [1/2]

None meshlib.mrmeshpy.MeshSave.toPly ( Mesh mesh,
os.PathLike file,
SaveSettings settings = 'MR::SaveSettings{}' )
static
saves in .ply file

◆ toPly() [2/2]

None meshlib.mrmeshpy.MeshSave.toPly ( Mesh mesh,
typing.Any out,
SaveSettings settings = 'MR::SaveSettings{}' )
static

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