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.
How do I make a faceted cylinder design?
The_Techy
Member Posts: 6 ✭
Hi!
I'm currently trying to make something with a faceted surface. Basically, I want a cylinder with facets on it. This is the kind of design I want, but on a much smaller cylinder, and with the diamonds rotated 90 degrees from this so they run along the cylinder.
This is the closest I've got so far. However, the diamonds stick out over each other making tons of sharp edges. Any advice on how to achieve an effect closer to the picture above?
Thanks!
I'm currently trying to make something with a faceted surface. Basically, I want a cylinder with facets on it. This is the kind of design I want, but on a much smaller cylinder, and with the diamonds rotated 90 degrees from this so they run along the cylinder.
This is the closest I've got so far. However, the diamonds stick out over each other making tons of sharp edges. Any advice on how to achieve an effect closer to the picture above?
Thanks!
0
Best Answers
-
joshua_wise822 Member Posts: 7 PROYou have successfully nerd sniped me! The thing that I think is a nonobvious gotcha here is that necessarily, each facet that is a quad there cannot be planar (three points define a plane, and the four points of each quad are not coplanar)... so any approach that attempts to call a facet a plane is doomed to failure (as you discovered!). If you want to have triangular facets, of course, that can be done by simplistic plane-based approaches, but to do this, I think the idea is that you want to stitch together surfaces.How about this? In this case, I chose a linear pattern to make the facets along the cylinder outside in a straight line, but if you wanted them to be along a curve, there's no reason you could not do that. I also made the edges lines, but you could make them arcs if you had appropriate sketches along the way. This is probably not the most optimal way to do it, but it sort of gives the idea -- make one set of two rows of facets, then stitch those into a surface, then face-pattern, then boolean merge them, then make a solid.Probably you could write some featurescript to do this. I'm not really cool enough to do that. If someone wrote a feature to do this I'd like to read how you did it, though.Thanks for the challenge!
2 -
EvanReese Member, Mentor Posts: 2,135 ✭✭✭✭✭I noted this one to come back to when I had time. The way @joshua_wise822 did it is very good, and mine is probably overkill, but a fun challenge, and very adaptable once it's set up. Here's a gif of it rebuilding no matter the shape (give it a sec to rebuild). Here's a link to the document. My Freeform Spline custom feature can make a polygon in 3D space and place the points on the base surface based on UV coordinates. I'm using some more advanced approaches to patterns, variables, and using expressions here, which you can learn about in the Onshape learning center. I'm taking advantage of using a "feature pattern" (in the first Circular Pattern) set to "apply per instance", to iterate through some variables, and create each diamond on the UV space of the base surface.
Evan Reese2 -
EvanReese Member, Mentor Posts: 2,135 ✭✭✭✭✭@eric_pesty
It's one of the most brain-hurting workflows I've come up with. I hope to make a video sometime instead of trying to explain it all here.
@The_Techy
I updated it so it makes a solid now using the Enclose feature. I also broke out the uCount and vCount variables as configuration variables to make them easier to tweak. The flexibility of this model makes it easy to solve the "stretched out" diamonds problem.
Evan Reese4
Answers
That feature tree hurts my brain but it's really cool to see how that works!
Here's how it's looking after I adjusted it to the diameters I need https://cad.onshape.com/documents/8ad3b1b406bf3220a4d1e3d9/w/fc8798c474d92921307a86d9/e/264ad14d5fdd55aad3ad745b , now just need it to be 40mm long without 'stretching' the diamonds out. Thanks!
It's one of the most brain-hurting workflows I've come up with. I hope to make a video sometime instead of trying to explain it all here.
@The_Techy
I updated it so it makes a solid now using the Enclose feature. I also broke out the uCount and vCount variables as configuration variables to make them easier to tweak. The flexibility of this model makes it easy to solve the "stretched out" diamonds problem.