slot(): Set angle default to zero

This commit is contained in:
bweissinger
2019-09-09 00:44:50 -05:00
parent fd3a61972c
commit b80ab618a1

View File

@ -1346,7 +1346,7 @@ class Workplane(CQ):
newCenter = p + Vector(xDist, yDist, 0)
return self.newObject([self.plane.toWorldCoords(newCenter)])
def slot(self, length, diameter, angle):
def slot(self, length, diameter, angle=0):
"""
Creates a rounded slot for each point on the stack.