CurveProfilePoints(bpy_prop_collection)

base classes — bpy_prop, bpy_prop_collection

class bpy.types.CurveProfilePoints(bpy_prop_collection)

Collection of Profile Points

add(x, y)

Add point to the profile

Parameters:
  • x (float) – X Position, X Position for new point (in [-inf, inf])

  • y (float) – Y Position, Y Position for new point (in [-inf, inf])

Returns:

New point

Return type:

CurveProfilePoint

remove(point)

Delete point from the profile

Parameters:

point (CurveProfilePoint) – Point to remove (never None)

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

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

Inherited Properties

Inherited Functions

References