DAZ Importer


(Blender Gorilla) #204

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.

(ThomasL) #205

Aha, aniMate! Unfortunately, the plugin cannot import animations made with animate, only those which consist of keyframes on the timeline. In some earlier version of Daz Studio it was possible to convert animate animations to keyframes, but I cannot find such an option in the current version.

Also, I notice that the rest pose is wrong. Export the json file when the character is in her rest pose. The json file contains the final world space locations of vertices and bones, and whatever those are, they will define the rest pose in Blender. The reason is that some poses in fact are parts of the character definition, e.g. leg length is implemented by scaling the thigh and shin bones.

If you import the file with Mesh Fitting set to one of the Unmorphed options, the character is posed but it has the right rest pose. But then you lose all morphs and only have the base G3F.

If somebody knows how to extract keyframes from animate data, I would be interested to know. The information in the duf file looks like this (last line truncated):

	"name" : "sultrywalk",
	"data" : "AAEXsXic7LwHUBXbtu9NzjmzyLDIQRZZUHogQZGcUUFBgiBZVFQwAEoQlaQ...

One can convert the data string to a sequence of bytes with binascii.a2b_base64 without errors, but I don’t know what to do with those bytes afterwards.

(ThomasL) #206

Found it. In Daz Studio, right-click in the grey area below the aniblocks in the aniMate tab, and select Bake to Studio Keyframes. Then save the duf file. You can now import the animation with Import Action.


I would recommend keeping two duf files, one where the character is defined in rest pose, and one with the animation.

(Blender Gorilla) #207

Thanks, Thomas. I had previously experimentally tried importing baked and non-baked aniblocks but what got in the way of even that was what you also pointed out that I was doing wrong, not initially importing the rest pose(I had imported the animation and then redundantly reimported it under ‘import action’).

Thanks to your help and software, the animation now does import. It’s imports at 26(looks like 26, not 24) frames in Blender instead of 30(Daz) but my Blender file is set to 24fps vs Daz at 30fps. To fix, I then started off pre-Daz-import with a 30 fps Blender file but it still imports 26 animation frames like 2nd attachment shows, but I’m not through experimenting.

What I noticed this time around is that, in Blender File>import, duf used to be an option but now isn’t(see attached image) which isn’t a problem because the Daz Runtime tab is there but is there a reason why a .duf option is no longer seen under import?


(XYZero) #208

I see, sorry for the confusion, haven’t used daz studio for a few years, just got back into using it again last week.
It took a few hours to redownload all of my purchases and aware that G3 and G8 comes with daz studio.
Has been lots of changes.
Again, sorry for the confusion.

(Blender Gorilla) #209

No confusion. I was just explaining to anyone reading why I had talked about a snake but uploaded a woman. I appreciate your responses, help, and explanations. :+1:

(ThomasL) #210

The menu entry was removed because it did not work in B2.80. Restored now, and it works with B2.80 as well.

The frame-rate is controlled by the Frame Rate field in the import options, not by frame rate in the scene settings. By default it is 30, because that seems the most common one for Daz files. A test animation, which has 216 frames at 30 fps in DS, ends at frame 216 if Frame rate is set to 30, but it ends around frame 173 if 24, which should be about the right timing at 24 fps.


If the Frame Rate option is not equal to the frame rate in the Daz file, some keys are created between integer times, unless the last option is checked. Non-integer keyframes may perhaps lead to problems with interpolation between angles.

(Blender Gorilla) #211

Thanks for your reply and additional information, Thomas. I’m going to continue to experiment a little more and also continue studying what you have already documented on your Diffeomorphic blog.

(mzprox) #212

Edit: problem solved, shouldn’t install anything from inside DAz, but have to use DIM.

I’m having a problem importing the daz assets. it’s a new install, previously on an other machine i had it working.
The problem is with the paths… maybe the install is wrong. Increasing the verbosity gives an error:
Cannot open file:
‘/data/daz 3d/genesis 3/female/genesis3female.dsf’

The file in question is in:
C:\Users\User\Documents\DAZ 3D\Studio\My Daz Connect Library\data\cloud\1_21630\data\daz 3d\genesis 3\female

I set up this path in Blender:
C:\Users\User\Documents\DAZ 3D\Studio\My Daz Connect Library

but apparently it’s not enough… what is this connect library anyway…?


Here are all the paths I’d use… they are correct… I just don’t get while the necessary files are not in the first two paths. The things I’d import just the basic gen3/gen8 figures

(mzprox) #213

I tried many things: configured a different path in daz and moved all the installed files to the D drive, in My Library folder, but it only works when it’s inside data\cloud""“a numeric folder”"" and apparently the daz importer doesn’t load from those…

I reinstalled everything, but I couldn’t change the download locations of the gen3 and 8 starting essentials… I mean i can change it but it is always inside that 'data\cloud\some number\ folder… :confused:

edit(again) : so apparently I shouldn’t install anything from inside daz, but download everything and install them with Daz install manager, then it works…

(ThomasL) #214

Looks like you need to include

C:\Users\User\Documents\DAZ 3D\Studio\My Daz Connect Library\data\cloud\1_21630

as a library path. The plugin looks for paths by concatenating the DAZ paths with the path in the duf file. It does not look in subdirectories, but if this is common and there are many different subdirectories under data/cloud maybe it should.

(mzprox) #215

Yes probably, but there were like 5 numbered folders already… i could had set up paths for each i guess… but anyway, it’s working now.

One small problemI found with the mhx rig: the hand ik bones can’t be mirrored by ctrl+c/shift+ctrl+v.

(ThomasL) #216

The plugin has been changed to look for assets not only at the paths specified in the list, but also in any subfolder whose name only consists of digits and underscores. So if you change the settings back to what you had, the importer should find assets in all five numbered folders.


How do i import the facial expressions? When i try to load the expression it show only a couple of then.

Also is it possible to import expression as Pose Library? I tried but it didn’t work, if it’s possible which files i should load?

Thank you for the attention.

(slawdos) #218

DAZ runtime -> Settings -> General -> Check Hidden Features
Thereafter, DAZ Runtime -> Morphs -> Check Show Expressions, check some exp., and push Load Expressions button. Don’t forget change layer to [8].
And follow http://diffeomorphic.blogspot.com/p/morphs.html

(ashred) #219

Hey everyone. I would like to see an easy way to animate the face. Maybe a face rig, but still using Gen 8 bones.