From: Youness Alaoui Date: Wed, 20 Jan 2016 17:34:09 +0000 (-0500) Subject: Fix center coords for lulzbot mini if using non square size X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=6022fd2bba376b4dfd183b40e70b2f0465888e41;p=cura.git Fix center coords for lulzbot mini if using non square size --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index bb13a14a..f71ca916 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -1215,7 +1215,7 @@ def getMachineCenterCoords(): return [0, 0] elif getMachineSetting('machine_type') == 'lulzbot_mini': return [(getMachineSettingFloat('machine_width') / 2) + 2.5, - (getMachineSettingFloat('machine_width') / 2) + 0.5] + (getMachineSettingFloat('machine_depth') / 2) + 0.5] return [getMachineSettingFloat('machine_width') / 2, getMachineSettingFloat('machine_depth') / 2] #Returns a list of convex polygons, first polygon is the allowed area of the machine,