Goz for blender 2.8

I have found all mesh that I have Export to Zbrush from Blender in that my folder - C:/Users/Public/Pixologic/GoZProjects/Default - here Suzanne.GoZ and Suzanne.ZTL… so it is sending to Zbrush and this mesh is exist but not opening automaticly in Zbrush

My folder where is installed Zbrush is - D:\Program Files\Pixologic\ZBrush 2019

P.S. But my Zbrush 2018.1 is too installed in - D:\Program Files\Pixologic\ZBrush 2018 … and it is works

@aghandwork whne you say its not opened automaticly in zbrush. do you already have a tool open in zbrush?
i noticed that if i just push something to zbrush i first need to draw it out and enter edit mode in zbrush to be able to send more tools over. is this what you describe? i will need to install zbrush 2018 again to test this.

1 Like

I was try in different way…result the same

maybe something changed in the zbrush version, i doubt it has anything to do with the addon. lets see if i get the same on zbrush 2018

1 Like

In any case - thank you for your attention to that problem!

Got a new bug here on version 2.8 - Hash 1fa527bfa3a downloaded on 2018-12-05.

Happens when I have a mesh trying to GoZ from Zbrush to Blender:

Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 341, in execute
self.GoZit(ztool_path)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 68, in GoZit
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198
Error: Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 341, in execute
self.GoZit(ztool_path)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 68, in GoZit
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198

Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 371, in run_import_periodically
bpy.ops.scene.gob_import(ctx)
File “C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py”, line 198, in call
ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 341, in execute
self.GoZit(ztool_path)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 68, in GoZit
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198

hi @fusobotic as far as i can tell that error happens when the GoZ path of zbrush is not found, have you
put the ‘Blender’ folder directly inside the GoZApps folder at this path?

  • Windows: C:/Users/Public/Pixologic/GoZApps
  • Macintosh: /Users/Shared/Pixologic/GoZApps
    Please let me know if that solves your issue, i thought about instead of getting a error you would get asked if the folder should be “copied” to the needed location but i need to know if the issue is solved when the folder is there.

Otherwise it might be that you need to configure the path to blender first in zbrush GoZ and then restart Zbrush for it to work, i remember its a bit tedious to get it to work for the first time.

Hi there. Just got today’s build 16 May 19 and now I get a blender error when trying to send something back into Zbrush (19 current).

Traceback (most recent call last):
File “C:\Users\Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB_2_8.py”, line 585, in invoke
return self.execute(context)
File “C:\Users\Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB_2_8.py”, line 571, in execute
‘{0}/GoZProjects/Default’.format(PATHGOZ))
File “C:\Users\Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB_2_8.py”, line 357, in exportGoZ
me = ob.to_mesh(bpy.context.depsgraph, apply_modifiers = False, calc_undeformed=False)
AttributeError: ‘Context’ object has no attribute ‘depsgraph’

location: :-1

Updated addon. Removed old through blender etc. Same problem, different line faults. Going into blender okay, return trip, blender error.

Traceback (most recent call last):
File “C:\Users\Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB-GoZ-Blender_28\GoB.py”, line 662, in execute
self.exportGoZ(PATHGOZ, context.scene, obj, f’{PATHGOZ}/GoZProjects/Default’)
File “C:\Users\Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB-GoZ-Blender_28\GoB.py”, line 438, in exportGoZ
me = self.apply_modifiers(obj, pref)
File “C:\Users\Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB-GoZ-Blender_28\GoB.py”, line 406, in apply_modifiers
me = obj.to_mesh(bpy.context.depsgraph, apply_modifiers=True, calc_undeformed=False)
AttributeError: ‘Context’ object has no attribute ‘depsgraph’

location: :-1

Works, when I tick, ignore modifiers. Cheers.

1 Like

Fixed in : https://github.com/JoseConseco/GoB/releases/tag/b28_v3.0.4

3 Likes

Win10 64b

My Blender 2.80 = May 16th build. My Zbrush is 4R8 P2.

I got GoB 2.0.1 to work, after failing to get GoB 3.0.4 to show up inside Blender Addon user pref installation.

I also made sure there aren’t previous/orphaned GoB files littering blah-name\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons folder.

My steps (for new Zbrusher arrivals):

  • I’ve pointed ZBrush to my latest Blender.exe
  • unzip the downloaded GoB file
  • as instructed, copy the Blender folder into C:/Users/Public/Pixologic/GoZapps (delete the previous Blender folder)
  • not as instructed, instead of installing from the GoB-version.py file, I installed from the downloaded ZIP file
  • finally the two precious GoB buttons appeared next to workplaces menu! Saved preference!
  • then I launched ZBrush, in Edit
  • then I exported a Blender cube to ZBrush, and ZBrush received it
  • then I subD, del lower, GoZ a higher res mesh to Blender
  • press GoB import button, voila!

