A collection of scripts for ZivaVFX.
Please keep in mind that all scripts are based on my use of the software and my own needs, some of the tools might not work properly with your workflow.
At the moment, warning and error messages might not be coded to guide the user.
- Rivet - Rivet script for Maya.
First, make sure that you have all prerequisites before using, and then source the main script to use all commands.
- all rivets must have a prefix "L" or "R" and a suffix "_rivet#" (automatic if created via command)
- all curves must have a prefix "L" or "R" and a suffix "_LOA" (automatic if created via command)
The script is a collection of commands, here is how to use them.
Select two polygon edges and run:
cg_ziva_create_rivet_check();
Selection order is important. This is currently designed to be used with muscles that are setup with zTissue and zFiber nodes. First, select two rivets and then a muscle, then run:
cg_ziva_create_loa();
Use: The setup must be written to a .mel file. Use the following command to Export/Import your setup. Your may import a setup after a zBuild, if you rebuild your ziva muscle setup.
cg_ziva_write_loa_setup_ui();
At the moment it is designed to work with zTissues with zFiber only, so the command will not work if you did not build the setup attaching it to muscle(s) at the same time. Select your setup (rivets + curves) and run:
cg_ziva_mirror_loa_setup();