chiark / gitweb /
Maybe this fixes the first run wizard calibration of 100mm extrusion problems.
authordaid <daid303@gmail.com>
Wed, 18 Apr 2012 12:50:52 +0000 (14:50 +0200)
committerdaid <daid303@gmail.com>
Wed, 18 Apr 2012 12:50:52 +0000 (14:50 +0200)
Cura/gui/configWizard.py

index 151a083951c32e98f1756bc394824e8d18a7f5ff..8edaf410fa4b2ed12c2958a06aa5b7c267398e59 100644 (file)
@@ -97,7 +97,6 @@ class MachineSelectPage(InfoPage):
                        profile.putPreference('machine_width', '205')\r
                        profile.putPreference('machine_depth', '205')\r
                        profile.putPreference('machine_height', '200')\r
-                       profile.putPreference('steps_per_e', '865.888')\r
                        profile.putProfileSetting('nozzle_size', '0.4')\r
                        profile.putProfileSetting('machine_center_x', '100')\r
                        profile.putProfileSetting('machine_center_y', '100')\r
@@ -323,6 +322,9 @@ class UltimakerCalibrationPage(InfoPage):
 class UltimakerCalibrateStepsPerEPage(InfoPage):\r
        def __init__(self, parent):\r
                super(UltimakerCalibrateStepsPerEPage, self).__init__(parent, "Ultimaker Calibration")\r
+\r
+               if profile.getPreference('steps_per_e') == '0':\r
+                       profile.putPreference('steps_per_e', '865.888')\r
                \r
                self.AddText("Calibrating the Steps Per E requires some manual actions.")\r
                self.AddText("First remove any filament from your machine.")\r