I posted a question a few weeks ago and I got a set of equations to make the pattern count change as the part got longer. Now I'm trying to add to it without any luck.

I want to write a set of equations that will calculate the amount of extra material there is after the last pattern and change the spacing of the pattern so all are equally spaced. In other words, if I have a pattern that needs 4" before the next one can be added and the block has 3" of extra material, take the 3" and divide it up equally among all patterns.

I attached what I've been working on. Let me know if it can be done.

Thanks!

If I understand your requirements, the set of equations in the attached part will meet your needs. The attributes that are inputs are the hole diameter, the length on the part, and the minimum space between holes (the "rib" left over).

Jeremy