Dividing up a line script?

 From:  rhodesy
2489.1 
Is there a script out the that will divide up a line (straight or curved) into either equal sections or specified distances? Even better would be a way to facet a curve at the same time. I had a look at quicksplit but i don't think it's quite the same. Im thinking this would be useful for curved glazing systems which will be faceted rather than smooth.

Cheers
Rob