From 6cd28e302ec2029916201c60c0dfb5559d9abb2a Mon Sep 17 00:00:00 2001 From: daid303 Date: Mon, 13 May 2013 17:35:04 +0200 Subject: [PATCH] Add support material amount. --- Cura/util/profile.py | 2 +- Cura/util/sliceEngine.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 5a206c71..13da9a95 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -158,7 +158,7 @@ setting('cool_head_lift', True, bool, 'expert', 'Cool').setLabel('C setting('solid_top', True, bool, 'expert', 'Infill').setLabel('Solid infill top', 'Create a solid top surface, if set to false the top is filled with the fill percentage. Useful for cups/vases.') setting('solid_bottom', True, bool, 'expert', 'Infill').setLabel('Solid infill bottom', 'Create a solid bottom surface, if set to false the bottom is filled with the fill percentage. Useful for buildings.') setting('fill_overlap', 15, int, 'expert', 'Infill').setRange(0,100).setLabel('Infill overlap (%)', 'Amount of overlap between the infill and the walls. There is a slight overlap with the walls and the infill so the walls connect firmly to the infill.') -#setting('support_rate', 50, int, 'expert', 'Support').setRange(0,100).setLabel('Material amount (%)', 'Amount of material used for support, less material gives a weaker support structure which is easier to remove.') +setting('support_rate', 75, int, 'expert', 'Support').setRange(0,100).setLabel('Material amount (%)', 'Amount of material used for support, less material gives a weaker support structure which is easier to remove.') #setting('support_distance', 0.5, float, 'expert', 'Support').setRange(0).setLabel('Distance from object (mm)', 'Distance between the support structure and the object. Empty gap in which no support structure is printed.') #setting('joris', False, bool, 'expert', 'Joris').setLabel('Spiralize the outer contour', '[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.') #setting('bridge_speed', 100, int, 'expert', 'Bridge').setRange(0,100).setLabel('Bridge speed (%)', 'Speed at which layers with bridges are printed, compared to normal printing speed.') diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index f3069887..1959f79e 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -207,6 +207,7 @@ class Slicer(object): 'fanSpeedMax': int(profile.getProfileSettingFloat('fan_speed_max')) if profile.getProfileSetting('fan_enabled') == 'True' else 0, 'supportAngle': int(-1) if profile.getProfileSetting('support') == 'None' else int(60), 'supportEverywhere': int(1) if profile.getProfileSetting('support') == 'Everywhere' else int(0), + 'supportLineWidth': int(profile.getProfileSettingFloat('support_rate') * profile.calculateEdgeWidth() * 1000 / 100), 'retractionAmount': int(profile.getProfileSettingFloat('retraction_amount') * 1000), 'retractionSpeed': int(profile.getProfileSettingFloat('retraction_speed')), 'objectSink': int(profile.getProfileSettingFloat('object_sink') * 1000), -- 2.30.2