Saturday, January 27, 2024

Save DAZ Figure

Update:

The Save DAZ Figure tool has been improved, see Exporting a DAZ Figure, Redux.

Original Post:

A recent issue in the bug tracker made me implement a tool for saving figures for further use in DAZ Studio.

Import a base figure from DAZ Studio and tweak the mesh and bone locations. No vertices may be deleted or added.
Rename the mesh to what we want the figure to be called.
In the global settings, add author information in the Presets section. This information will be added to the figure file, and the author field also influences where it is stored.
Select the preferred root path at the top of the DAZ Setup tab. The preferred root path is use in several places in the addon, including where to save the file here.

Now import the same figure again, but with Mesh Fitting set to one of the Unmorphed options. Since this is our reference figure, the mesh topology and bone hierarchy must be the same as the other mesh.

With the target mesh active and the reference mesh selected, press Save DAZ Figure in the Advanced Setup > Morphs section.
A file selector opens. We could select a filename and save the figure file in the chosen directory, but there is also another possibility. If we enable DAZ Directory, the file will be saved in a location where it can be found by DAZ Studio. We can change the preferred root path here. The relative path is deduced from the mesh URL and the author name. The global author information can also be changed here.
The file is stored in the specified location.
Now open DAZ Studio and load a Genesis 9 character.The new morph should be found in the Shaping tab

Note that the eyes are popping out. The Genesis 9 eyes are a separate object and the procedure needs to be repeated for them.