Cleaned up dogbone dressup.
This commit is contained in:
committed by
Yorik van Havre
parent
b432364830
commit
beaf21d43a
@@ -342,11 +342,6 @@ class Bone:
|
||||
PathLog.debug("adaptive corner=%.2f * %.2f˚ -> bone=%.2f * %.2f˚" % (distance, angle, length, boneAngle))
|
||||
return length
|
||||
|
||||
def edges(self):
|
||||
if not hasattr(self, 'e'):
|
||||
self.e = edgesForCommands(self.commands, self.inChord.Start)
|
||||
return self.e
|
||||
|
||||
class ObjectDressup:
|
||||
|
||||
def __init__(self, obj, base):
|
||||
@@ -405,8 +400,8 @@ class ObjectDressup:
|
||||
PathLog.debug("Taking tangent as intersect %s" % tangent)
|
||||
ppt = pivot + tangent
|
||||
else:
|
||||
PathLog.debug("Taking chord start as intersect %s" % inChordStart)
|
||||
ppt = inChord.Start
|
||||
PathLog.debug("Taking chord start as intersect %s" % edge.Vertexes[0].Point)
|
||||
ppt = edge.Vertexes[0].Point
|
||||
#debugMarker(ppt, "ptt.%d-%s.in" % (self.boneId, d), color, 0.2)
|
||||
PathLog.debug(" --> (%.2f, %.2f)" % (ppt.x, ppt.y))
|
||||
return ppt
|
||||
|
||||
Reference in New Issue
Block a user