 |
FINSIZE
Download, Evaluate, drag to a Toolbar from
"BoneTools" category
NEW in v0.3: Select ANY number of bones
(BoneGeometry class only) and press the FinSize button. (You can select
one bone and use the SelectAllBones script to select the whole hierarchy)
The script will not be enabled if the selection
is empty.
If there are no bones in the selection, nothing
will happen.
You will be prompted in the MAXScript Listener
and the status line to select the Skin Mesh to use as resizing limit.
All Fins of the selected bones will be enabled
and resized to fit the size of the Mesh. Note that the script tries to
intersect a vector from the center of the bone along the local Y and Z
axes. If no valid intersection can be found, the fin size will NOT BE CHANGED
and the fin will NOT BE ENABLED.
ALLFINSTOGGLE
Evaluate, drag to a Toolbar from "BoneTools"
category.
Select ANY bone (BoneGeometry class only)
and press the AllFinsToggle button.
The script will not be enabled if the selection
is invalid (not a bone or more than one object)
NEW IN v0.2: You will be prompted to
answer YES if you want all Fins On, or NO for All Fins Off.
All Fins in the hierarchy will be turned on
or off depending on your answer.
SELECTALLBONES
Evaluate (same file as AllFinsToggle), drag
to a Toolbar from "BoneTools" category.
Select ANY bone (BoneGeometry class only)
and press the AllFinsOff button.
The script will not be enabled if the selection
is invalid (not a bone or more than one object)
All Bones (BoneGeometry class only) in the
hierarchy will be selected.
ILLUSTRATIONS
Image 1: A chain of bones inside of two bent
Cylinders.
Image 2: FinSize executed - smaller Cylinder
picked as mesh.
Image 3: FinSize executed - larger Cylinder
picked as mesh.
Image 4: Extreme test: FinSize executed, a
large Sphere picked as mesh.
Image 1: To go back to that state, execute
AllFinsOff...
|