mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Calculate bounding box for helper meshes
This commit is contained in:
parent
fb33497ff1
commit
27d6b9b53b
2 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,10 @@ class SupportEraser(Tool):
|
|||
|
||||
node.setName("Eraser")
|
||||
node.setSelectable(True)
|
||||
node.setCalculateBoundingBox(True)
|
||||
mesh = self._createCube(10)
|
||||
node.setMeshData(mesh.build())
|
||||
node.calculateBoundingBoxMesh()
|
||||
|
||||
active_build_plate = CuraApplication.getInstance().getMultiBuildPlateModel().activeBuildPlate
|
||||
node.addDecorator(BuildPlateDecorator(active_build_plate))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue