mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:19:13 +08:00
Implement ScaleTool Scale to Max
This commit is contained in:
parent
28ac931629
commit
64370093b2
@ -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…
x
Reference in New Issue
Block a user