Skip to content

cgranjon/ziva

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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.

Prerequisites

  • Rivet - Rivet script for Maya.

zLineOfAction/ziva_loa_rebuild.mel

First, make sure that you have all prerequisites before using, and then source the main script to use all commands.

Names are important:

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

How to use ?

The script is a collection of commands, here is how to use them.

How to create a rivet ?

Select two polygon edges and run:

cg_ziva_create_rivet_check();

How to create a curve to drive a zLineOfAction ?

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();

How to import/export my setup ?

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();

How to mirror my rivets and curves setup ?

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();

About

A collection of scripts for ZivaVFX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published