Curve(ID)

base classes — bpy_struct, ID

subclasses — SurfaceCurve, TextCurve

class bpy.types.Curve(ID)

Curve datablock storing curves, splines and NURBS

animation_data

Animation data for this datablock

Type :AnimData, (readonly)
bevel_depth

Bevel depth when not using a bevel object

Type :float in [-inf, inf], default 0.0
bevel_object

Curve object name that defines the bevel shape

Type :Object
bevel_resolution

Bevel resolution when depth is non-zero and no specific bevel object has been defined

Type :int in [0, 32], default 0
dimensions

Select 2D or 3D curve type

Type :enum in [‘2D’, ‘3D’], default ‘2D’
eval_time

Parametric position along the length of the curve that Objects ‘following’ it should be at. Position is evaluated by dividing by the ‘Path Length’ value

Type :float in [-inf, inf], default 0.0
extrude

Amount of curve extrusion when not using a bevel object

Type :float in [0, inf], default 0.0
materials
Type :IDMaterials bpy_prop_collection of Material, (readonly)
offset

Offset the curve to adjust the width of a text

Type :float in [-inf, inf], default 0.0
path_duration

The number of frames that are needed to traverse the path, defining the maximum value for the ‘Evaluation Time’ setting

Type :int in [1, 300000], default 0
render_resolution_u

Surface resolution in U direction used while rendering. Zero skips this property

Type :int in [0, 32767], default 0
render_resolution_v

Surface resolution in V direction used while rendering. Zero skips this property

Type :int in [0, 32767], default 0
resolution_u

Surface resolution in U direction

Type :int in [1, 32767], default 0
resolution_v

Surface resolution in V direction

Type :int in [1, 32767], default 0
shape_keys
Type :Key, (readonly)
show_handles

Display Bezier handles in editmode

Type :boolean, default False
show_normal_face

Display 3D curve normals in editmode

Type :boolean, default False
splines

Collection of splines in this curve data object

Type :CurveSplines bpy_prop_collection of Spline, (readonly)
taper_object

Curve object name that defines the taper (width)

Type :Object
texspace_location

Texture space location

Type :float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
texspace_size

Texture space size

Type :float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)
twist_mode

The type of tilt calculation for 3D Curves

Type :enum in [‘Z_UP’, ‘MINIMUM’, ‘TANGENT’], default ‘Z_UP’
twist_smooth

Smoothing iteration for tangents

Type :float in [-inf, inf], default 0.0
use_auto_texspace

Adjusts active object’s texture space automatically when transforming object

Type :boolean, default False
use_deform_bounds

Use the mesh bounds to clamp the deformation

Type :boolean, default False
use_fill_back

Draw filled back for extruded/beveled curves

Type :boolean, default False
use_fill_deform

Fill curve after applying shape keys and all modifiers

Type :boolean, default False
use_fill_front

Draw filled front for extruded/beveled curves

Type :boolean, default False
use_path

Enable the curve to become a translation path

Type :boolean, default False
use_path_follow

Make curve path children to rotate along the path

Type :boolean, default False
use_radius

Option for paths: apply the curve radius with path following it and deforming

Type :boolean, default False
use_stretch

Option for curve-deform: makes deformed child to stretch along entire path

Type :boolean, default False
use_time_offset

Children will use TimeOffs value as path distance offset

Type :boolean, default False
use_uv_as_generated

Uses the UV values as Generated textured coordinates

Type :boolean, default False

Inherited Properties

Inherited Functions

References

Previous topic

CopyTransformsConstraint(Constraint)

Next topic

CurveMap(bpy_struct)