So far so good…

Thanks Conseco!

1 Like

Just to confirm, GoB 2.0.1 also works with the latest May23 version of Blender 2.80.0-git.02a7e57d9c07-windows64. There is only one minor issue.

My steps (for Conseco to troubleshoot):

  1. I first cleared Pref>GoZ cache, pointed Zbrush to the latest Blender
  2. With new Blender opened, I GoZ Demohead to Blender
  3. I can’t export/ GoB altered Demohead back to ZBrush. Error message.
  4. (users may skip to next step) I then removed GoB, reinstalled addon a few rounds. Error message persisted.
  5. I changed GoB’s addon modifier preference from the default ‘Only Export’ to ‘Ignore’. Voila, GoB GoZ work happily again.

So it turned out, ‘Export and Apply’ also produced the same error message. See screen grab.

U have old version. Grab new from: https://github.com/JoseConseco/GoB/releases
Or there is addon updater in preferences now (but since you have old addon, then you may not have the auto-updater yet).

I tried your latest release GoB 3.0.4 first, but somehow couldn’t get it to install or show up in user preference.

I tried installing from unzipped 3.0.4 GoB.py, its ini py, then the unzipped folder, then the entire zip, copy paste the unzipped to a new folder, or directly from unzipped folder. I also made sure whatever failed install files in Appdata/…/script/addon folder are deleted before attempting more installs. Still I couldn’t get 3.0.4 to show up in either May16 or May23 2.80 release.

I finally tried the 2.0.1 version (which you linked in the top post of this thread), and that one worked if installed from zip.

My system
Win10 Pro 64b
Zbrush 4R8 P2

I had the same problem at first… But when I delete all previous GoB, unzip 3.0.4 GoB folder and paste it all to - Appdata/…/script/addon folder … everything works perfectly!

I think there’s something up with having dashes, periods or numbers in an addon folder’s file name? The addon only shows up in my preferences when I rename its folder from “GoB-3.0.4” to just “GoB”

That’s with today’s build of blender 2.8 (hash 1fa527bfa3a).

Just to clarify @kromar I did put the folder included with GoB there, I even deleted the old and everything. Plus I gave Zbrush the path in goz preferences. Still gives me the same errors:

On Export:

Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 666, in execute
self.exportGoZ(PATHGOZ, context.scene, obj, f’{PATHGOZ}/GoZProjects/Default’)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 428, in exportGoZ
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: :-1

location: :-1

On Import:

Enabling GOZ background listener
Info: No goz files in GoZ_ObjectList.txt
Info: No goz files in GoZ_ObjectList.txt
Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 329, in execute
self.GoZit(ztool_path)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 68, in GoZit
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198
Error: Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 329, in execute
self.GoZit(ztool_path)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 68, in GoZit
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198

Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 384, in run_import_periodically
bpy.ops.scene.gob_import(ctx) #only call operator update is found (executing operatros is slow)
File “C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py”, line 198, in call
ret = op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Error: Traceback (most recent call last):
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 329, in execute
self.GoZit(ztool_path)
File “C:\Users\Life Creator\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\GoB\GoB.py”, line 68, in GoZit
pref = bpy.context.preferences.addons[package.split(".")[0]].preferences
AttributeError: ‘Context’ object has no attribute ‘preferences’

location: C:\Program Files\Blender Foundation\blender-2.80\2.80\scripts\modules\bpy\ops.py:198

yes the dots in the tag break the addon since blender thinks its a file extension… we fixed this some time ago but i think due to the tag updates we reintroduced the issue.
thanks for reporting that.

as for the other issues, i think its because there have been a lot of ui/api changes lately in blender 2.8 and im not sure we updated to the latest changes yet. it should be fixed soon.

Thanks. I will try your method when I install another latest build.

This addon should work with latest blender + latest release from github: https://github.com/JoseConseco/GoB/releases
The problem is github automatically adds release tag strign to folder name. So instead of having folder named:
‘Gob’
The github zip has: ‘GoB_v3.x.x’ or something like that. Just try renaming it guys to ‘GoB’ in your:

C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons

I tested it with latest zbrush 2019.1, latest blender daily build ang GoB 2.0.4

Autoupdater will be probably removed, since it is 3x as big as the addon itself, and gives problems.

2 Likes