Trying to write a simple script using the C++ SDK, I have managed to get a NURB surface. But how do I get the information about the nurbs…?
What I need is: The knot vector with weights, coordinates and the degree
Trying to write a simple script using the C++ SDK, I have managed to get a NURB surface. But how do I get the information about the nurbs…?
What I need is: The knot vector with weights, coordinates and the degree
If you’re working on a “simple script”, there are easier ways than C++ (which is in my opinion the most complicated). Rhinoceros can be programmed with Python and C#, both of which are to be preferred above C++.
Check out the various options here http://wiki.mcneel.com/developer/home
To try to answer your question though, for C++, there are code samples here:
http://wiki.mcneel.com/developer/sdksamples/knowledgebasecpp
Specifically I suppose
http://wiki.mcneel.com/developer/sdksamples/createnurbssurface
You can always use Rhino’s List command…