Namespace: DuOCO

DuOCO

Methods to load and create OCO Documents and armatures

Members

staticDuOCO.Bonestring

Some bone identifierss
Properties:
Name Type Default Description
CUSTOM string custom
TIP string tip
CLAVICLE string clavicle
HUMERUS string humerus
RADIUS string radius
CARPUS string carpus
FINGER string finger
HEEL string heel
FEMUR string femur
TIBIA string tibia
TARSUS string tarsus
TOE string toe
HIPS string hips
SPINE string spine
NECK string neck
SKULL_TIP string skullTip
SKULL string skull
TAIL_ROOT string tail1
TAIL_MID string tail2
TAIL_END string tail3
FEATHER string feather
SNAKE_SPINE_ROOT string snakeSpine1
SNAKE_SPINE_MID string snakeSpine2
SNAKE_SPINE_END string snakeSpine3
FISH_SPINE_ROOT string fishSpine1
FISH_SPINE_MID string fishSpine2
FISH_SPINE_END string fishSpine3
HAIR_ROOT string snakeSpine1
HAIR_MID string snakeSpine2
HAIR_END string snakeSpine3
FIN string fin
FIN_FISHBONE string finBone

staticDuOCO.Limbstring

Predefined limbs
Properties:
Name Type Default Description
SPINE string spine
ARM string arm
LEG string leg
TAIL string tail
WING string wing
HAIR string hair
SNAKE_SPINE string snakeSpine
FISH_SPINE string fishSpine
FIN string fin
CUSTOM string custom

staticDuOCO.LimbTypestring

Types of limbs
Properties:
Name Type Default Description
HOMINOID string hominoid
PLANTIGRADE string plantigrade
DIGITIGRADE string digitigrade
UNGULATE string ungulate
ARTHROPOD string arthropod
CUSTOM string custom

staticDuOCO.Locationstring

Locations for the limbs. Use these with DuOCO.Side to differenciate similar limbs,
for example, a leg can be Front-Right, Front-Left, Back-Right, Back-Left, etc.
Properties:
Name Type Default Description
FRONT string DuScriptUI.String.FRONT_SHORT
BACK string DuScriptUI.String.BACK_LOCATION_SHORT
TAIL string DuScriptUI.String.TAIL_SHORT
MIDDLE string DuScriptUI.String.MIDDLE_SHORT
ABOVE string DuScriptUI.String.ABOVE_SHORT
UNDER string DuScriptUI.String.UNDER_SHORT
NONE string

staticDuOCO.Sidestring

Sides for the limbs Use these with DuOCO.Location to differenciate similar limbs,
for example, a leg can be Front-Right, Front-Left, Back-Right, Back-Left, etc.
Properties:
Name Type Default Description
LEFT string DuScriptUI.String.LEFT_SHORT
RIGHT string DuScriptUI.String.RIGHT_SHORT
NONE string

staticDuOCO.Typestring

Types of OCO armatures
Properties:
Name Type Default Description
META string meta A meta-rig, used to automatically create a default armature to be used with an auto-rig.
CHARACTER string character An actual (rigged) character.

Methods

staticDuOCO.getBounds(armature){Array.<float>}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 12387
Gets the boundaries of an armature (a chain of bones)
Name Type Description
armature Array.<DuOCOBone> The chain of bones
Returns:
Type Description
Array.<float> [left, top, right, bottom]