BoneTools

MaxScripts Release 0.3 Source FOR M035+ (09/11/2000)

Copyright (c) 2000 by Borislav Petrov, Bobo's Rendert**ls. 

SHORT DESCRIPTION

BoneTools is a set of small MacroScripts to help with the management of new Bones.
The following scripts will now appear under the BoneTools category.

FinSize enables and resizes Bone Fins based on the size of a selected mesh (Skin).
AllFinsToggle turns all Fins in a Hierarchy of Bones on or off.
SelectAllBones lets the user select all Bones in a hierarchy by picking only one Bone.

For coloring the bones chain, please see BonesPaint.


USAGE

Version 0.3 (9/11/2000)
 
 



  • 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...

  •  


    DOWNLOAD BoneTools

    Version 0.3 MacroScripts Source