diff --git a/cadquery/cq.py b/cadquery/cq.py index cd787dc39..7e04e7ee0 100644 --- a/cadquery/cq.py +++ b/cadquery/cq.py @@ -2476,7 +2476,7 @@ def eachpoint( if useLocalCoordinates: res = [callback(p).move(loc) for p in pnts] else: - res = [callback(p * loc) for p in pnts] + res = [callback(p) for p in pnts] for r in res: if isinstance(r, Wire) and not r.forConstruction: diff --git a/tests/test_cadquery.py b/tests/test_cadquery.py index 4ba12bd27..cc23eb167 100644 --- a/tests/test_cadquery.py +++ b/tests/test_cadquery.py @@ -5119,7 +5119,7 @@ def testEachpoint(self): Face.makePlane(1, 1), ] ) - .eachpoint(lambda l: Face.makePlane(1, 1).locate(l)) + .eachpoint(lambda l: Face.makePlane(1, 1).locate(l), True) ) self.assertTrue(len(r1.objects) == 4)