Skip to content

Commit 5881c36

Browse files
authored
fix eachpoint() with useLocalCoordinates=False coordinate transformation
1 parent a5fadeb commit 5881c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadquery/cq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,7 @@ def eachpoint(
24762476
if useLocalCoordinates:
24772477
res = [callback(p).move(loc) for p in pnts]
24782478
else:
2479-
res = [callback(p * loc) for p in pnts]
2479+
res = [callback(loc * p) for p in pnts]
24802480

24812481
for r in res:
24822482
if isinstance(r, Wire) and not r.forConstruction:

0 commit comments

Comments
 (0)