Uranium
Application Framework
|
Public Member Functions | |
None | __init__ (self, *args, **kwargs) |
run (self) | |
![]() | |
getFileName (self) | |
getAddToRecentFiles (self) | |
![]() | |
Any | getResult (self) |
None | setResult (self, Any result) |
None | setError (self, Exception error) |
None | start (self) |
None | cancel (self) |
bool | isRunning (self) |
bool | isFinished (self) |
bool | hasError (self) |
Optional[Exception] | getError (self) |
Protected Attributes | |
_application = QtApplication.getInstance() | |
_handler = QtApplication.getInstance().getMeshFileHandler() | |
list | _result = self._application.getController().getScene()._maximum_bounds |
bool | _add_to_recent_files = False |
![]() | |
_filename = filename | |
_handler = handler | |
_loading_message = None | |
_add_to_recent_files = add_to_recent_files | |
_result | |
![]() | |
bool | _running = False |
bool | _finished = False |
_result = None | |
_message = None | |
_error = None | |
Additional Inherited Members | |
![]() | |
None | yieldThread () |
![]() | |
finished = Signal() | |
progress = Signal() | |
A Job subclass that performs mesh loading. The result of this Job is a MeshData object.
None UM.Mesh.ReadMeshJob.ReadMeshJob.__init__ | ( | self, | |
* | args, | ||
** | kwargs ) |
Reimplemented from UM.FileHandler.ReadFileJob.ReadFileJob.
UM.Mesh.ReadMeshJob.ReadMeshJob.run | ( | self | ) |
Perform the actual task of this job. Should be reimplemented by subclasses. :exception NotImplementedError
Reimplemented from UM.FileHandler.ReadFileJob.ReadFileJob.