Fixed formating
This commit is contained in:
parent
42dafd7565
commit
c4e2a8982f
1 changed files with 9 additions and 9 deletions
|
|
@ -32,9 +32,9 @@ class MachineShapeTypes(object):
|
||||||
CIRCULAR = "circular"
|
CIRCULAR = "circular"
|
||||||
|
|
||||||
class RetractionCombingTypes(object):
|
class RetractionCombingTypes(object):
|
||||||
OFF = "off"
|
OFF = "off"
|
||||||
ALL = "all"
|
ALL = "all"
|
||||||
NO_SKIN = "no skin"
|
NO_SKIN = "no skin"
|
||||||
|
|
||||||
class GcodeFlavors(object):
|
class GcodeFlavors(object):
|
||||||
REPRAP = "reprap"
|
REPRAP = "reprap"
|
||||||
|
|
@ -396,11 +396,11 @@ class Profile(object):
|
||||||
"First extruder": SupportDualTypes.FIRST,
|
"First extruder": SupportDualTypes.FIRST,
|
||||||
"Second extruder": SupportDualTypes.SECOND
|
"Second extruder": SupportDualTypes.SECOND
|
||||||
},
|
},
|
||||||
retraction_combing={
|
retraction_combing={
|
||||||
"Off": RetractionCombingTypes.OFF,
|
"Off": RetractionCombingTypes.OFF,
|
||||||
"All": RetractionCombingTypes.ALL,
|
"All": RetractionCombingTypes.ALL,
|
||||||
"No Skin": RetractionCombingTypes.NO_SKIN
|
"No Skin": RetractionCombingTypes.NO_SKIN
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
result = dict()
|
result = dict()
|
||||||
|
|
@ -875,7 +875,7 @@ class Profile(object):
|
||||||
"retractionAmountExtruderSwitch": self.get_microns("retraction_dual_amount"),
|
"retractionAmountExtruderSwitch": self.get_microns("retraction_dual_amount"),
|
||||||
"retractionZHop": self.get_microns("retraction_hop"),
|
"retractionZHop": self.get_microns("retraction_hop"),
|
||||||
"minimalExtrusionBeforeRetraction": self.get_microns("retraction_minimal_extrusion"),
|
"minimalExtrusionBeforeRetraction": self.get_microns("retraction_minimal_extrusion"),
|
||||||
"enableCombing": 1 if self.get("retraction_combing") == RetractionCombingTypes.ALL else (2 if self.get("retraction_combing") == RetractionCombingTypes.NO_SKIN else 0),
|
"enableCombing": 1 if self.get("retraction_combing") == RetractionCombingTypes.ALL else (2 if self.get("retraction_combing") == RetractionCombingTypes.NO_SKIN else 0),
|
||||||
"multiVolumeOverlap": self.get_microns("overlap_dual"),
|
"multiVolumeOverlap": self.get_microns("overlap_dual"),
|
||||||
"objectSink": max(0, self.get_microns("object_sink")),
|
"objectSink": max(0, self.get_microns("object_sink")),
|
||||||
"minimalLayerTime": self.get_int("cool_min_layer_time"),
|
"minimalLayerTime": self.get_int("cool_min_layer_time"),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue