chiark / gitweb /
Add support material amount.
[cura.git] / Cura / util / sliceEngine.py
index f3069887b703f30a5a552c35494bbfd64ad545a7..1959f79ebdee85472f59a5b9a9b89f724d76221e 100644 (file)
@@ -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),