Announcements
Notice: Upload of PDF documents is currently unavailable across the Community due to an ongoing issue.

Formula Based Feature Pattern

Formula Based Feature Pattern

ottew3
Explorer Explorer
820 Views
4 Replies
Message 1 of 5

Formula Based Feature Pattern

ottew3
Explorer
Explorer

Some background info: I am designing a guitar neck and modeling where to put the fret slots in the fretboard. The below equation is for the placement of these slots.

 

I would like to create a series of extrusion features based on a pattern with the following formula: d = s – (s / (2 ^ (n / 12)))

 

Where d is the distance from the origin, s is a static parameter and n is the integer of the pattern occurence (i.e., 1, 2, ..., up to the total number of frets.

 

Is there a way to do this without additional scripting? I was able to make this happen with a script but am curious if there is any built-in functionality that would be simpler.

 

The ideal state: I provide the s and n parameters and it makes n rectangular extrudes.

 

Thanks in advance.

0 Likes
Accepted solutions (1)
821 Views
4 Replies
Replies (4)
Message 2 of 5

TheCADWhisperer
Consultant
Consultant

@ottew3 

Yes, but make it a Body (or Feature) Pattern rather than a sketch pattern.

Attach your attempt here.

TheCADWhisperer_2-1739120508487.png

 

 

s is a reserved name so I used svalue as the variable name.

 

Edit:  I think I misunderstood the problem description as I was only thinking about the formula that you wrote and not the Design Intent.

Message 3 of 5

g-andresen
Consultant
Consultant
Accepted solution

Hi,

Patterns are only possible with equal spacing between the elements.

 

Günther

Message 4 of 5

ottew3
Explorer
Explorer

I could have been clearer with the question and attached this picture in the original post. I want something that ends up looking like this:

 

Screenshot 2025-02-09 132231.png

 

Without having to make a bunch of different parameters. Basically, a non-linear pattern spacing.

0 Likes
Message 5 of 5

donsmac
Collaborator
Collaborator

GUITAR FRET BOARD: simple solution for layout out fret positions, (no math) posted 09-25-2020

 

Link:

https://forums.autodesk.com/t5/fusion-support-forum/guitar-fret-board-simple-solution-for-layout-out...

donsmac_0-1752969112137.jpeg

Follow the link to see the 'how to video'.