Skip to content

Commit ba33e79

Browse files
authored
stop eachpoint(..., useLocalCoordinates=False) from manipulating the object's location
fixes CadQuery#1099
1 parent a5fadeb commit ba33e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadquery/cq.py

+1-1
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(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)