Curves(ID)#

base classes — bpy_struct, ID

class bpy.types.Curves(ID)#

Hair data-block for hair curves

animation_data#

Animation data for this data-block

Type:

AnimData, (readonly)

attributes#

Geometry attributes

Type:

AttributeGroup bpy_prop_collection of Attribute, (readonly)

color_attributes#

Geometry color attributes

Type:

AttributeGroup bpy_prop_collection of Attribute, (readonly)

curve_offset_data#
Type:

bpy_prop_collection of IntAttributeValue, (readonly)

curves#

All curves in the data-block

Type:

bpy_prop_collection of CurveSlice, (readonly)

materials#
Type:

IDMaterials bpy_prop_collection of Material, (readonly)

normals#

The curve normal value at each of the curve’s control points

Type:

bpy_prop_collection of FloatVectorValueReadOnly, (readonly)

points#

Control points of all curves

Type:

bpy_prop_collection of CurvePoint, (readonly)

position_data#
Type:

bpy_prop_collection of FloatVectorAttributeValue, (readonly)

selection_domain#
Type:

enum in Attribute Curves Domain Items, default ‘POINT’

surface#

Mesh object that the curves can be attached to

Type:

Object

surface_uv_map#

The name of the attribute on the surface mesh used to define the attachment of each curve

Type:

string, default “”, (never None)

use_mirror_x#

Enable symmetry in the X axis

Type:

boolean, default False

use_mirror_y#

Enable symmetry in the Y axis

Type:

boolean, default False

use_mirror_z#

Enable symmetry in the Z axis

Type:

boolean, default False

use_sculpt_collision#

Enable collision with the surface while sculpting

Type:

boolean, default False

add_curves(sizes)#

add_curves

Parameters:

sizes (int array of 64 items in [0, inf]) – Sizes, The number of points in each curve

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#

References#