NURBS Curve to Spline Shape converter (beta v.0.9)

An old problem: how to convert NURBS curve to regular
spline shape - Now it is gone... here's a MAX Script that will do it.

This is a new version of this script, but still beta. It still has
one limitation: It doesn't convert correctly closed NURBS curves -
it doesn't close the converted shapes, you have to close them
manually.

There is a special version of this script that is updated
to work with MAX R3.

Jarek Dukat
http://www.nautilus.com.pl/jarek
jarek@nautilus.com.pl


-------------------------------------------------------------------------------------------
-- Updated for max v5
-- by thorn
-- http://www.neverwake.com

-- version .9b BETA
-- rearranged code order to declare ConvertCurve FN before the pickbutton is evaluated, should work with CV Curves on first try
-- still need to incorporate error checking... it's not fatal so i'm not losing much sleep over it yet...

-- version .9a BETA
-- max v5 compatibility update
-- converted from Utility to Floater
-- no error checking to ensure user picks a nurbs curve for conversion. Non-fatal exception thrown.

-- version .9 BETA
-- initial downloaded release
-------------------------------------------------------------------------------------------