chiark / gitweb /
Enable support cross hatch when printing with dual-extrusion support.
authordaid303 <daid303@gmail.com>
Wed, 7 Nov 2012 17:39:27 +0000 (18:39 +0100)
committerdaid303 <daid303@gmail.com>
Wed, 7 Nov 2012 17:39:27 +0000 (18:39 +0100)
Cura/avr_isp/stk500v2.py
Cura/cura_sf/fabmetheus_utilities/settings.py

index 8e246b91ef3aed080f90d3d0ee55838e48042b0f..f22f50f9fbc9c1fa948fd557dcd68862e04c8261 100644 (file)
@@ -11,7 +11,7 @@ class Stk500v2(ispBase.IspBase):
                self.seq = 1\r
                self.lastAddr = -1\r
        \r
-       def connect(self, port = 'COM3', speed = 115200):\r
+       def connect(self, port = 'COM31', speed = 115200):\r
                if self.serial != None:\r
                        self.close()\r
                try:\r
index 70f8965d5ff72bd9accc856462ed83dc5927866f..92aa10991d17d1f041f2a843efe80633c861efdd 100644 (file)
@@ -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'),