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.
Reverse Direction of Curve Pattern
john_mcclary
Member, Developers Posts: 3,938 PRO
I can't figure out how to reverse the direction of this curve pattern
I need 1 part in the direction shown (lower clockwise), and one part in the opposite direction (higher counterclockwise).
But both helix curves put the part lower clockwise.
If I then hide part<1> and pattern part<2> using the same curve; it then makes a new part in the same position as part<1>
How can I control the direction of the pattern?
How come there isn't an option to flip the direction along the curve
Thanks
https://cad.onshape.com/documents/28050bca2b1ddeb0acbab720/w/72369ffa7faabbf84de28ab1/e/c327eb1c365e08ad62fdd2dd
I need 1 part in the direction shown (lower clockwise), and one part in the opposite direction (higher counterclockwise).
But both helix curves put the part lower clockwise.
If I then hide part<1> and pattern part<2> using the same curve; it then makes a new part in the same position as part<1>
How can I control the direction of the pattern?
How come there isn't an option to flip the direction along the curve
Thanks
https://cad.onshape.com/documents/28050bca2b1ddeb0acbab720/w/72369ffa7faabbf84de28ab1/e/c327eb1c365e08ad62fdd2dd
0
Best Answer
-
robert_morris OS Professional, Developers Posts: 170 PROThe original Curve Pattern FeatureScript written by Jon Sorrells has an option to reverse the direction.
It has some other options that aren't in the official tool as well.
Link: https://cad.onshape.com/documents/572e1daae4b085edae52bf83/v/5450ca5527083685b67ddbd6/e/0de35a1a831305b2b691a995
1
Answers
the question is how curve pattern select start and end point of the curve. i didn't dig into it source code, but based on it's behavior seems like it takes the nearest (by some criteria) point as a start and the farthest as the end, so i made one end of helix more distant from the body and it worked as you expect it. though it might still don't suit for your particular case
Link to IR
It has some other options that aren't in the official tool as well.
Link: https://cad.onshape.com/documents/572e1daae4b085edae52bf83/v/5450ca5527083685b67ddbd6/e/0de35a1a831305b2b691a995
It's unfortunate the OS standard isn't anything near this script. This script is better than solidworks too