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 create a pattern of extrusions between a series of points along 2 curves?
neobobkrause
Member Posts: 105 EDU
I need to demonstrate how to create a pattern of rods between a series of equally spaced points along 2 closed, non-planar curves.
The document referenced below contains 2 3D helix curves. One is just a rotated copy of the other. The Faulty Pillar Pattern feature at the bottom of the list results in a pattern of pillars that aren't oriented between the points on the 2 curves.
Any help is appreciated.
- Bob
https://cad.onshape.com/documents/8dfc6891ecb886093e70404c/w/7f42e8fc37fdf36cc5629453/e/75fc5fc5d4755991128fedff
The document referenced below contains 2 3D helix curves. One is just a rotated copy of the other. The Faulty Pillar Pattern feature at the bottom of the list results in a pattern of pillars that aren't oriented between the points on the 2 curves.
Any help is appreciated.
- Bob
https://cad.onshape.com/documents/8dfc6891ecb886093e70404c/w/7f42e8fc37fdf36cc5629453/e/75fc5fc5d4755991128fedff
Tagged:
1
Comments
This is a very interesting problem you have here. If possible, you might like to post this as a question in the "Community Support" category where it will likely get more readily answered. I'm interested to find out too.
@neobobkrause
konstantin_shiriazdanov It feels a bit like somebody just peeled back the matrix to demonstrate how the world really works.
The solution you've presented places points along the paths -- but does so in the context of a feature pattern. Your parameter pattern script accomplishes that quite simply by "hijacking" a user-defined variable and causing its value to vary for each instance of a pattern. That's an insightful construct realized in an impressively simple piece of code.
I've always thought of OS as a static declarative system where nothing changes once set. Your code demonstrates that the value of a user-defined variable can change in the context of a feature pattern -- much like a 'for' loop in a procedural language. Whoa. If a for loop is possible, then so are if/then/else constructs and nested code blocks. This changes how I design in OnShape pretty fundamentally.
Thanks for your help and insight.
- Bob