Uranium
Application Framework
UM.Mesh.MeshWriter.MeshWriter Class Reference

Base class for mesh writer objects. More...

Inheritance diagram for UM.Mesh.MeshWriter.MeshWriter:
UM.FileHandler.FileWriter.FileWriter UM.PluginObject.PluginObject

Public Member Functions

def __init__ (self, *args, **kwargs)
 
def write (self, stream, node)
 Output a collection of nodes to stream in such a way that it makes sense for the file format. More...
 
- Public Member Functions inherited from UM.FileHandler.FileWriter.FileWriter
None __init__ (self, bool add_to_recent_files=True, *args, **kwargs)
 
bool getAddToRecentFiles (self)
 
def setInformation (self, str information_message)
 
str getInformation (self)
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
None __init__ (self)
 
str getId (self)
 
None setPluginId (self, str plugin_id)
 
None setMetaData (self, Dict[str, Any] metadata)
 
Dict[str, Any] getMetaData (self)
 
str getPluginId (self)
 
None setVersion (self, str version)
 
str getVersion (self)
 

Detailed Description

Base class for mesh writer objects.

Member Function Documentation

◆ write()

def UM.Mesh.MeshWriter.MeshWriter.write (   self,
  stream,
  node 
)

Output a collection of nodes to stream in such a way that it makes sense for the file format.

For example, in case of STL, it makes sense to go through all children of the nodes and write all those as transformed vertices to a single file.

Parameters
streamIOStream The stream to output to.
nodesA collection of scene nodes to write to the stream.

Reimplemented from UM.FileHandler.FileWriter.FileWriter.


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