Package bpy :: Module types :: Class Nurb
[hide private]
[frames] | no frames]

Class Nurb

The Spline Object

Element of a curve, either Nurbs, Bezier or Polyline or a character with text objects.

References

Instance Variables [hide private]
Collection of BezierSplinePoint (readonly) bezier_points
Collection of points for bezier curves only.
boolean bezier_u
Make this nurbs curve or surface act like a bezier spline in the U direction (Order U must be 3 or 4, Cyclic U must be disabled).
boolean bezier_v
Make this nurbs surface act like a bezier spline in the V direction (Order V must be 3 or 4, Cyclic V must be disabled).
int (readonly) in [0, inf] character_index
Location of this character in the text data (only for text curves)
boolean cyclic_u
Make this curve or surface a closed loop in the U direction.
boolean cyclic_v
Make this surface a closed loop in the V direction.
boolean endpoint_u
Make this nurbs curve or surface meet the endpoints in the U direction (Cyclic U must be disabled).
boolean endpoint_v
Make this nurbs surface meet the endpoints in the V direction (Cyclic V must be disabled).
boolean hide
Hide this curve in editmode.
int in [0, 32767] material_index
Material Index
int in [2, 6] order_u
Nurbs order in the U direction (For splines and surfaces), Higher values let points influence a greater area
int in [2, 6] order_v
Nurbs order in the V direction (For surfaces only), Higher values let points influence a greater area
int (readonly) in [-32768, 32767] point_count_u
Total number points for the curve or surface in the U direction
int (readonly) in [-32768, 32767] point_count_v
Total number points for the surface on the V direction
Collection of SplinePoint (readonly) points
Collection of points that make up this poly or nurbs spline.
enum radius_interpolation
The type of radius interpolation for Bezier curves.
int in [1, 1024] resolution_u
Curve or Surface subdivisions per segment
int in [1, 1024] resolution_v
Surface subdivisions per segment
boolean smooth
Smooth the normals of the surface or beveled curve.
enum tilt_interpolation
The type of tilt interpolation for 3D, Bezier curves.
enum type
The interpolation type for this curve element.
Instance Variable Details [hide private]

radius_interpolation

The type of radius interpolation for Bezier curves. in...
  • LINEAR
  • CARDINAL
  • BSPLINE
  • EASE
Type:
enum

tilt_interpolation

The type of tilt interpolation for 3D, Bezier curves. in...
  • LINEAR
  • CARDINAL
  • BSPLINE
  • EASE
Type:
enum

type

The interpolation type for this curve element. in...
  • POLY
  • BEZIER
  • BSPLINE
  • CARDINAL
  • NURBS
Type:
enum