trigger.library.icons
Module to create icons for rigging purposes.
Classes
Module Contents
- class Icon
Bases:
object- static arrow(name='arrow_cont')
- static circle(name='circle_cont')
Creates a circle controller. Nothing Fancy… Args:
name: (String) name of the controller. Must be a String scale: (Vector) scale value as vector, example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2) normal: (Vector) Optional Normal as vector. Default is (0, 1, 0) Y Up
- Returns:
Controller node
- static cog(name='cog_cont')
- create_icon(icon_type, icon_name=None, scale=(1, 1, 1), location=None, normal=(0, 1, 0))
Creates an icon of given type.
- static cube(name='cube_cont')
Creates a cube controller as a single shape Args:
name: (String) name of the controller. Must be a String scale: (Vector) Scale value as vector. example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static curved_arrow(name='curvedArrow_cont')
- static curved_circle(name='curvedCircle_cont')
Creates a slightly curved circle controller Args:
name: (String) name of the controller. Must be a String scale: (Vector) Scale value as vector. example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static cylinder(name='cylinder_cont')
- static diamond(name='diamond_cont')
- static drop(name='drop_cont')
Creates a star-ish shaped controller Args:
name: (String) name of the controller. Must be a String scale: (Vector) Scale value as vector. example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2) normal: (Vector) Optional normal override
- Returns:
Controller node
- static drop_circle_x(name='dropCircle_cont')
- static dual_curved_arrow(name='dualCurvedArrow_cont')
- static fk_ik_switch(name='fkik_cont')
Creates a FK-IK controller. Args:
name: (String) name of the controller. Must be a String
- Returns:
A list Containing Controller Node (index 0) and Reverse node (1) to be used in conjunction with fk_ik attribute. [Controller Node, Reverse Node for connections]
- get_icons_list()
Return the list of icons available.
- static half_dome(name='halfDome_cont')
- static lollipop(name='lollipop_cont')
- static looper(name='looper_cont')
- static ngon(name='ngon_cont')
Creates a ngon controller. Args:
name: (String) name of the controller. Must be a String scale: (Vector) scale value as vector, example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static plus(name='plus_cont')
Creates a plus controller. Usually for pole vector Args:
name: (String) name of the controller. Must be a String scale: (Vector) scale value as vector, example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static preferences(name='pref_cont')
- static pyramid(name='pyramid_cont')
- static rotator(name='rotator_cont')
- static shoulder(name='shoulder_cont')
Creates a bended Eliptical controller for shoulders. Args:
name: (String) name of the controller. Must be a String scale: (Vector) Scale value as vector. example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static sphere(name='sphere_cont')
- static square(name='square_cont')
Creates a square controller. Args:
name: (String) name of the controller. Must be a String scale: (Vector) scale value as vector, example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static star(name='star_cont')
Creates a star-ish shaped controller Args:
name: (String) name of the controller. Must be a String scale: (Vector) Scale value as vector. example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2) normal: (Vector) Optional normal override
- Returns:
Controller node
- static thigh(name='thigh_cont')
Creates a cube controller as a single shape Args:
name: (String) name of the controller. Must be a String scale: (Vector) Scale value as vector. example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static triangle(name='triangle_cont')
- static triangle_arrow(name='triangleArrow_cont')
- static triangle_dual_arrow(name='triangleDualArrow_cont')
- static tricircle(name='triCircle_cont')
Creates a circle controller with triangles on each direction. Args:
name: (String) name of the controller. Must be a String scale: (Vector) scale value as vector, example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node
- static waist(name='waist_cont')
Creates a plus controller. Usually for pole vector Args:
name: (String) name of the controller. Must be a String scale: (Vector) scale value as vector, example (1,1.5,1) location: (Vector) Optional Location as vector. example (12,0,2)
- Returns:
Controller node