From d70ee47508064d4a4d5ca8052a4e2da601dc5390 Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 14 May 2012 16:01:55 +0200 Subject: [PATCH] Add experimental dwindle, so we can check it out. --- Cura/cura_sf/fabmetheus_utilities/settings.py | 10 +++++----- Cura/gui/expertConfig.py | 5 +++++ Cura/util/profile.py | 4 ++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Cura/cura_sf/fabmetheus_utilities/settings.py b/Cura/cura_sf/fabmetheus_utilities/settings.py index f5d7629..b3f1713 100644 --- a/Cura/cura_sf/fabmetheus_utilities/settings.py +++ b/Cura/cura_sf/fabmetheus_utilities/settings.py @@ -333,11 +333,11 @@ def getProfileInformation(): 'Minimum_Distance_for_Early_Shutdown_millimeters': DEFSET, 'Slowdown_Startup_Steps_positive_integer': DEFSET, },'dwindle': { - 'Activate_Dwindle': "False", - 'End_Rate_Multiplier_ratio': DEFSET, - 'Pent_Up_Volume_cubic_millimeters': DEFSET, - 'Slowdown_Steps_positive_integer': DEFSET, - 'Slowdown_Volume_cubic_millimeters': DEFSET, + 'Activate_Dwindle': storedSetting('enable_dwindle'), + 'End_Rate_Multiplier_ratio': '0.5', + 'Pent_Up_Volume_cubic_millimeters': storedSetting('dwindle_pent_up_volume'), + 'Slowdown_Steps_positive_integer': '5', + 'Slowdown_Volume_cubic_millimeters': storedSetting('dwindle_slowdown_volume'), },'splodge': { 'Activate_Splodge': "False", 'Initial_Lift_over_Extra_Thickness_ratio': DEFSET, diff --git a/Cura/gui/expertConfig.py b/Cura/gui/expertConfig.py index 8c2f9cf..2014902 100644 --- a/Cura/gui/expertConfig.py +++ b/Cura/gui/expertConfig.py @@ -66,6 +66,11 @@ class expertConfigWindow(configBase.configWindowBase): configBase.TitleRow(right, "Joris") c = configBase.SettingRow(right, "Joris the outer edge", 'joris', False, '[Joris] is a code name for smoothing out the Z move of the outer edge. This will create a steady Z increase over the whole print. It is intended to be used with a single walled wall thickness to make cups/vases.') + configBase.TitleRow(right, "Dwindle") + c = configBase.SettingRow(right, "Enable dwindle", 'enable_dwindle', False, 'Dwindle is used to slow down near the end of a printed line, and reducing the amount of filament printed near the end. This to release the preasure on the printer head.') + c = configBase.SettingRow(right, "Pent up volume (mm3)", 'dwindle_pent_up_volume', '0.4', 'Amount of plastic inside the nozzle under pressure. This normally comes out as ooze after printing.') + c = configBase.SettingRow(right, "Slow down volume (mm3)", 'dwindle_slowdown_volume', '5.0', 'Amount of printing volume that is used to slow down to release the pressure.') + main.Fit() self.Fit() diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 2be195e..fd4d1ed 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -65,6 +65,10 @@ profileDefaultSettings = { 'raft_interface_material_amount': '100', 'bottom_thickness': '0.3', + 'enable_dwindle': 'False', + 'dwindle_pent_up_volume': '0.4', + 'dwindle_slowdown_volume': '5.0', + 'add_start_end_gcode': 'True', 'gcode_extension': 'gcode', 'alternative_center': '',