ClusterSurface

vtool.maya_lib.deform.ClusterSurface(…) Convenience for clustering a surface.
class ClusterSurface(geometry, name)

Convenience for clustering a surface.

set_join_ends(bool_value)

Clusters on the ends of the surface take up 2 cvs.

Args:
bool_value (bool): Wether 2 cvs at the start have one cluster, and 2 cvs on the end have one cluster.
set_join_both_ends(bool_value)

Clusters on the ends of the surface are joined together.

Parameters:bool_value (bool) – Wether to join the ends of the surface.
set_last_cluster_pivot_at_end(bool_value)

Set the last cluster pivot to the end of the curve.

set_first_cluster_pivot_at_start(bool_value)

Set the last cluster pivot to the end of the curve.

set_cluster_u(bool_value)
Parameters:bool_value (bool) – Wether to cluster the u instead of the v spans.
create()

Create the clusters.

get_cluster_handle_list()
Returns:The name of cluster handles.
Return type:list
get_cluster_list()
Returns:The names of cluster deformers.
Return type:list