trigger.library.api =================== .. py:module:: trigger.library.api .. autoapi-nested-parse:: Methods that use Maya Api Functions --------- .. autoapisummary:: trigger.library.api.get_all_vertices trigger.library.api.get_between_vector trigger.library.api.get_center trigger.library.api.get_mdag_path trigger.library.api.get_vertex_ids_in_radius trigger.library.api.get_world_translation trigger.library.api.select_vertices trigger.library.api.unlock_normals Module Contents --------------- .. py:function:: get_all_vertices(mesh_transform) Return all vertices of given mesh .. py:function:: get_between_vector(node, target_point_list) Get the between vector between the source node and target node list. Args: node: (String) source node target_point_list: (List) Target nodes Returns: MVector .. py:function:: get_center(node_list) Return the center world position of the given nodes. .. py:function:: get_mdag_path(node) Return the API 2.0 dagPath of given node. .. py:function:: get_vertex_ids_in_radius(source_mesh, point_node, radius=0.2, select=False) .. py:function:: get_world_translation(node) Return given nodes world translation of rotate pivot. .. py:function:: select_vertices(mesh, id_list) Selects vertices of the mesh with given id list .. py:function:: unlock_normals(transform, soften=False) Unlock the normals of the specified geometry. Args: transform (str or list): string or list of strings for the geometries to unlock. soften (bool, optional): If true, softens the edges with given softedge_angle value. Defaults to True.