mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Renamed sceneObject to sceneNode & updated some documentation
This commit is contained in:
parent
3f462cc585
commit
9a766edf52
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
from Cura.Qt.QtApplication import QtApplication
|
||||
from Cura.Scene.SceneObject import SceneObject
|
||||
from Cura.Scene.SceneNode import SceneNode
|
||||
from Cura.Scene.Camera import Camera
|
||||
from Cura.Math.Vector import Vector
|
||||
|
||||
|
@ -21,7 +21,7 @@ class PrinterApplication(QtApplication):
|
|||
self.getController().setActiveTool("TransformTool")
|
||||
|
||||
root = self.getController().getScene().getRoot()
|
||||
mesh = SceneObject(root)
|
||||
mesh = SceneNode(root)
|
||||
mesh.setMeshData(self.getMeshFileHandler().read("plugins/FileHandlers/STLReader/simpleTestCube.stl",self.getStorageDevice('local')))
|
||||
|
||||
camera = Camera(root)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue