Merge pull request #11927 from bdieterm/fix-path-profile
Path: fix wire midpoint calculation
This commit is contained in:
@@ -1449,8 +1449,7 @@ class ObjectProfile(PathAreaOp.ObjectOp):
|
||||
wL = wire.Length
|
||||
midW = wL / 2
|
||||
|
||||
for e in range(0, len(wire.Edges)):
|
||||
E = wire.Edges[e]
|
||||
for E in Part.sortEdges(wire.Edges)[0]:
|
||||
elen = E.Length
|
||||
d_ = dist + elen
|
||||
if dist < midW and midW <= d_:
|
||||
|
||||
Reference in New Issue
Block a user