mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Implement ScaleTool Scale to Max
This commit is contained in:
parent
28ac931629
commit
64370093b2
1 changed files with 3 additions and 0 deletions
|
@ -394,6 +394,9 @@ class PrinterApplication(QtApplication):
|
||||||
|
|
||||||
self._volume.rebuild()
|
self._volume.rebuild()
|
||||||
|
|
||||||
|
if self.getController().getTool('ScaleTool'):
|
||||||
|
self.getController().getTool('ScaleTool').setMaximumBounds(self._volume.getBoundingBox())
|
||||||
|
|
||||||
offset = machine.getSettingValueByKey('machine_platform_offset')
|
offset = machine.getSettingValueByKey('machine_platform_offset')
|
||||||
if offset:
|
if offset:
|
||||||
self._platform.setPosition(Vector(offset[0], offset[1], offset[2]))
|
self._platform.setPosition(Vector(offset[0], offset[1], offset[2]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue