PartSubset¶
from acron.core import PartSubset
- class PartSubset¶
Bases:
This class is used to define a subset of part names to apply to the
PartBundle.bind_anim()operation. Only those part names within the subset will be included in the bind.Inheritance diagram
digraph inheritancea62618fdfe { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "PartSubset" [URL="acron.core.PartSubset.html#acron.core.PartSubset",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "PartSubset" [arrowsize=0.75,style=""]; }- __init__()¶
- add_exclude_joint()¶
Adds the named joint to the list of joints that will be explicitly exlcluded from the subset. Any joint at or below a named node will not be included in the subset (unless a lower node is also listed in the include list).
Since the name is a
GlobPattern, it may of course include filename globbing characters like * and ?.
- add_include_joint()¶
Adds the named joint to the list of joints that will be explicitly included in the subset. Any joint at or below a named node will be included in the subset (unless a lower node is also listed in the exclude list).
Since the name is a
GlobPattern, it may of course include filename globbing characters like * and ?.
- append()¶
Appends the include and exclude list from the other object onto this object’s lists.
- assign()¶
- is_include_empty()¶
Returns true if the include list is completely empty, false otherwise. If it is empty, it is the same thing as including all joints.
- matches_exclude()¶
Returns true if the indicated name matches a name on the exclude list, false otherwise.
- matches_include()¶
Returns true if the indicated name matches a name on the include list, false otherwise.
- output()¶