Been a while since I think this was asked, but I got a Gen3 model I want to import into Blender, but I get this error when I try to.
Exactly what is going on here again?
Been a while since I think this was asked, but I got a Gen3 model I want to import into Blender, but I get this error when I try to.
I donât know whatâs going on, because I have never seen this problem myself. Anyway, the code should fail more gracefully now, only skipping the strange asset that caused the problem.
However, since I cannot reproduce the problem myself, Iâm not sure that it is gone. If it persist, perhaps you could send me the duf file for inspection.
See now, thatâs the issue, itâs got some files you probably donât have and will more than likely need to download. So sending over the .DUF file would be impossible unless you got that Toon Generations 2 pack for Gen3.
Also, I donât know what you mean by âFail gracefullyâ. Moreover because I donât know what asset it is thatâs causing the issue.
I think by âfail gracefullyâ he means that it will still load the figure and everything except the problem asset. Try this: Only load in the Gen3 model, then use the tool to load in the items you want on it (pants, shirt, hair, etc.) until you find the problem item. Save after each import so you donât crash or whatever.
As Safetyman says, failing gracefully means that the function prints an error message in the DOS terminal and returns None, which indicates that no asset was found. Depending on the verbosity setting, the script may also generate an error with message box, but with the factory settings it should just continue.
About needing lots of DAZ files. Normally you are right, a duf file contains pointers to other files which contain assets. However, in this case that pointer is missing - this is what Keyerror: âurlâ means. The updated script prints the keys that are actually there in the terminal. This could give us a hint of what is going on.
Thing is though, like I said before, I donât know if you got the files you need for the .DUF file itself for you to look at.
Well, the only way to figure that out is if you send me the file.
Also, the updated scripts prints some info to the dos terminal: the problematic file and the keywords (which do not include âurlâ). That information may be useful to figure out what happened.
'K fine. Hereâs the .DUF file.
Donât say I didnât warn you if you donât have the Toon Generations 2 morphs and accessories.
jinny.duf (109.4 KB)
Hi. When do âImport Actionâ from one file (containing mulltiple keyframes), some frames are lost.
Like this: in DAZ 0 - 17, in blender 1 - 15.
use 1.3.1dev (7 jan).
Import from folder with 1 pose by frame, work correctly.
Apparently the framerate was hardwired to 25 fps, but in the latest commit it uses the current framerate instead. If you set the framerate to match that of the animation, you should get the same number of frames. In your case you should probably set it to 30 fps (30/25 = 18/15).
Change in render to 30 fps, still lost frames. Where need change fps?
The button used to read the frame rate from the sceneâs render settings, but I just changed the interface. Now the button has a new option called Frame Rate. It is set to 30 fps by default since that seems to be the most common value in Daz Studio.
There is also another new option: Integer Frames. If there is a mismatch between the frame rates, keys will be put on non-integer time slots if this option is off. If on, time values are rounded to the closest integer. If you put keys on non-integer times, you may have problems with quaternions since the same rotation corresponds to two quaternions. Matching frame rates might seem the best, but then you must render the animation with the same frame rate or timing will be off.
The problem has been located, I think. The node âVestDecalâ has a geometry with id âDecal Shapeâ which does not contain an url. The plugin now ignores this case, which means that the VestDecal will be imported, but it has no mesh, so it becomes an empty in Blender. I might try to do something more intelligent with this later, but for now this should allow you to continue loading the character.
There might be further problems with missing assets, but if Verbosity is set to 2 or less that should only generate warning messages. Possibly a lot of them.
Thank you!
Can the animation also be imported with this method? I successfully imported a snake from daz as a .duf into Blender and it has the skeleton and textures but the animation didnât import. Iâm trying this daz importer plugin because my previous fbx imports of my animated snake had skewed animations but this doesnât include any animation.
If the armature contains the same bones as the animation, it should import. You need to press Import Action, though. Import Pose will only import one frame (first or last, donât remember).
Thanks for your reply, Thomas. When I pressed âImport Actionâ I chose the same .duf as I initially imported into Blender, which was the snake model, but it is still a static pose. Was there something different I was to import or was an option not checked correctly? Or something else I needed to export from Daz so that I can import it as an Action for this model into Blender? The .duf file is 30 frames of animation.
Also, does anyone know why json file types are listed in windows explorer as Adobe After Effects JSON files ?(see image attached)
On a different model than snake model mentioned above:
Here is Daz Genesis 3 with a walk animation: http://www.builtreport.com/genesis-3-walk.duf
and blend file with .duf import
http://www.builtreport.com/genesis3-import.blend
âŚthat I canât import with animation. Can anyone that has had reliable repeatable success importing animations figure out why my animation didnât import?
As far as the .json extentionâŚwindows has associated that file extention to adobe after effects.
Has this adobe software or any adobe software been installed on your system?
If YES, this would be the reason.
You can change can change thisâŚ
Start>Control Panel>Programs>Default Programs>Set Associations
On the rest, Iâll have to check on this laterâŚsorry, dinner time.
Do not know if I have the snake content! I think I do though.
XYZero, Thanks for the explanation and how to change the file association. Yes, I have Adobe software.
The links are the genesis 3 woman in Daz(duf) and also the same G3 woman animation imported into Blender(blend). I was initially trying to get a snakeâs animation to work in Blender but I decided I wanted to test if could even get a generic Genesis woman characterâs animation to work in Blender. I couldnât so I uploaded it here instead of the snake because itâs something every Daz owner reading this would already have and could relate to what is being described(generic Genesis 3 woman) even if they donât download the files I linked to.