Pointcloud Operators¶
- bpy.ops.pointcloud.attribute_set(*, value_float=0.0, value_float_vector_2d=(0.0, 0.0), value_float_vector_3d=(0.0, 0.0, 0.0), value_int=0, value_int_vector_2d=(0, 0), value_color=(1.0, 1.0, 1.0, 1.0), value_bool=False)¶
Set values of the active attribute for selected elements
- Parameters:
value_float (float in [-inf, inf], (optional)) – Value
value_float_vector_2d (float array of 2 items in [-inf, inf], (optional)) – Value
value_float_vector_3d (float array of 3 items in [-inf, inf], (optional)) – Value
value_int (int in [-inf, inf], (optional)) – Value
value_int_vector_2d (int array of 2 items in [-inf, inf], (optional)) – Value
value_color (float array of 4 items in [-inf, inf], (optional)) – Value
value_bool (boolean, (optional)) – Value
- bpy.ops.pointcloud.delete()¶
Remove selected points
- bpy.ops.pointcloud.duplicate()¶
Copy selected points
- bpy.ops.pointcloud.duplicate_move(*, POINTCLOUD_OT_duplicate=None, TRANSFORM_OT_translate=None)¶
Make copies of selected elements and move them
- Parameters:
POINTCLOUD_OT_duplicate (
POINTCLOUD_OT_duplicate
, (optional)) – Duplicate, Copy selected pointsTRANSFORM_OT_translate (
TRANSFORM_OT_translate
, (optional)) – Move, Move selected items
- bpy.ops.pointcloud.select_all(*, action='TOGGLE')¶
(De)select all point cloud
- Parameters:
action (enum in ['TOGGLE', 'SELECT', 'DESELECT', 'INVERT'], (optional)) –
Action, Selection action to execute
TOGGLE
Toggle – Toggle selection for all elements.SELECT
Select – Select all elements.DESELECT
Deselect – Deselect all elements.INVERT
Invert – Invert selection of all elements.
- bpy.ops.pointcloud.select_random(*, seed=0, probability=0.5)¶
Randomizes existing selection or create new random selection
- Parameters:
seed (int in [-inf, inf], (optional)) – Seed, Source of randomness
probability (float in [0, 1], (optional)) – Probability, Chance of every point being included in the selection
- bpy.ops.pointcloud.separate()¶
Separate selected geometry into a new point cloud