Curves(ID)#
base classes — bpy_struct
, ID
- class bpy.types.Curves(ID)#
Hair data-block for hair curves
- attributes#
Geometry attributes
- Type:
AttributeGroupCurves
bpy_prop_collection
ofAttribute
, (readonly)
- color_attributes#
Geometry color attributes
- Type:
AttributeGroupCurves
bpy_prop_collection
ofAttribute
, (readonly)
- curve_offset_data#
- Type:
bpy_prop_collection
ofIntAttributeValue
, (readonly)
- curves#
All curves in the data-block
- Type:
bpy_prop_collection
ofCurveSlice
, (readonly)
- materials#
- Type:
IDMaterials
bpy_prop_collection
ofMaterial
, (readonly)
- normals#
The curve normal value at each of the curve’s control points
- Type:
bpy_prop_collection
ofFloatVectorValueReadOnly
, (readonly)
- points#
Control points of all curves
- Type:
bpy_prop_collection
ofCurvePoint
, (readonly)
- position_data#
- Type:
bpy_prop_collection
ofFloatVectorAttributeValue
, (readonly)
- selection_domain#
- Type:
enum in Attribute Curves Domain Items, default ‘POINT’
- 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 1 items in [0, inf]) – Sizes, The number of points in each curve
- remove_curves(*, indices=(0,))#
Remove all curves. If indices are provided, remove only the curves with the given indices.
- Parameters:
indices (int array of 1 items in [0, inf], (optional)) – Indices, The indices of the curves to remove
- resize_curves(sizes, *, indices=(0,))#
Resize all existing curves. If indices are provided, resize only the curves with the given indices. If the new size for a curve is smaller, the curve is trimmed. If the new size for a curve is larger, the new end values are default initialized.
- Parameters:
sizes (int array of 1 items in [1, inf]) – Sizes, The number of points in each curve
indices (int array of 1 items in [0, inf], (optional)) – Indices, The indices of the curves to resize
- set_types(*, type='CATMULL_ROM', indices=(0,))#
Set the curve type. If indices are provided, set only the types with the given curve indices.
- Parameters:
type (enum in Curves Type Items, (optional)) – Type
indices (int array of 1 items in [0, inf], (optional)) – Indices, The indices of the curves to resize
- classmethod bl_rna_get_subclass(id, default=None)#
- Parameters:
id (str) – 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 (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type