Make comb use a larger distance between the outer edge and the move, this hopefully removes the ugly outsides on a print when combing.
parent
dc194ea1c0
commit
d59953be3e
|
@ -365,12 +365,12 @@ class CombSkein:
|
||||||
beginIndex = pointIndex - 1
|
beginIndex = pointIndex - 1
|
||||||
if beginIndex >= 0:
|
if beginIndex >= 0:
|
||||||
begin = shortestPath[beginIndex]
|
begin = shortestPath[beginIndex]
|
||||||
centerPerpendicular = intercircle.getWiddershinsByLength(center, begin, self.edgeWidth)
|
centerPerpendicular = intercircle.getWiddershinsByLength(center, begin, self.edgeWidth*2.0)
|
||||||
centerEnd = None
|
centerEnd = None
|
||||||
endIndex = pointIndex + 1
|
endIndex = pointIndex + 1
|
||||||
if endIndex < len(shortestPath):
|
if endIndex < len(shortestPath):
|
||||||
end = shortestPath[endIndex]
|
end = shortestPath[endIndex]
|
||||||
centerEnd = intercircle.getWiddershinsByLength(end, center, self.edgeWidth)
|
centerEnd = intercircle.getWiddershinsByLength(end, center, self.edgeWidth*2.0)
|
||||||
if centerPerpendicular == None:
|
if centerPerpendicular == None:
|
||||||
centerPerpendicular = centerEnd
|
centerPerpendicular = centerEnd
|
||||||
elif centerEnd != None:
|
elif centerEnd != None:
|
||||||
|
|
Loading…
Reference in New Issue