diff --git a/src/Mod/Path/PathScripts/PathDressupDogbone.py b/src/Mod/Path/PathScripts/PathDressupDogbone.py index 22097f5d5f..50ae380533 100644 --- a/src/Mod/Path/PathScripts/PathDressupDogbone.py +++ b/src/Mod/Path/PathScripts/PathDressupDogbone.py @@ -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