Uh oh... Now you've confused me.
Lol, but yeah, it's a duplicate of the same shape. Basically, I want to duplicate a NURBS curve, and then constrain the original nurbs shape to a joint... Only the curve flips all crazy to align itself with the joint, so then I'd be using the script to iterate through each point on the constrained object and move it to the world space coordinates of the duplicated object.
So, what you're talking about is for an actual NURBS shape, correct???
Here, here's a generic very basic beginning blocks of the code for now: