DNAViewer

The dna_viewer contains all the needed classes for reading and creating a functional rig in Maya from the DNA file. It is organized in a way that allows every option to be configurable, so you can easily get the exact result you want.

Examples

Usage from code

There are two APIs:

Usage in Maya

Usage in Maya is explained here

Folder structure

  • builder - Contains the builder classes, which are used for easily adding configuration options and building the scene, configurations, meshes, etc..

  • dnalib - Contains classes for nicer API accessing DNA file.

  • ui - Contains the classes needed for the Maya UI.

How it works

The general flow is the following:

image

The flow of the scene building process is the following:

image

The flow of the rig building process is the following:

image

Legend:

  • blue: builder-related.

  • green: config-related.

  • brown: model-related.

  • purple: reader-related.