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.
Linear Pattern: specify direction with xyz coordinates

I want to do a Linear Pattern in a non trivial direction (3 dimensional diagonal direction). It has to be done by eye. I cant find a way to simply play with xyz values for the direction until it fits. Any ideas?
Thanks!
Tagged:
0
Answers
Create a helper sketch before. Then use sketch items to orient the pattern directions. After removing the dimensions from the pattern, you can constrain them to whatever you have.
What I mean is having what Transform provides in Linear Pattern, i.e. Translate by XYZ. Doesn't seem possible. I have to hack around creating 3D Fit Splines.
Can you share an example of what your trying to do? Methods and ideas might be different depending on what the goal is
A diagonal is always a straight line, so there can be a plane coincident with the line. Just create the plane, sketch out the line on it and then use that. There might be other approaches, depending on what you want.
https://cad.onshape.com/documents/f080bd4c9f812dc5ddd91d04/w/46c90088202f081c9b3818c5/e/36d955e081b899f914d1dbf9?renderMode=0&uiState=68b5a921014e370ee81219cd
In this case it is two angles that control the direction. You could also create a Mate Connector in a XYZ location, then make the line beween origin and the MC to use as the direction.
Then, the coordinates in the MC edit box control the direction.
So this would be more of a feature request to be added to Linear Pattern, to provide a drop down list with Direction and Offset, where Direction is what we have now and Offset would enable you to specify XYZ values (exactly like in Transform - Translate by XYZ).
Though not a big deal. Thanks for providing alternative solutions.