MakeQuadruped

Introduced

4.0

Description

Creates a character with the same proportions as a quadruped guide. The guide must be a model named "Quadruped_Guide". This command is not compatible with quadruped guides from versions of Softimage earlier than 4.0.

Scripting Syntax

MakeQuadruped( [TorsoType], [TorsoStretch], [TorsoDivisions], [IconType], [MakeBelly], [BellySlide], [BellyCenterPercentage], [HeadType], [HeadStretch], [HeadDivisions], [Ears], [MakeTail], [TailDivisions], [FrontRoll], [FrontRollDivisions], [BackRoll], [BackRollDivisions], [ShadowType], [CreateShadowKeySet], [SelectUsingUI] )

Parameters

Parameter

Type

Description

TorsoType [in/out]

Integer

Whether quaternion spine or skeleton spine should be used.

Default Value: 0

Possible Values:

0: Quaternion spine.

1: Skeleton spine.

TorsoStretch [in/out]

Integer

Whether the spine should stretch to follow the chest controller, or maintain a constant length.

Default Value: 0

Possible Values:

0: Stretches by spine scale slider.

1: Stretches to meet the chest controller.

TorsoDivisions [in/out]

Integer

The number of spine divisions. The number of vertebra will be NbDivisions+1 .

Default Value: 3

IconType [in/out]

Integer

Type of icon to use for chest, hip, and upper body controls.

Default Value: 0

Possible Values:

0: Use square controllers.

1: Use cube controllers.

MakeBelly [in/out]

Boolean

Option to create a belly control. See MakeBelly command.

Default Value: 0

BellySlide [in/out]

Integer

Connects two point slide controls between the belly and hip, blending motion between the hip and belly for more realistic skin deformation. The slides are placed on either side of the belly control.

Default Value: 0

BellyCenterPercentage [in/out]

Double

Controls where the center of the belly is placed. A value of 0 attaches the belly center at the hip and bottom spine vertebra, giving a large radius for belly swing. A value of 1 puts the belly center near the belly surface, giving a small radius for belly swing. Generally the larger the swing radius, the slower a belly will bounce and jiggle.

Default Value: 0

HeadType [in/out]

Integer

The style of head assembly to be used.

Default Value: 0

Possible Values:

0: Skeleton head and neck.

1: Spine head and neck.

HeadStretch [in/out]

Integer

Whether the neck spine should stretch automatically to follow the head, or try to maintain a constant length. This parameter is ignored for the skeleton head type.

Default Value: 0

HeadDivisions [in/out]

Integer

The number of divisions on the neck if a spine head assembly is choosen. This parameter is ignored for skeleton head type.

Default Value: 3

Ears [in/out]

Boolean

Option to generate ears (a form of tail, see MakeTail ) from the ear guides on the biped guide.

Default Value: 0

MakeTail [in/out]

Boolean

Option to generate tail, see the MakeTail command.

Default Value: 0

TailDivisions [in/out]

Integer

Number of bones in tail's tracing chain.

Default Value: 6

FrontRoll [in/out]

Integer

Option to apply roll divisions to the front legs. The roll divisions behave the same as the bicep or thigh roll divisions, see MakeBicepRoll for description.

Default Value: 0

FrontRollDivisions [in/out]

Integer

The number of roll divisions on the front legs. If the value is zero no roll is created.

Default Value: 3

BackRoll [in/out]

Boolean

Option to apply roll divisions to the hind legs. The roll divisions behave the same as the bicep or thigh roll divisions, see MakeBicepRoll for description.

Default Value: 0

BackRollDivisions [in/out]

Integer

The number of roll divisions on the hind legs. If the value is zero no roll is created.

Default Value: 3

ShadowType [in/out]

Integer

The type of shadow rig to constrain to the quadruped. Shadow rigs can be used to transfer or remap animation.

Default Value: 0

Possible Values:

0: No shadow

1: SI|3D Skeleton shadow rig

2: XSI Skeleton shadow rig

3: Null shadow rig

4: Box shadow rig

5: Box with skeleton arms

6: Box with skeleton legs

7: Box with skeleton legs and arms

CreateShadowKeySet

Boolean

If true, then the shadow rig has a character key set created with it. It is only used in scripting.

Default Value: 0

SelectUsingUI [in/out]

Boolean

If true a dialog box prompts the user to select the above options.

Default Value: 0

Return Value

Returns a Quadruped JScript object.

Examples

JScript Example

/*
   This example generates two quadruped rigs from a quadruped guide.
*/

//Get the quadruped guide 
GetPresetModel("Quadruped_Guide", "Quadruped_Guide", null, null);

//Generate a default rig from the guide
MakeQuadruped(1, 0, 3, 1, false, 0, 0.25, 0, 0, 3, false, 1, 6, false, 0, false, 0, 0, false, true);
Translate("Quadruped.GlobalSRT", -8, 0, 0, siRelative, siView, siObj, siXYZ, null, null, siXYZ, null, null, null, null, null, null, 0);

//Generate a rig with box shadow from the guide
MakeQuadruped(1, 0, 3, 1, false, 0, 0.25, 0, 0, 3, false, 1, 6, false, 0, false, 0, 4, false, true);
Translate("Quadruped1.GlobalSRT", 8, 0, 0, siRelative, siView, siObj, siXYZ, null, null, siXYZ, null, null, null, null, null, null, 0);

See Also

MakeBiped

MakeBipedDogLeg



Autodesk Softimage v7.5