Introduced
4.0
Description
The hip is a hip-shaped nurbs curve. It is defined by one guide object used as the global pose of the hip, a point defining the top of the hip (where the spine connects to the hip) and another point defining where the left leg socket should be positioned.
Scripting Syntax
MakeHip( GuideObj, [TopX], [TopY], [TopZ], [SideX], [SideY], [SideZ] )
Parameters
|
Parameter |
Type |
Description |
|
GuideObj |
The hip will take on the global pose of this object. If no guide object is provided a pick session will start. |
|
|
TopX |
The X coordinate for the top position of the hip, where the spine would connect to the hip. Default Value: 0.0 |
|
|
TopY |
The Y coordinate for the top position of the hip, where the spine would connect to the hip. Default Value: 1.0 |
|
|
TopZ |
The Z coordinate for the top position of the hip, where the spine would connect to the hip. Default Value: 0.0 |
|
|
SideX |
The X coordinate for the side position of the hip, where the left leg hip socket would be. Default Value: 1.0 |
|
|
SideY |
The Y coordinate for the side position of the hip, where the left leg hip socket would be. Default Value: 0.0 |
|
|
SideZ |
The Z coordinate for the side position of the hip, where the left leg hip socket would be. Default Value: 0.0 |
Return Value
Returns the X3DObject of the hip nurbs curve.
Examples
JScript Example
// // Create and position the hip // var guide = GetPrim("Null", "Guide_Hip") var hip = MakeHip( guide, 0,3,-1.5, //top XYZ 4,0,0 //side XYZ ); logmessage(hip.type); //results of running this script: //INFO : crvlist
See Also
Autodesk Softimage v7.5