<h1>DNAViewer<aclass="headerlink"href="#dnaviewer"title="Permalink to this headline"></a></h1>
<p>The <aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer"><codeclass="docutils literal notranslate"><spanclass="pre">dna_viewer</span></code></a> 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.</p>
<sectionid="examples">
<h2>Examples<aclass="headerlink"href="#examples"title="Permalink to this headline"></a></h2>
<ulclass="simple">
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/examples/dna_viewer_demo.py">Generates rig and export FBX per LOD</a></p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/examples/dna_viewer_grab_changes_from_scene_and_propagate_to_dna.py">Propagate changes from Maya scene to dna</a></p></li>
<p>The usage of these can be found in the <aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/examples/dna_viewer_demo.py">dna_viewer_demo.py</a>.</p>
</section>
<sectionid="usage-in-maya">
<h2>Usage in Maya<aclass="headerlink"href="#usage-in-maya"title="Permalink to this headline"></a></h2>
<p>Usage in Maya is explained <aclass="reference internal"href="dna_viewer_maya_md.html"><spanclass="doc std std-doc">here</span></a></p>
</section>
<sectionid="folder-structure">
<h2>Folder structure<aclass="headerlink"href="#folder-structure"title="Permalink to this headline"></a></h2>
<ulclass="simple">
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/builder">builder</a> - Contains the builder classes, which are used for easily adding configuration options
and building the scene, character, meshes, etc.</p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/config">config</a> - Contains classes that represent configuration options. These files are used for fine-tuning the options.</p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/const">const</a> - Contains constants files used in the project.</p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/model">model</a> - Contains the data classes used in the project.</p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/reader">reader</a> - Contains the classes that are used for reading the contents of the DNA file.</p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/ui">ui</a> - Contains the classes needed for the Maya UI.</p></li>
<li><p><aclass="reference external"href="https://github.com/EpicGames/MetaHuman-DNA-Calibration/tree/main/dna_viewer/util">util</a> - Mostly contains the classes that are wrapper classes around Maya method calls.</p></li>
</ul>
</section>
<sectionid="how-it-works">
<h2>How it works<aclass="headerlink"href="#how-it-works"title="Permalink to this headline"></a></h2>