Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
2. Need support? Ask a question to our Community Support category.
3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
4. 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.

Options

# Patterning guitar fret positions

Member Posts: 6
I used Pro/ENGINEER and then Creo for about 25 years. In that software it is possible, and fairly easy, to position/space the instances (individual elements) of a linear pattern using a formula. I've not been able to figure out a way to do that in Onshape. Anyone know how to do that?

Specifically, I want to position, say, 20 frets based on a recursive geometric series given by the formula L(n) = x(1-(2**(-n/12)), that is, 2 to the exponent (-n/12). The fret number, n, automatically increases by 1 with each fret and the scale length is x. That is, supplying a value for "x", such as 660 mm, with an automatically increasing index, n, would give me "n" correctly spaced fret positions, where "n" would be the number of instances (elements) in the pattern. Either patterning a sketched line or an extruded feature would work.

Currently, I have accomplished it for a specific scale length of 660 mm by providing a "dumb" dimension between a reference point and each fret, i.e. 20 individual dimensions, one for each fret. I'd like to automate that with the use of parameters, an equation and a pattern. Is that possible in Onshape?