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
 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
def __init__
 
def getAddToRecentFiles (self)
 
def write
 
def setInformation
 
def getInformation (self)
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
def __init__ (self, args, kwags)
 
def getId (self)
 
def setPluginId
 
def setMetaData
 
def getMetaData (self)
 
def getPluginId (self)
 
def setVersion
 
def getVersion (self)
 

Detailed Description

Base class for mesh writer objects.

Member Function Documentation

def UM.Mesh.MeshWriter.MeshWriter.write (   self,
  stream,
  node,
  mode = FileWriter.OutputMode.BinaryMode 
)

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.

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