SI_NurbsCurve

Stores NURBS curve information. It is similar to the NURBS Surface template except one parameter is used (either u or v) instead of two (u and v).

SI_NurbsCurves always stores curve data in IGES format.

 

This template corresponds to the CSLNurbsCurve class.

Introduced

3.0

Template

SI_NurbsCurve
{
   <degree>,
   <closed>,
   <paramType>,
   <nbKnots>,
   <knots>,
   <nbControlPoints>,
   <controlPoints>,
}

Example

XSI_CurveList circle
{
   SI_NurbsCurve  circle
   {
       3;
       1;
       0;
       15;
       -2.000000; -2.000000; -1.000000; 0.000000;
       1.000000; 2.000000; 3.000000;4.000000; 5.000000;
       6.000000; 7.000000; 8.000000; 9.000000;
       10.000000;10.000000;;
       11;
       0.000000;5.540971;0.000000;1.000000;,
       3.918058;3.918058;0.000000;1.000000;,
       5.540971;0.000000;0.000000;1.000000;,
       3.918058;-3.918058;0.000000;1.000000;,
       0.000000;-5.540971;0.000000;1.000000;,
       -3.918058;-3.918058;0.000000;1.000000;,
       -5.540971;0.000000;0.000000;1.000000;,
       -3.918058;3.918058;0.000000;1.000000;,
       0.000000;5.540971;0.000000;1.000000;,
       3.918058;3.918058;0.000000;1.000000;,
       5.540971;0.000000;0.000000;1.000000;;
   }
}


Autodesk Crosswalk v5.0