Skip to content

Commit 57a9188

Browse files
Apply suggestions from code review
Co-authored-by: AU <[email protected]>
1 parent a8a775c commit 57a9188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadquery/sketch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def parray(self: T, r: Real, a1: Real, da: Real, n: int, rotate: bool = True) ->
369369
l
370370
* el
371371
* Location(
372-
Vector(0, 0), Vector(0, 0, 1), (a1 + (angle * i)) * int(rotate)
372+
Vector(0, 0), Vector(0, 0, 1), (a1 + (angle * i)) if rotate else 0
373373
)
374374
)
375375
for i, l in enumerate(locs)

0 commit comments

Comments
 (0)