Rotate Array Elements

 From:  Michael Gibson
5176.7 In reply to 5176.6 
Hi Sharif - I see - so if you want to do something specifically like the Loft pattern example there, that involves a rotation around the curve's own tangent which would not be very feasible for a post-processing script like ScaleArray to handle, at least not currently without having more access to curve evaluation from scripts. That's because the axis of rotation is not fixed, it's changing to a different axis at different locations along the curve.

But you could try a totally different method of doing a Twist on a straight object and then using Flow to map that straight object onto a curve - that might be able to give you that same kind of effect.

That would go like this - starting with these curves:



Here's a Loft to make the base object:



Then using Twist to twirl it around a single straight axis:



Then using Flow with that central axis line as the base curve, and the other curve as the target curve will produce this:



Flow can be very useful for making various kinds of patterns that go along a curve, since it allows you to construct the pattern in a totally straight version initially which tends to be much easier to arrange. Then you map that straight pattern onto the curve using Flow.

- Michael