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.
New Feature: Speaker Pattern
Speaker Pattern takes a vertex or mate connector as input then patterns cylinders and performs a boolean operation to add or remove them from parts. See the example below:

I just got it to a usable state so I'm sharing here for people to use and so I can get feedback, and there is a lot of room to improve if/when I make the time:
and @konstantin_shiriazdanov

I just got it to a usable state so I'm sharing here for people to use and so I can get feedback, and there is a lot of room to improve if/when I make the time:
- add more pattern types (any suggestions?)
- add end conditions like the extrude feature
- make default size values more practical
- find a way to visually clean up the middle of the Fibonacci pattern (even though it's mathematically "right")
- add an option to select a custom modeled shape to pattern instead of the default cylinder
- any other ideas?
and @konstantin_shiriazdanov
Tagged:
9
Comments
@EvanReese
As it happens, I'm working on a something which needs a pattern of holes for a speaker, and I remembered this feature. It's working well, but it would be really nice to do something like Fill Pattern where you could choose a boundary and optionally a margin. It's not hard to tweak the dimensions to get there, but I suspect that since this was one of your oldest efforts, you might be able to tune this up a lot more easily now.
I'd also love to see some more pattern options. I'm not sure where you'd stop, since there are zillions of them out there, but a few more would be nice.
Simon Gatrall | Staff Mechanical Engineer | Carbon, Inc.
Glad someone is using it! I've considered re-writing this one because, as you say, it's one of my oldest ones and I'd do it differently now. I'm not sure if/when I'd get to that, but would love to see some examples of other things you'd hope to accomplish with it. I've considered blending it with something like Attractor Pattern to accomplish things like this (though this has a bit more going on with the point placement).
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Again, I'm not sure where you'd stop - it's an infinite space, but here are some basic selection of ideas which I could see being incorporated:
https://www.speaker-grill.com
https://www.shutterstock.com/search/similar/428647408
You can quickly go off the deep end with patterns on Pinterest, etc:
https://www.pinterest.com/pin/439171401140112138/
Simon Gatrall | Staff Mechanical Engineer | Carbon, Inc.
Yeah I get the gist, I love that kind of stuff, but it's hard to generalize to a single feature. For many of these I think you'd have to write a custom specifically to achieve that look, which is pretty much what the Grasshopper users of the world are doing, and could be done with FeatureScript too. This one was just meant to automate creating that classic look from Deitur Rams https://www.midcenturyhome.com/dieter-rams-music-player-tp1/
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
@EvanReese I keep trying to get the Rhino jockeys in our office to learn featurescript to do the stuff they're doing in Grasshopper but they tend to be more visual thinkers for coding and don't mind writing a script that takes 20 minutes to run one-shot. They also like to abuse graphmapper inputs for everything and I haven't seen someone implement that yet in featurescript. The animate feature has something sorta like that going on but not for driving surface geometry or patterns. Might be another rainy day project to tackle some time if someone bugs me enough.
I started but didn't yet finish a tool to use a sketch as a graph mapper. Definitely doable. This one remaps the numbers too so the min/max sizes stay the same and the graph controls how it transitions between them.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Hey that's exactly what I was hoping that would look like when I was gonna get into it. Do you have support for piecewise paths for more complex forms?
nice! what do you mean "piecewise paths for more complex forms"? like chains of curves?
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Yeah like say I want to start out and end with linear behavior but smooth between the two with some cubic Bezier curve or spline. Or if I wanted to draw the top half of the batman logo and use it to drive some geometry.
Yeah that's totally possible but I didn't get there. Yet. This was more of a proof of concept. In the end it just spits out an array of values as a variable so I can get at them in any kind of pattern feature later with an iterator variable #i.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com