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.
Can you create a linear part pattern with the distance between entities growing or shrinking?
mspiccione
Member Posts: 3 EDU
For example, I'm trying to pattern the frets/fret spacing on a guitar and each fret is 1/(2^(1/12)) (about 0.94387) smaller than the next starting at the top of the neck and the first fret is about 1.431 away. the second is 1.3506 away from the first. I tried using variables that built on each other like #fretspace = #fretspace*.94387 with the spacing but when setting the distance as a function in the linear pattern(feature), it sets the variable to number so it doesn't change with each iteration. thanks for the help
Tagged:
0
Answers
I think what you need to do is create the first fret, then create the second one as a transform using "#fretspace" for the spacing, and then you can pattern that.
It looks like you also need a "counter" to multiply the spacing as it's always applied as an offset from the initial source part so it's a bit tricky to get what you want...
Maybe something like this: https://cad.onshape.com/documents/46a326b4a97bd99579866e64/w/98aff52f023b0b23139beb54/e/b0ee1add00fe2cfd11116696?renderMode=0&rightPanel=variableTablePanel&uiState=635c37154412af2de05532db
Website: ovyl.io
Here is one with a logorithim pattern
edit: here it is ---> https://cad.onshape.com/documents/4033d77aa314484c4e6cef03/v/30b45e4448b3a51bb8bab034/e/6b86baf93f53be5ddf00a926
It is not intended as any other than a proof of concept. I put this together ages ago and would write it completely differently next time around. But it was a fun experiment.