Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Circular grid of holes with no partial holes
jon_smirl
Member Posts: 15 ✭✭✭✭
I'm creating a speaker grill for injection molding. It is round and I'd like to punch an array of small holes into the large circle to form the speaker grill. I can make an array of rods, clip it to a circle, and then use it to punch the holes for the grill. But when I clip the array of rods to the larger circle of the speaker I get partial rods. How can I clip this so that I only get entire rods (small holes) and no partial ones?
0
Best Answer
-
philip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381There is a Featurescript example that does exactly this - please try it out!Philip Thomas - Onshape5
Answers
Twitter: @onshapetricks & @babart1977
The wrap tab in this design shows the partial circle holes.
https://cad.onshape.com/documents/5bb44c3ff2a628f2d0bc081a/w/993649e1166c00c4b377bb95/e/81e7faf7f456cff88a836a8b
Go to www.onshape.com/customfeatures and expand the 'more' section. There you will find the 'flood fill' custom feature that i think will do what you're looking for
Have fun
HWM-Water Ltd
Ok gents - does that do what you were looking for?
That one was written by the one and only Paul Chastell (wrote the first Onshape sketcher).
Its one of the few custom features (that what we call them in preference to 'FeatureScript' so that users dont think they have to write any code to use them), that i look at the code and still have no idea how it works! #magic
Its very cool!