Skip to content

Commit d4070b4

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

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
@@ -346,7 +346,7 @@ def parray(self: T, r: Real, a1: Real, da: Real, n: int, rotate: bool = True) ->
346346

347347
locs = []
348348

349-
if abs(remainder(da, 360)) < 1e-3:
349+
if abs(remainder(da, 360)) < 1e-6:
350350
angle = da / n
351351
else:
352352
angle = da / (n - 1) if n > 1 else a1

0 commit comments

Comments
 (0)