Accept 1 in NumberPolar parameter
Setting the NumberPolar parameter to 1 resulted in a ZeroDivisionError.
This commit is contained in:
@@ -468,7 +468,7 @@ def polar_placements(base_placement,
|
||||
# print("angle ",angle," num ",num)
|
||||
placements = [base_placement.copy()]
|
||||
|
||||
if number == 0:
|
||||
if number <= 1:
|
||||
return placements
|
||||
|
||||
if angle == 360:
|
||||
|
||||
Reference in New Issue
Block a user