Uranium
Application Framework
|
Base class for mesh writer objects. More...
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... | |
![]() | |
None | __init__ (self, bool add_to_recent_files=True, *args, **kwargs) |
bool | getAddToRecentFiles (self) |
def | setInformation (self, str information_message) |
str | getInformation (self) |
![]() | |
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) |
Base class for mesh writer objects.
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.
stream | IOStream The stream to output to. |
nodes | A collection of scene nodes to write to the stream. |
Reimplemented from UM.FileHandler.FileWriter.FileWriter.