mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:29:00 +08:00
Load the Ultimaker robot as an example mesh
This commit is contained in:
parent
3b2a6423d0
commit
bc24183f51
@ -24,6 +24,9 @@ class PrinterApplication(QtApplication):
|
||||
root = self.getController().getScene().getRoot()
|
||||
platform = Platform(root)
|
||||
|
||||
mesh = SceneNode(platform)
|
||||
mesh.setMeshData(self.getMeshFileHandler().read(Resources.getPath(Resources.MeshesLocation, 'UltimakerRobot_support.stl'), self.getStorageDevice('local')))
|
||||
|
||||
try:
|
||||
self.getMachineSettings().loadValuesFromFile(Resources.getPath(Resources.SettingsLocation, 'ultimaker2.cfg'))
|
||||
except FileNotFoundError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user