Rolling a rack to create a gear profile

 From:  Fubax
11914.6 In reply to 11914.3 
@Michael Gibson sorry for confusing explanation.

My ArrayRoll differs from Circular Array by putting this equation into the Radial Step field:
- RollDiameter * PI * (AngleToFill / 360) / (ItemCount - 1)
where user has to enter only the circle diameter on which the arrayed item will roll. Here's a visual example ot normal array, vs roll array:

Normal array:

Roll circular array:


The roll shifts the rack perpendicularly to the curve normal at given step by the arc-length of the step.

Now I want to do the same with Curve Array, to shift the arrayed object perpendicularly to the path curve normal (or in other words parallel to the path curve) at a each step of the array, by the length of the step-segment of the path curve.
For a circle it is a simple slicing of circumference value by step size to get the offset. If the Curve array distributes the elements at a constant-length segments of the path curve, the equation would be simple.


@Peer and @Pilou thanks for pointing out the Gearotic, didn't know about it, the price is kind of high doe.
Attachments: