diff options
author | luz paz <luzpaz@users.noreply.github.com> | 2021-09-07 18:34:22 +0300 |
---|---|---|
committer | luz paz <luzpaz@users.noreply.github.com> | 2021-09-07 18:34:22 +0300 |
commit | 9b203c834a4c9943d68b98a72ddeff6f99bbe164 (patch) | |
tree | 1d37e87feebb2aca8994b08625e0fffcb4686811 | |
parent | d68f375e386049878de69eb0b33aacc3f40cb344 (diff) |
Fix source typos
-rw-r--r-- | plugins/PostProcessingPlugin/scripts/ChangeAtZ.py | 22 | ||||
-rw-r--r-- | plugins/SimulationView/LayerSlider.qml | 2 | ||||
-rw-r--r-- | resources/definitions/two_trees_base.def.json | 2 | ||||
-rw-r--r-- | resources/quality/uni_base/layer_0.20.inst.cfg | 2 | ||||
-rw-r--r-- | resources/quality/uni_base/layer_0.25.inst.cfg | 2 | ||||
-rw-r--r-- | resources/quality/zav_base/zav_layer_0.20.inst.cfg | 2 | ||||
-rw-r--r-- | resources/quality/zav_base/zav_layer_0.25.inst.cfg | 2 | ||||
-rw-r--r-- | tests/Settings/TestSettingVisibilityPresets.py | 2 |
8 files changed, 18 insertions, 18 deletions
diff --git a/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py b/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py index 9e94dd9828..712af63b07 100644 --- a/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py +++ b/plugins/PostProcessingPlugin/scripts/ChangeAtZ.py @@ -1367,11 +1367,11 @@ class ChangeAtZProcessor: # handle extruder temp changes if command.command == "M104" or command.command == "M109": - # get our tempurature - tempurature = command.getArgumentAsFloat("S") + # get our temperature + temperature = command.getArgumentAsFloat("S") - # don't bother if we don't have a tempurature - if tempurature is None: + # don't bother if we don't have a temperature + if temperature is None: return # get our extruder, default to extruder one @@ -1379,10 +1379,10 @@ class ChangeAtZProcessor: # set our extruder temp based on the extruder if extruder is None or extruder == 0: - self.lastValues["extruderOne"] = tempurature + self.lastValues["extruderOne"] = temperature if extruder is None or extruder == 1: - self.lastValues["extruderTwo"] = tempurature + self.lastValues["extruderTwo"] = temperature # move to the next command return @@ -1401,10 +1401,10 @@ class ChangeAtZProcessor: if command.command == "M221": # get our flow rate - tempurature = command.getArgumentAsFloat("S") + temperature = command.getArgumentAsFloat("S") # don't bother if we don't have a flow rate (for some reason) - if tempurature is None: + if temperature is None: return # get our extruder, default to global @@ -1412,11 +1412,11 @@ class ChangeAtZProcessor: # set our extruder temp based on the extruder if extruder is None: - self.lastValues["flowrate"] = tempurature + self.lastValues["flowrate"] = temperature elif extruder == 1: - self.lastValues["flowrateOne"] = tempurature + self.lastValues["flowrateOne"] = temperature elif extruder == 1: - self.lastValues["flowrateTwo"] = tempurature + self.lastValues["flowrateTwo"] = temperature # move to the next command return diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml index e8d5e2f315..d2a22755ae 100644 --- a/plugins/SimulationView/LayerSlider.qml +++ b/plugins/SimulationView/LayerSlider.qml @@ -300,7 +300,7 @@ Item // don't allow the upper handle to be lower than the lower handle if (y - (upperHandle.y + upperHandle.height) < sliderRoot.minimumRangeHandleSize) { - upperHandle.y = y - (upperHandle.heigth + sliderRoot.minimumRangeHandleSize) + upperHandle.y = y - (upperHandle.height + sliderRoot.minimumRangeHandleSize) } // update the range handle diff --git a/resources/definitions/two_trees_base.def.json b/resources/definitions/two_trees_base.def.json index faeb4950b2..d72843acbc 100644 --- a/resources/definitions/two_trees_base.def.json +++ b/resources/definitions/two_trees_base.def.json @@ -26,7 +26,7 @@ "overrides": { "machine_name": { "default_value": "Two Trees Base Printer" }, "machine_start_gcode": { "default_value": "G28 ;Home\nM420 S1 ;Enable ABL using saved Mesh and Fade Height\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move bed down\nG1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position\nG1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line\nG1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little\nG1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line\nG92 E0 ;Reset Extruder\nG1 Z2.0 F3000 ;Move Bed up" }, - "machine_end_gcode": { "default_value": "G91 ;Relative positioning\nG1 E-2 F2700 ;Retract a bit\nG1 E-2 Z0.2 F2400 ;Retract and raise Z\nG1 X5 Y5 F3000 ;Wipe out\nG1 Z10 ;Raise Z more\nG90 ;Absolute positionning\n\nG1 X0 Y{machine_depth} ;Present print\nM106 S0 ;Turn-off fan\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\n\nM84 X Y E ;Disable all steppers but Z\n" }, + "machine_end_gcode": { "default_value": "G91 ;Relative positioning\nG1 E-2 F2700 ;Retract a bit\nG1 E-2 Z0.2 F2400 ;Retract and raise Z\nG1 X5 Y5 F3000 ;Wipe out\nG1 Z10 ;Raise Z more\nG90 ;Absolute positioning\n\nG1 X0 Y{machine_depth} ;Present print\nM106 S0 ;Turn-off fan\nM104 S0 ;Turn-off hotend\nM140 S0 ;Turn-off bed\n\nM84 X Y E ;Disable all steppers but Z\n" }, "machine_heated_bed": { "default_value": true }, diff --git a/resources/quality/uni_base/layer_0.20.inst.cfg b/resources/quality/uni_base/layer_0.20.inst.cfg index 17e655a62e..4e8a5747dc 100644 --- a/resources/quality/uni_base/layer_0.20.inst.cfg +++ b/resources/quality/uni_base/layer_0.20.inst.cfg @@ -1,6 +1,6 @@ [general] version = 4 -name = Standart Quality +name = Standard Quality definition = uni_base [metadata] diff --git a/resources/quality/uni_base/layer_0.25.inst.cfg b/resources/quality/uni_base/layer_0.25.inst.cfg index e83cf23cf3..3b3a2e7d29 100644 --- a/resources/quality/uni_base/layer_0.25.inst.cfg +++ b/resources/quality/uni_base/layer_0.25.inst.cfg @@ -1,6 +1,6 @@ [general] version = 4 -name = Fast Standart Quality +name = Fast Standard Quality definition = uni_base [metadata] diff --git a/resources/quality/zav_base/zav_layer_0.20.inst.cfg b/resources/quality/zav_base/zav_layer_0.20.inst.cfg index 1afcb2cc68..044685d995 100644 --- a/resources/quality/zav_base/zav_layer_0.20.inst.cfg +++ b/resources/quality/zav_base/zav_layer_0.20.inst.cfg @@ -1,6 +1,6 @@ [general] version = 4 -name = Standart Quality +name = Standard Quality definition = zav_base [metadata] diff --git a/resources/quality/zav_base/zav_layer_0.25.inst.cfg b/resources/quality/zav_base/zav_layer_0.25.inst.cfg index 0c3874ab59..b585a3d75a 100644 --- a/resources/quality/zav_base/zav_layer_0.25.inst.cfg +++ b/resources/quality/zav_base/zav_layer_0.25.inst.cfg @@ -1,6 +1,6 @@ [general] version = 4 -name = Fast Standart Quality +name = Fast Standard Quality definition = zav_base [metadata] diff --git a/tests/Settings/TestSettingVisibilityPresets.py b/tests/Settings/TestSettingVisibilityPresets.py index 6b268bca1d..bb4738f4f7 100644 --- a/tests/Settings/TestSettingVisibilityPresets.py +++ b/tests/Settings/TestSettingVisibilityPresets.py @@ -19,7 +19,7 @@ def test_createVisibilityPresetFromLocalFile(): # of the other profiles, since they might change over time. visibility_preset = SettingVisibilityPreset() - visibility_preset.loadFromFile(os.path.join(os.path.dirname(os.path.abspath(__file__)), "setting_visiblity_preset_test.cfg")) + visibility_preset.loadFromFile(os.path.join(os.path.dirname(os.path.abspath(__file__)), "setting_visibility_preset_test.cfg")) assert setting_visibility_preset_test_settings == set(visibility_preset.settings) assert visibility_preset.name == "test" |