Path: Fix variable naming to use lowercase

This commit is contained in:
Russell Johnson
2021-02-24 20:53:15 -06:00
parent ccba37af3e
commit b76b1fae97

View File

@@ -868,16 +868,16 @@ class ObjectSlot(PathOp.ObjectOp):
def _processSingleComplexFace(self, obj, shape):
"""Determine slot path endpoints from a single complex face."""
PathLog.debug('_processSingleComplexFace()')
PNTS = list()
pnts = list()
def zVal(V):
return V.z
def zVal(p):
return p.z
for E in shape.Wires[0].Edges:
p = self._findLowestEdgePoint(E)
PNTS.append(p)
PNTS.sort(key=zVal)
return (PNTS[0], PNTS[1])
pnts.append(p)
pnts.sort(key=zVal)
return (pnts[0], pnts[1])
def _processSingleVertFace(self, obj, shape):
"""Determine slot path endpoints from a single vertically oriented face