I am currently writing an autorigger for a variant of a ribbon rig in maya. since day one I have the problem that I never get a nice nurbs surface.
imagine the curve to be a straight line from (0,0,0) to (10,0,0). to loft a surface from that I’d usally duplicate the curve and move it +1 on the z-axis. that way I get two parallel curves. this works in a couple of cases but for example not if the curve is parallel to the z-axis my nurbs surface ends up beeing infinitly narrow. if I’d do this by hand of course I would just move the duplicated curve another way but since this is scripted I have to figure out a different way. additionally this does of course not work well for acutally curvy curves because they do not end up beeing the same width all the time.
any help and ideas are appreciated