From: Daid Date: Wed, 20 Jun 2012 00:35:47 +0000 (+0200) Subject: Make comb use a larger distance between the outer edge and the move, this hopefully... X-Git-Tag: 12.07~39 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d59953be3ebf7049de6cdb074c9ae5687f7a7b33;p=cura.git Make comb use a larger distance between the outer edge and the move, this hopefully removes the ugly outsides on a print when combing. --- diff --git a/Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/comb.py b/Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/comb.py index 665f7bfc..69f2caa2 100644 --- a/Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/comb.py +++ b/Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/comb.py @@ -365,12 +365,12 @@ class CombSkein: beginIndex = pointIndex - 1 if beginIndex >= 0: begin = shortestPath[beginIndex] - centerPerpendicular = intercircle.getWiddershinsByLength(center, begin, self.edgeWidth) + centerPerpendicular = intercircle.getWiddershinsByLength(center, begin, self.edgeWidth*2.0) centerEnd = None endIndex = pointIndex + 1 if endIndex < len(shortestPath): end = shortestPath[endIndex] - centerEnd = intercircle.getWiddershinsByLength(end, center, self.edgeWidth) + centerEnd = intercircle.getWiddershinsByLength(end, center, self.edgeWidth*2.0) if centerPerpendicular == None: centerPerpendicular = centerEnd elif centerEnd != None: