Enable support cross hatch when printing with dual-extrusion support.
This commit is contained in:
parent
99fdeb3c12
commit
d2fc7e9374
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ class Stk500v2(ispBase.IspBase):
|
||||||
self.seq = 1
|
self.seq = 1
|
||||||
self.lastAddr = -1
|
self.lastAddr = -1
|
||||||
|
|
||||||
def connect(self, port = 'COM3', speed = 115200):
|
def connect(self, port = 'COM31', speed = 115200):
|
||||||
if self.serial != None:
|
if self.serial != None:
|
||||||
self.close()
|
self.close()
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -236,7 +236,7 @@ def getProfileInformation():
|
||||||
'Operating_Nozzle_Lift_over_Layer_Thickness_ratio': DEFSET,
|
'Operating_Nozzle_Lift_over_Layer_Thickness_ratio': DEFSET,
|
||||||
'Raft_Additional_Margin_over_Length_%': DEFSET,
|
'Raft_Additional_Margin_over_Length_%': DEFSET,
|
||||||
'Raft_Margin_mm': storedSettingFloat('raft_margin'),
|
'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_Flow_Rate_over_Operating_Flow_Rate_ratio': storedPercentSetting('support_rate'),
|
||||||
'Support_Gap_over_Perimeter_Extrusion_Width_ratio': calcSupportDistanceRatio,
|
'Support_Gap_over_Perimeter_Extrusion_Width_ratio': calcSupportDistanceRatio,
|
||||||
'Support_Material_Choice_': storedSetting('support'),
|
'Support_Material_Choice_': storedSetting('support'),
|
||||||
|
|
Loading…
Reference in a new issue