After I added genital accessories to the character, I couldn't import the model into blender.

Issue #913 resolved
ue jiye created an issue

After I added genital accessories to the character, The accessory is called "golden palace V2", which should be a physiological accessory used by many people,I couldn't import the model into blender. The following is the error message:
Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\error.py", line 208, in execute
self. run(context)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\main.py", line 124, in run
self. loadDazFile(filepath, context)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\main.py", line 217, in loadDazFile
asset. build(context)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\cycles.py", line 84, in build
self. tree. build()
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\cycles.py", line 359, in build
self. buildShells()
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\import_daz\cycles.py", line 436, in buildShells
self. links. new(self.getCyclesSocket(), node. inputs["Cycles"])
TypeError: NodeLinks. new(): error with argument 1, "input" - Function. input does not support a 'None' assignment NodeSocket type
location: <unknown location>:-1

Comments (19)

  1. Alessandro Padovani

    I can't reply with a comment because of a bug in bitbucket but it seems I can attach files.

    As for golden palace it works fine here. Test scene included gp.duf.

  2. ue jiye reporter

    My situation is like this. I use "golden palace V2" and "breastacular_tutorial_g8f". It seems that these two are the reasons why I can't import. I can import by deleting these two accessories. There are custom accessories on my head, but this accessory can be imported. Is there any conflict between accessories? How can I package and upload DUF files completely so that you can find the problem?

  3. ue jiye reporter

    The file you provided is OK in DAZ, but the import of blender is like this. I set the resource library directory according to the tutorial. It should not be the problem of the resource library directory

  4. Thomas Larsson repo owner

    That bug was fixed several weeks ago, and the dev version should not generate any errors.

    As for the GP materials having problems with other geoshells, that is something that I have encountered several times. I usually fix that in three steps: 1. Merge geografts. 2. Replace the GP_Torso and GP_Torso_back materials with Torso. 3. Merge UV Layers: Default UVs to Base Female.

    And I still cannot make comments without attaching a file.

  5. Alessandro Padovani

    It looks like you didn’t share the file on google drive the access is denied. But you can upload the duf here it is safe with the daz license. You can’t upload the blender file and it would be unuseful too.

  6. ue jiye reporter

    My plug-in version is the same as yours, 1.6.1.0903

    Set the resolution level to high, then export and choose to export the HD version. Importing blender will obtain a correct body with physiological characteristics and a wrong body, but neither of them has texture mapping. I reinstalled "golden palace V2" and all related accessories, but there are still problems. Is it possible that it is the problem of "golden palace V2"?

  7. Luke Graybill

    In my testing using Blender 3.2 and plugin version 0904, I am able to import the standard G8F with Golden Palace V2 and the materials look correct (I know we generally try to avoid showing textured nudity here, but I think in this case it’s unavoidable since it’s literally the gens being discussed in the topic):

    When I try to import using the hd DBZ data, I get a popup with warnings and a completely black figure:

    I think what ue jiye is seeing is both the working SD and broken HD figures displayed at once on top of each other:

    I have never used the HD figures, so I’m not familiar with that process at all. It could be there are more steps involved in getting them to work than simply exporting HD and importing directly? One thing I did notice is that the SD figure (predictably, since the materials are working) has a UV map assigned, while the HD figure does not. This is probably the main reason why the materials are broken, but I’m not sure what causes the UV maps to go missing.

  8. Alessandro Padovani

    Yes, you have to enter the geometry editor in daz studio to export a HD figure with geografts. As explained in the docs.

  9. Luke Graybill

    Ah yes, since I’ve never bothered with the HD meshes before, it was too easy to miss that part of the docs 😅

    After following the steps outlined here: https://diffeomorphic.blogspot.com/2020/09/hd-meshes-and-geografts-revisited.html I was able to properly import without any black materials. I think it’s probably safe to say this issue is not a bug in the addon, although possibly it could be documented better? I don’t know - it’s easy to miss that blog post even though it’s linked in the docs. Anyway, I think that’s out of the scope of this issue.

    Do you find that these steps helped you, @ue jiye? (hmm, apparently I don’t know how to tag users on bitbucket)

  10. ue jiye reporter

    The content about texture upstairs is really helpful, but the genitalia is still incorrect. The imported model is a smooth main character model without genitalia and a separate genitalia accessory model. I don't know if this is correct? But it is obviously different from the model in DAZ

  11. Alessandro Padovani

    @Ue To reply your question yes, it is normal.

    It seems you don’t care to read any documentation and just ask for help when things don’t work as you expect. Please understand that this way you waste our time that we could use better to improve features or fix bugs. That’s what this repository is for.

  12. Log in to comment