daz3d / DazToMaya

Daz To Maya Bridge
https://www.daz3d.com/daz-to-maya-bridge
Other
32 stars 20 forks source link

AUTO RIG: "Rig or Re-target Skeleton" does not work with Genesis 9 #52

Open danielbui78 opened 1 year ago

danielbui78 commented 1 year ago

The Auto-Rig tool to add enhanced rigging to a Genesis figure is not yet supported on Genesis 9. When you click "Rig or Re-target Skeleton" with a Gensis 9 figure, you will get the following error message:

---- Running DAZ Rigger v1.02 ----
// Warning: file: C:/Users/dbui/Documents/maya/modules/DazToMaya/scripts/DAZTools.mel line 494: New name contains invalid characters. Illegal characters were converted to "_". // 
---- Geometries grouped ----
// Error: file: C:/Users/dbui/Documents/maya/modules/DazToMaya/scripts/DAZTools.mel line 1760: setAttr: No object matches name: lForearmTwist_EXP.jointTypeY // 

We plan to add Genesis 9 support within the next few months.

crisjsalina commented 1 year ago

Related to this: You can't export the animations using the AutoRig with Genesis 8 models anymore. The bug is found on line 39 from DAZTools.mel:

if(getAttr ($obj+".version")=="1.02") appendStringArray($rigs, {$obj}, 1);

The code checks for a version 1.02 attribute, but the rig has a custom attribute of 1.02.1 So if you replace 1.02 with 1.02.1, you fix the issue. I thought you should know :)

crisjsalina commented 1 year ago

Also, will it be possible to add a "FK to IK / IK to FK" function? As of now, the Auto rig has the option to switch between IK and FK, but they don't follow each other. e.g. If you're creating a pose in IK and want to switch to FK, your pose gets reset because there's no way to translate the IK pose to FK pose. I hope it makes sense. Thanks.