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

Class Curve


The Curve Object

Curve datablock storing curves, splines and NURBS.

References

Instance Methods [hide private]
 
animation_data_clear()
Clear animation on this this ID. (Inherited from bpy.types.ID)
AnimData
animation_data_create()
Create animation data to this ID, note that not all ID types support this. (Inherited from bpy.types.ID)
ID
copy()
Create a copy of this datablock (not supported for all datablocks). (Inherited from bpy.types.ID)
Instance Variables [hide private]
Nurb (readonly) active_spline
The active editmode spline
AnimData (readonly) animation_data
Animation data for this datablock.
boolean auto_texspace
Adjusts active object's texture space automatically when transforming object.
boolean back
Draw filled back for extruded/beveled curves.
float in [-inf, inf] bevel_depth
Bevel depth when not using a bevel object.
Object bevel_object
Curve object name that defines the bevel shape.
int in [0, 32] bevel_resolution
Bevel resolution when depth is non-zero and no specific bevel object has been defined.
enum dimensions
Select 2D or 3D curve type.
boolean draw_handles
Display bezier handles in editmode.
boolean draw_normals
Display 3D curve normals in editmode.
float in [-inf, inf] eval_time
Parametric position along the length of the curve that Objects 'following' it should be at.
float in [-inf, inf] extrude
Amount of curve extrusion when not using a bevel object.
boolean fake_user
Saves this datablock even if it has no users (Inherited from bpy.types.ID)
boolean front
Draw filled front for extruded/beveled curves.
Library (readonly) library
Library file the datablock is linked from. (Inherited from bpy.types.ID)
Collection of Material (readonly) materials
Materials
string name
Unique datablock ID name. (Inherited from bpy.types.ID)
int in [1, 32767] path_length
If no speed IPO was set, the length of path in frames.
int in [-32768, 32767] render_resolution_u
Surface resolution in U direction used while rendering.
int in [-32768, 32767] render_resolution_v
Surface resolution in V direction used while rendering.
int in [-32768, 32767] resolution_u
Surface resolution in U direction.
int in [-32768, 32767] resolution_v
Surface resolution in V direction.
boolean retopo
Turn on the re-topology tool.
Key (readonly) shape_keys
Shape Keys
Collection of Nurb (readonly) splines
Collection of splines in this curve data object.
boolean tag
Tools can use this to tag data, (initial state is undefined). (Inherited from bpy.types.ID)
Object taper_object
Curve object name that defines the taper (width).
float array of 3 items in [-inf, inf] texspace_loc
Texture space location.
float array of 3 items in [-inf, inf] texspace_size
Texture space size.
enum twist_mode
The type of tilt calculation for 3D Curves.
float in [-inf, inf] twist_smooth
Smoothing iteration for tangents
boolean use_path
Enable the curve to become a translation path.
boolean use_path_follow
Make curve path children to rotate along the path.
boolean use_radius
Option for paths: apply the curve radius with path following it and deforming.
boolean use_stretch
Option for curve-deform: makes deformed child to stretch along entire path.
boolean use_time_offset
Children will use TimeOffs value as path distance offset.
int (readonly) in [0, 32767] users
Number of times this datablock is referenced. (Inherited from bpy.types.ID)
float in [-inf, inf] width
Scale the original width (1.0) based on given factor.
Instance Variable Details [hide private]

dimensions

Select 2D or 3D curve type. in...
  • 2D
  • 3D
Type:
enum

render_resolution_u

Surface resolution in U direction used while rendering. Zero skips this property.
Type:
int in [-32768, 32767]

render_resolution_v

Surface resolution in V direction used while rendering. Zero skips this property.
Type:
int in [-32768, 32767]

twist_mode

The type of tilt calculation for 3D Curves. in...
  • Z_UP
  • MINIMUM
  • TANGENT
Type:
enum