From 64370093b2f188a1133e2a96bfd8f06b0f9742bc Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Wed, 29 Apr 2015 18:22:32 +0200 Subject: [PATCH] Implement ScaleTool Scale to Max --- PrinterApplication.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PrinterApplication.py b/PrinterApplication.py index 98a7e11842..9635399b85 100644 --- a/PrinterApplication.py +++ b/PrinterApplication.py @@ -394,6 +394,9 @@ class PrinterApplication(QtApplication): self._volume.rebuild() + if self.getController().getTool('ScaleTool'): + self.getController().getTool('ScaleTool').setMaximumBounds(self._volume.getBoundingBox()) + offset = machine.getSettingValueByKey('machine_platform_offset') if offset: self._platform.setPosition(Vector(offset[0], offset[1], offset[2]))