Enable support cross hatch when printing with dual-extrusion support.

master
daid303 2012-11-07 18:39:27 +01:00
parent 99fdeb3c12
commit d2fc7e9374
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View 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'),