From 1a1e65da1e1fc7067c845c1eb992f10aff64134a Mon Sep 17 00:00:00 2001 From: Aleksei S Date: Thu, 29 Mar 2018 17:03:25 +0200 Subject: [PATCH] Remove business case from 'homeHead' function for UM2 CURA-4844 --- cura/PrinterOutput/GenericOutputController.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/cura/PrinterOutput/GenericOutputController.py b/cura/PrinterOutput/GenericOutputController.py index 93403264c1..7f24595edf 100644 --- a/cura/PrinterOutput/GenericOutputController.py +++ b/cura/PrinterOutput/GenericOutputController.py @@ -58,14 +58,9 @@ class GenericOutputController(PrinterOutputController): self._output_device.sendCommand("G90") def homeHead(self, printer): - # Ultimaker+ firmware is 'Marlin V1' and UM2 is "Marlin Ultimaker2" - # For this reason UM2 should move only X, Y and not Z, otherwise it might brake the build plate - name = self._output_device.getFirmwareName() - if name and name.find("Ultimaker2") != -1: - self._output_device.sendCommand("G28 X") - self._output_device.sendCommand("G28 Y") - else: - self._output_device.sendCommand("G28") # Move X-, Y- and Z-coordinate + self._output_device.sendCommand("G28 X") + self._output_device.sendCommand("G28 Y") + self._output_device.sendCommand("G28 Z") def homeBed(self, printer): self._output_device.sendCommand("G28 Z")