- edited description
JCM value on G9 set to 0 on import
G9 comes with a overall JCM controller morph. When daz importer imports JCMs this controller is set to 0 as standard, which means the JCMs don’t take effect immediatly like they did with older generations. This could end up a bit confusing for some people.
Comments (12)
-
reporter -
This morph has a default 100% value in daz studio. As a general fix, may be the plugin could read the default values and use them.
-
Ok, your example solves my issue I was having were none of the JCMs would activate for G9, at least with a work around.
Thanks!
https://bitbucket.org/Diffeomorphic/import_daz/issues/1270/jcms-are-not-working-with-gen-9
-
Issue
#1270was marked as a duplicate of this issue. -
reporter Upping this quality of life change once more. I would probably do the same change to FACs details because when someone imports them I’d assume they want to use them and a 0 value for the main controller could cause confusion at first.
-
repo owner Fixed in last commit.
-
daz studio 4.21.0.5, blender 3.4.0, diffeomorphic 1.7.0.1332
As for commit 7c2d2b0 I get an error to import a standard G9.
Loading C:\Users\Alessandro\Documents\DAZ 3D\Studio\My Library\Scenes\g9.duf
Parsing data
Traceback (most recent call last):
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\error.py", line 213, in execute
self.run(context)
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\main.py", line 229, in run
self.loadDazFile(filepath, context)
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\main.py", line 136, in loadDazFile
main = parseAssetFile(struct, toplevel=True)
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\files.py", line 289, in parseAssetFile
return asset.parse(struct)
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\files.py", line 143, in parse
asset = self.parseUrlAsset(mstruct)
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\asset.py", line 157, in parseUrlAsset
asset.update(struct)
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\modifier.py", line 328, in update
self.setType()
File "C:\Users\Alessandro\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\import_daz\modifier.py", line 317, in setType
self.value = float(self.value)
ValueError: could not convert string to float: '/data/Daz 3D/Genesis 9/Base/Tools/Utilities/Load Projection Templates.dse'
-
repo owner Sorry, I should have tested to import something. Fixed now.
-
Commit a3ab0a3 works great here thank you Thomas for the nice improvement. If nobody has anything to add we can mark as resolved.
-
reporter It works for the JCMs now but the imported FACs details controller still gets loaded in with 0. I assume the way it works now is importing morph values already set in Daz and since FACs details is 0 there it’s also 0 after import in Blender?
If it’s intended to keep it that way I’ve nothing to add. Thank you. -
Yes the default value for “facs detail” is zero, meaning that you have to activate it by hand in daz studio and do the same in blender. It’s wasn’t so for “base correctives“ that’s 1 by default. Now the default values are imported same as daz.
-
- changed status to resolved
- Log in to comment