daz3d / DazToMaya

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

Bug : Characterisation fails importing basic G9 mesh #53

Open sync700uk opened 1 year ago

sync700uk commented 1 year ago

Latest update fixed issued posted on 26/12/2022. Now I have a new error which prevents skeleton definition.

// Error: file: M:/Program Files/Autodesk/Maya2020/scripts/others/hikDefinitionUtils.mel line 43: No object matches name: lShin //

Comes up every time. Basic G9 Mesh. Removed all child meshs ( e.g eyes) as an variant test. Nothing doing.

Daz 4.20.0.17

danielbui78 commented 1 year ago

I have been studying your error report, but having difficulty producing your error. The only way I can produce that error message on my systems is to modify the d2m.py script to ignore the Genesis9 pathway and only use the old pathway. Please do the following steps to help me figure out why your system is failing to execute the Genesis9 pathway:

  1. Make sure you are using DazToMaya 2023 v1.1 in Daz Studio and that the version number in the Maya Python console shows: DazToMaya: has successfully loaded, version v2023.1.1.13.
  2. In Daz Studio, start a new scene then add the Genesis 9 Base Character (aka "Genesis 9" or "Genesis 9.duf").
  3. Select "Genesis 9" in the Scene tab and click File -> Send To -> DazToMaya Bridge.
  4. Make sure the Asset Name field has the string "Genesis9".
  5. Click Accept and wait for the transfer to finish.
  6. In Maya, click the "DAZ IMPORT" icon and then click Auto-Import.
  7. When the error occurs, open the Script Editor (Windows -> General Editors -> Script Editor).
  8. Copy and Paste the following code into a Python Tab:
    
    import maya.cmds as cmds

joint_list = cmds.ls(type="joint") print("DazToMaya Debug, joint_list (" + str(len(joint_list)) + "):") i = 0 for joint in joint_list: print(str(i) + ": " + joint) i+=1


9. Execute the script ("Play" button on toolbar or Command->Execute).
10. Copy and Paste the entire output, starting with the line: `DazToMaya Debug, joint_list (144):`
11. The number in parantheses is the number of joints you should expect in the list (they will be listed starting from 0 so the last number should be 143).
12. Copy and Paste the list into a text file and upload the file here for me to review.

Thanks