Finding proper offset for a SplineHelp()

On 14/11/2013 at 12:50, xxxxxxxx wrote:

Back again, been stumped on this for three days now.

This is only the first part of a larger thing I'm trying to build, for the most part it's replicating the functionality of 'Create Outline'.

It seems to work find on hard edged splines (that only have one segment so far).
However as soon as I feed it a spline with curves it behaves very oddly.

In the linked file it works fine with the letter K, but swap the text object to a 'G'. Why doesn't the point count correspond to the spline's points anymore? Thus causing the points flying all oner the place.

Perhaps a better question is how do I get the proper 'offset' that Splinehelp() needs to correspond to each point to get the crossnormal?

Thanks for taking the time to look. Any help would get me out of a three day slump!

Chris Schmidt