Make comb use a larger distance between the outer edge and the move, this hopefully removes the ugly outsides on a print when combing.

master
Daid 2012-06-20 02:35:47 +02:00
parent dc194ea1c0
commit d59953be3e
1 changed files with 2 additions and 2 deletions

View File

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