Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to import environments/props #56

Closed
joneienleah opened this issue May 28, 2021 · 1 comment
Closed

Error when trying to import environments/props #56

joneienleah opened this issue May 28, 2021 · 1 comment
Labels
question Further information is requested

Comments

@joneienleah
Copy link

I am a very new user to Blender. I have created a simple scene with animation in Daz (empty room, Gen 8.1 figure, clothing in obj seq I created in CLO3D, and runway walk animation). The whole thing works fine in Daz, have even rendered it out. But I wanted to try rendering the animation and scene in Blender to cut down on rendering time. I am using the Daz to Blender bridge. Export from Daz seems to work okay. Import into Blender is the tricky part. If I click on import new Gen character, she loads in fine, but is missing her clothing, the environment & the animation seems to come in but doesn't actually do anything when I hit play.
If I click import new environment/props I get the error message below. No idea what I am doing wrong or if it is a bug. Please help.

Python: Traceback (most recent call last):
File "C:\Users\jonei\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\DTB\DtbOperators.py", line 305, in execute
Environment.EnvProp()
File "C:\Users\jonei\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\DTB\Environment.py", line 34, in init
self.execute()
File "C:\Users\jonei\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\DTB\Environment.py", line 56, in execute
ReadFbx(os.path.join(self.env_root, 'ENV' + str(i)), i, int_progress)
File "C:\Users\jonei\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\DTB\Environment.py", line 84, in init
if self.read_fbx():
File "C:\Users\jonei\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\DTB\Environment.py", line 94, in read_fbx
objs = self.convert_file(adr)
File "C:\Users\jonei\AppData\Roaming\Blender Foundation\Blender\2.92\scripts\addons\DTB\Environment.py", line 154, in convert_file
use_prepost_rot = False
File "C:\Program Files\Blender Foundation\Blender 2.92\2.92\scripts\modules\bpy\ops.py", line 132, in call
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Couldn't open file 'C:\Users\jonei\Documents\DAZ 3D\Bridges\Daz To Blender\Exports\ENV\ENV2\B_ENV.fbx' (16)

location: :-1

@Popinjayishuman
Copy link
Collaborator

This seems to be a permission issue within blender. A quick check would be to change the export directory. you can find this in Import settings on the sidebar under DaztoBlender. Go to Auto Import settings and check 'use custom import path' click the folder icon to chose your dialogue and then press save config. Now your exports will go to the location you defined. Hope that works, let us know if there are any other issues.

@samjay3d samjay3d added the question Further information is requested label Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants