Replies: 2 comments 4 replies
-
Here is an example where the cylinders are combined with the base and where a z offset is applied before calling eachpoint. def my_func(loc):
return cq.Workplane("XY").circle(5).extrude(40).val().move(loc)
# Create a base object with a defined workplane
base = cq.Workplane("XY")
res = base.box(100, 100, 1.2)
res = res.workplane(offset=1.2 / 2)
res = res.rarray(10, 10, 5, 10, center=True).eachpoint(my_func, combine=True) |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to call my_func from rarray.eachpoint. This is my code with error:
Beta Was this translation helpful? Give feedback.
All reactions