From d2fc7e9374f8df4e2f42e61aa478ee6410d60722 Mon Sep 17 00:00:00 2001 From: daid303 Date: Wed, 7 Nov 2012 18:39:27 +0100 Subject: [PATCH] Enable support cross hatch when printing with dual-extrusion support. --- Cura/avr_isp/stk500v2.py | 2 +- Cura/cura_sf/fabmetheus_utilities/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cura/avr_isp/stk500v2.py b/Cura/avr_isp/stk500v2.py index 8e246b91..f22f50f9 100644 --- a/Cura/avr_isp/stk500v2.py +++ b/Cura/avr_isp/stk500v2.py @@ -11,7 +11,7 @@ class Stk500v2(ispBase.IspBase): self.seq = 1 self.lastAddr = -1 - def connect(self, port = 'COM3', speed = 115200): + def connect(self, port = 'COM31', speed = 115200): if self.serial != None: self.close() try: diff --git a/Cura/cura_sf/fabmetheus_utilities/settings.py b/Cura/cura_sf/fabmetheus_utilities/settings.py index 70f8965d..92aa1099 100644 --- a/Cura/cura_sf/fabmetheus_utilities/settings.py +++ b/Cura/cura_sf/fabmetheus_utilities/settings.py @@ -236,7 +236,7 @@ def getProfileInformation(): 'Operating_Nozzle_Lift_over_Layer_Thickness_ratio': DEFSET, 'Raft_Additional_Margin_over_Length_%': DEFSET, 'Raft_Margin_mm': storedSettingFloat('raft_margin'), - 'Support_Cross_Hatch': 'False', + 'Support_Cross_Hatch': lambda setting: 'True' if profile.getProfileSetting('support_dual_extrusion') == 'True' and int(profile.getPreference('extruder_amount')) > 1 else 'False', 'Support_Flow_Rate_over_Operating_Flow_Rate_ratio': storedPercentSetting('support_rate'), 'Support_Gap_over_Perimeter_Extrusion_Width_ratio': calcSupportDistanceRatio, 'Support_Material_Choice_': storedSetting('support'), -- 2.30.2