Hi

Could help me with what should be a simple equation for an equation expert!!!

In the attached there is a frame work. What I would like is to come up with an equation that would equally space out the inner tubes regardless of how many there are. So for example I would like 4 inner tubes with 5 equal gaps, if however I wanted to change it to 7 spaces the gaps would respace automatically.

This attached is just an assembly for this exercise, however this is something that crops up quite a lot in my work and at the moment I'm getting out the calculator and doing the maths. I'm sure it would be much easier if I could do it with an equation.

Any help would be greatly appreciated.

Thanks

Steve

Hi Steve,

I put together the equation then realised it was a 2015 file so couldn't send you back:

"Inside Width" = Use the ref dimension you have

"Width of Component" = Create a ref dimension of the width of the first member in the series

"Number of Instances" = Driven by pattern instances

"Free Space" = "Inside Width" - ("Number of Instances" * "Width of Component")

"First Component Space" = "Free Space" / ("Number of Instances + 1)

"Pattern Spacing" = "First Componenty Space" + "Width of Component"

Then apply width mate to position first component and apply variable First Component SPace to drive this and Pattern spacing to drive component pattern spacing.

Hope this makes sense. See below for an example.