Uranium
Application Framework
UM.Mesh.MeshWriter.MeshWriter Class Reference
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, mode=FileWriter.OutputMode.BinaryMode)
 
- Public Member Functions inherited from UM.FileHandler.FileWriter.FileWriter
def __init__
 
def getAddToRecentFiles (self)
 
def write (self, stream, data, mode=OutputMode.TextMode)
 
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

◆ write()

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.

:param stream: :type{IOStream} The stream to output to.
:param node: A collection of scene nodes to write to the stream.

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