Muscle_Strand - superclass: helper; super-superclass:node - 10:10 - classID: #(131020930, 1206916674)This Helper Object is part of 3ds Max CAT.
Constructors
Muscle_Strand... MuscleStrand...Properties
<Muscle_Strand>.CurrentLength Float default: -4.31602e+008 -- float;Contains the current length of the Muscle Strand.
Read-only.
<Muscle_Strand>.CurrentScale Float default: 1.0 -- float;Contains the current scale of the Muscle Strand.
Read-only.
<Muscle_Strand>.DefaultLength Float default: 0.0 -- float;Get/set the default length of the Muscle Strand.
<Muscle_Strand>.Handles Array default: #($Muscle_Handle:Muscle Strand001M_Start @ [0.000000,0.000000,0.000000], $Muscle_Handle:Muscle Strand001M_StartHdl @ [0.000000,0.000000,0.000000], $Muscle_Handle:Muscle Strand001M_End @ [0.000000,0.000000,0.000000], $Muscle_Handle:Muscle Strand001M_EndHdl @ [0.000000,0.000000,0.000000]) -- node by value array;Contains an array of Muscle_Handle objects
Read-only.
<Muscle_Strand>.HandleSize Float default: 10.0 -- floatGet/set the size of the Muscle Handles.
<Muscle_Strand>.HandlesVisible BooleanClass default: true -- booleanGet/set the state of the visibility option of the Muscle Handles.
<Muscle_Strand>.LMR Integer default: 0 -- integerGet/set the location of the Muscle Strand within the rig.
Possible values are:
-1 - left
0 - center
1 - right
<Muscle_Strand>.NumSpheres Integer default: 7 -- integerGet/set the number of spheres used to approximate the shape of the muscle.
<Muscle_Strand>.SquashStretch BooleanClass default: false -- booleanGet/set the state of the squash/stretch option of the Muscle Strand.
<Muscle_Strand>.SquashStretchScale Float default: 1.0 -- floatGet/set the Squash/Stretch Scale value of the Muscle Strand.
Muscle_Strand interfaces
Interface: CATMuscleStrand FunctionsProperties
.LMR : integer : Read|WriteGet/set the location of the Muscle Strand within the rig.
Possible values are:
-1 - left
0 - center
1 - right
.HandleSize : float : Read|WriteGet/set the handle size of the muscle.
.HandlesVisible : boolean : Read|WriteGet/set whether the handles are visible or not.
.Handles : node by value array : ReadContains an array of Muscle_Handle objects
Read-only.
.NumSpheres : integer : Read|WriteGet/set the number of spheres used to approximate the shape of the muscle.
.CurrentLength : float : ReadContains the current length of the Muscle Strand.
Read-only.
.CurrentScale : float : ReadContains the current scale of the Muscle Strand.
Read-only.
.SquashStretch : boolean : Read|WriteGet/set the state of the squash/stretch option of the Muscle Strand.
.DefaultLength : float : Read|WriteGet/set the default length of the Muscle Strand.
.SquashStretchScale: float : Read|WriteGet/set the Squash/Stretch Scale value of the Muscle Strand.
Methods
<void>PasteStand <maxObject>SourceStrandPastes the settings from the source strand supplied as first argument.
<float>GetSphereRadius <index>indexReturns the Sphere readius of the indexed sphere.
<void>SetSphereRadius <index>index <float>valueSets the readius of the indexed sphere to the valuesupplied as second argument.
<float>GetSphereUStart <index>indexReturns the U Start of the indexed sphere.
<void>SetSphereUStart <index>index <float>valueSetstheU Startof the indexed sphereto the value supplied as second argument.
<float>GetSphereUEnd <index>indexReturns theU Endof the indexed sphere.
<void>SetSphereUEnd <index>index <float>valueSets the U End of the indexed sphere to the value supplied as second argument.