View Full Version : GoB: an unofficial GoZ for Blender.
Stunton
04-22-11, 03:47 AM
Hello there,
I propose my version of a bridge between Blender and ZBrush (for Windows, and maybe for Mac if there are a Max GoZ entry) .
It is a simple Python script to import and export .obj file.
(This is only Blender side, no Zscript or modification of ZBrush)
The script use the official Blender obj importer and exporter.
In fact there is many ways to bridge Blender with ZBrush and I show you two of this ways:
First way: The semi-automatic method
ZBrush open automatically Blender each time you click on the ZBrush GoZ button.
In Blender an other button export objects and then close Blender.
After in ZBrush you need to click on the import button to open the file named 'GoB.obj' in your 'Pixologic/ZBrush 4.0/ZExportImport'
Be carefull to the Projection range slider to avoid some surprise :)
To use this method, install the first script in the joined zip.
Second way : manual method
You have to open Blender manually. It is strange but this method is better (if you have double screens) because you can work fastest.
In ZBrush export your objects with the GoZ features and import with the standard import button.
In Blender export and import with the same button in the info header.
To use this method, install the second script in the joined zip.
There are some inconveniences to use the standard .obj importer/exporter.
So maybe other version of GoB will emerge, or not if official GoZ will be released :)
Known problem: all objects imported are renamed 'GoB', so rename manually your tools...
RainbowSix
04-25-11, 02:58 AM
Thank you Stunton, I'll give it a try.
very nice plugin~~hope it can import models from blender automatic soon~~
thanks~~
Does not work for mac, because there is no entry for max. I have tried to edit script for maya entry, but it doesn't work for me.
Would be great if script will work also for mac users.
Stunton
06-26-11, 07:34 AM
Hello there,
I release a new version of GoB with more features:
- Polypainting
- Polygroup
- Masking
- material (diffuse, displacement, normal map)
A short video to see the script in action (the model used is from http://www.ir-ltd.net):
http://vimeo.com/25621241
-- edit: fixed, thx saika --
To use it:
Copy the two files in the zip in this directory:
C:/Users/Public/Pixologic/GoZApps/Max
Then in ZBrush, choose Preferences->GoZ->Path to 3D Studio Max and locate the Blender.exe and Skip the 3DS install.
Next open this file with notepad:
C:/Users/Public/Pixologic/GoZApps/Max/GoZ_Config.txt
and add this parameter:
-P GoZ_ExportToBlender.py
so the first line is:
PATH = "C:/your_path_to_blender/blender.exe -P GoZ_ExportToBlender.py"
-- edit: you need to install the GoZ update 1 --
Enjoy :)
For Mac user:
I dont know how GoZ for Mac works, so if you can help me to adapt this Python script to Mac world, it would be fine.
really nice!!
but the vimeo seems broken.....
Reekdeb
06-27-11, 08:26 AM
Thanks!!
It works and nice too :D . But the model is imported upside down in blender.
It's actually 180 degree roteted on x axis in blender. Could it be solved?
Stunton
06-27-11, 12:36 PM
Yep, you need to install the GoZ update 1.
Reekdeb
06-28-11, 09:45 AM
Thanks. Now it works perfectly. :tu:
Tungerz
06-28-11, 06:49 PM
Hi Stunton,
Thanks for the exporter, I'm having a bit of an issue though.
At first installed and it worked great... imported into blender upside down, THen I saw the install the GoZ update 1. I updated goz and now I am getting a error = ZSCRIPT Note:
Tool:Export:Scale
In...
[IGET,"Tool:Export:Scale"]
Any sugestions?
-= Update=-
Got it running, Awesome :tu:
dunno wut I did to get it running, I just went over the install again and it worked.
Thanks again.
and on another note, I have gimp instead of photoshop... can I link to the gimp.exe? or as anyone tried it?
Thanks angain for all of your time and knowledge :)
Cheers,
~Tung
Stunton
06-29-11, 12:22 AM
I think you cannot use Gimp instead Photoshop with GoZ update 1.
(Gimp dont have a 3D module).
Happy ZBrushing/Blending
Tungerz
06-29-11, 08:47 AM
Yeah, thought i was reaching way our there for that one :confused:
Tis, all good though :)
Thanks again,
Cheers,
~Tung
Stunton: (http://member.php?u=287794)
This is most excellent!
May your efforts be rewarded for this!
The Blender community is indebted to you for this contribution.
Manchild
07-06-11, 08:59 PM
Superb!!! Absolutely beautiful tool.
Thank you so much for sharing your talent and skills with us.
ashasekayi
08-07-11, 10:20 PM
Thank you so much for your work on this plugin. ^^
The Vimeo Vid looks awesome. I'd like to help with the right OSX paths, but the main problem ist that theres no support for 3ds Max in OSX in zBursh, cause there no 3ds Max aviable for Mac OSX. So theres also no Max Folder in the Pixologic/ZApps directory.
I've tried it with the Modo Folder instead of the Max. But it didn't work. Maybe someone can help to get this cool plugin working for mac users?
Greetings
Hi
i think you can change the folder from max folder to maya folder..
and change the goz default setting in zbrush form max to maya..then you can
use this awesome tool ,cheers~
Allright, i will try it later.
Thanks so far.
Stunton
08-11-11, 03:13 AM
Hi,
@Mauk:
Thank you for the help!
If Max folder doesn't exists, you can change it by Maya like saika wrote it.
Then you need to change some paths like the import path:
pathImport = "C:/Users/Public/Pixologic/GoZProjects/Default"
and the script path:
sys.path.append('C:/Users/Public/Pixologic/GoZApps/Max')(and maybe the path for the 'GoZ_ObjectList').
This line need to be corrected too:
os.system(pathApp+'/GoZBrushFromApp.exe')
Finally, you need use the script attached to avoid the big-endian/little-endian problem.
Hope it helps?
Hey Stunton, thanks for the help.
But i cant get it work. Problem is, when i add
" -P GoZ_ExportToBlender.py"
in Goz_Config.txt and i restart zBrush the path to the maya/blender app gets lost. So zBrush finds no Maya/Blender under preferences/goz. If i'm not adding the -P GoZ_ExportToBlender.py to the GoZ_config.txt and i restart maya everything works as usual. GoZ Maya Path is linked to /Applications/Blender_2.57/blender.app like it should.
I changed everything in the GoZ_ExportToBlender.py like you said:
import sys
pathImport = "/Users/Shared/Pixologic/GoZProjects"
sys.path.append('/Users/Shared/Pixologic/GoZApps/Maya')
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# ##### END GPL LICENSE BLOCK #####
import bpy,os,pixoGozFile
from pixoGozFile import importGoZ,exportGoZ
pathApp = pathImport.rsplit('/',2)[0]+'/GoZBrush'
objectList = []
scn = bpy.context.scene
try:
fic = open(pathApp+'/GoZ_ObjectList.txt','rt')
line = fic.readline()
while line:
objectList.append(line.strip()+'.GoZ')
line = fic.readline()
fic.close()
except:
pass
def GoZit():
for obj in scn.objects:
if obj.name == 'Cube':
scn.objects.unlink(obj)
break
for obj in objectList:
importGoZ(scn,obj)
class INFO_HT_header(bpy.types.Header):
bl_space_type = 'INFO'
def draw(self, context):
layout = self.layout
window = context.window
rd = scn.render
row = layout.row(align=True)
row.template_header()
if context.area.show_menus:
sub = row.row(align=True)
sub.menu("INFO_MT_file")
sub.menu("INFO_MT_add")
if rd.use_game_engine:
sub.menu("INFO_MT_game")
else:
sub.menu("INFO_MT_render")
sub.menu("INFO_MT_help")
if window.screen.show_fullscreen:
layout.operator("screen.back_to_previous", icon='SCREEN_BACK', text="Back to Previous")
layout.separator()
else:
layout.template_ID(context.window, "screen", new="screen.new", unlink="screen.delete")
layout.template_ID(context.screen, "scene", new="scene.new", unlink="scene.delete")
layout.separator()
layout.operator("scene.gob_export", icon='MAN_TRANS', text="GoB")
layout.separator()
if rd.has_multiple_engines:
layout.prop(rd, "engine", text="")
layout.separator()
layout.template_running_jobs()
layout.template_reports_banner()
layout.label(text=scn.statistics())
layout.operator("wm.window_fullscreen_toggle", icon='FULLSCREEN_ENTER', text="")
class GoB_export(bpy.types.Operator):
bl_idname = "scene.gob_export"
bl_label = "Export to Zbrush"
def execute(self,context):
fic = open(pathApp+'/GoZ_ObjectList.txt','wt')
for obj in scn.objects:
if obj.type == 'MESH' and obj.select:
bpy.ops.object.mode_set(mode='OBJECT')
exportGoZ(scn,obj,pathImport)
fic.write(pathImport+'/{0}\n'.format(obj.name))
fic.close()
os.system(pathApp+'/GoZBrushFromApp.app')
unregister()
bpy.ops.wm.quit_blender()
return{'FINISHED'}
def register():
bpy.utils.register_class(GoB_export)
bpy.utils.register_class(INFO_HT_header)
GoZit()
def unregister():
import bl_ui
bpy.utils.unregister_class(GoB_export)
bpy.utils.unregister_class(INFO_HT_header)
bpy.utils.register_class(bl_ui.space_info.INFO_HT_ header)
if __name__ == "__main__":
register() I really dont know whats the problem is. I'm not an expert in Python.
Greetings
poster123
08-25-11, 04:32 AM
Thanks!!
It works and nice too . But the model is imported upside down in blender.
It's actually 180 degree roteted on x axis in blender. Could it be solved?
poster123 (http://member.php?u=319223) :
This GoZ for Blender is causing undesired changes in my Zbrush 4 Export/import preferances.
Stunton (http://member.php?u=287794)
This GoZ for Blender is not working as desired.
I have noticed 2 things that are wrong.
When I hit the Goz button in Zbrush to jump to Blender.
My model is vertically inverted in Blender.
The Export/Import options of Zbrush 4 are then changed undesirably
I've attached a image showing the before in Zbrush 4.
A model in Blender as opened with the GoZ button of Zbrush 4
And the annoying changes in the Zbrush Export/Import preferances
So with these problems in mind how can we make the GoZ for Blender better?
Good to see that someone has taken the time to work on this. A matter of time before the bugs are worked out.
Stunton
10-23-11, 07:05 AM
An update of the script.
Blender is not automatically launched (I know it is bad),
but now you can use ZBrush and Blender at the same time for a complete project in example.
known problem:
- all objects may have a different name.
- it is better to start a project from ZBrush and then export it to Blender.
Please do not look this video (it is a rhino-monkey :o):
http://vimeo.com/30978385
cgmystic
10-23-11, 11:02 AM
Stunton (http://www.zbrushcentral.com/member.php?287794-Stunton)
http://www.zbrushcentral.com/zbc/img/zbc_style/statusicon/user-offline.png
This new script seems to work.
I have Zbrush 4R2 installed with Zbrush 4.
The modification used in your earlier methods are still applied to the contents of the
C:\Users\Public\Pixologic\GoZApps\Max folder.
I've multiple versions of Blender
The earlier script you had us use the
C:\Users\Public\Pixologic\GoZApps\Max\GoZ_Config.t xt to path to desired version of blender
The new script GoB_2.3.zip opened the earlier version of Blender targeted in the GoZ_Config.txt
So I modified this GoZ_Config.txt to target my most recent version of Blender 2.60
And now it works!
Amazing!
ancomic
10-23-11, 08:42 PM
Thank you Staunton.:tu:
This is a very good plug-in.
It works fine in Blender 2.60 version.(The seems to be small problem . And it works fine.)
Tungerz
10-24-11, 01:07 PM
Thanks Stunton,
It works :) I'm like cgmystic though, it pointed to earlier versions of blender... but pointed it to the newer one :)
I noticed that it won't apply mirrors (or modifers in general I guess) though during the export, I tried a piece I'm working on and it only exported the actual half that I'm working on, not the mirrored...
Anywho, Thanks again :)
Cheers,
~Tung
Seems to doesn't work well for me.
Blender to Zbrush works really fine but Zbrush to blender just do nothing :confused: (i mean nothing appear in my Blender Viewport while pressing GoZ).
Blender 2.6 Rev:41281 (not install, only archive)
Zbrush 4 RC2
Thank's for your work :)
ancomic
10-25-11, 03:08 PM
Hi bobyy.
Try as see below.
279074
Damned ! Didn't notice the blender icon :o
Thanks a lot for your help and have a good sculpt :D
bobyy
Cant thank you enough for developing AND SHARING this Blender/ZBrush bridge. I've been hoping to see this for years now. Your efforts are appreciated :-).
Time to do some OSX Blender 2.6(trunk) to ZBrush testing. Very excited to be able to finally have GoZ, or rather GoB ;-)
I'm getting an error when using the 2.3 script on my Mac (OSX 10.7.2). I downloaded the script and Extracted the 'ZBrush' directory contents to:/Users/Shared/Pixologic/GoZApps. Set the goz preferences in Zbrush to find my blender 2.59 app - all is good with the Zbrush part.
For the blender add-on component I placed the GoB_addon_259 folder and contents into "Macintosh HD/Users/imac/Library/Application Support/Blender/2.59/scripts/addons" and changed the __init__.py pathGoZ = "C:/Users/Public/Pixologic" to "/Users/Shared/Pixologic". When I follow along the video with the rhino, I export out of Zbrush and then go to import into Blender with the blender icon in the header, I get this error:
281119
What am I doing wrong?
P.S. Tried this with Blender 2.60a and received the same type of error.
I'm in OSX 10.6.8
Blender Trunk (v2.6x) r41599
is there a new version of "pixoGozFile_for_Mac" that is needed to get GoB working 2.6 trunk
it looks like the already compiled "ext_GoB.pyc" is relying on windows-specific filename paths. as opposed to generic path variables to be passed in, or even mac specific paths with structures like "(uc/Users/designusername/Library/Application Support/Blender/2.60/scripts/addons_contrib/GoB_addon_259/)"
I've performed the same fixes to init py as Dougt mentioned. And am able to send objects TO ZBrush from blender, however, I am not able to reImport the GoZ data back into blender when clicking on the blender icon in the menubar(within blender). I get the same error, which looks like its arising from and "D:" drive based file path, that looks to be hardCoded into the "ext_GoB.pyc" file. Has any one found a means of defining the filepath that "ext_GoB.pyc" is attempting to use? This looks to be the last glitch preventing OSX usage of GoB that brings the mesh back into Blender.
Stunton
11-07-11, 02:22 AM
Hello Mac users,
We found with doug some mistake in ext_GoB.pyc
use the new attachment file for Mac.
All paths are only in the "_init__.py" file.
So edit this file is a good thing, the default path is for Window.
Two lines need to be modified is the "__init__.py" file:
line44 pathGoZ = "C:/Users/Public/Pixologic"
and
line126 os.system("{0}/GoZBrush/GoZBrushFromApp.exe".format(pathGoZ))
@uaun:
Can you post your modif from line 126, because I need the GoZBrushFromApp name on Mac to send back a Mac specific version of GoB.
Thx for the help.
@Stunton thank you for your help :-)
my mac-specific init changes are as follows:
line44 pathGoZ = "/Users/Shared/Pixologic"
line126 os.system("{0}/GoZBrush/GoZBrushFromApp.app/Contents/MacOS/GoZBrushFromApp".format(pathGoZ))
mac OSX looks at an ".app" file as a folder/package(which it technically is in OSX). Thus I have to navigate to the internal executable.
Thank you again for all your help and hard work to bring GoZ to Blender users(across many platforms)!
EDIT:-----------------------
after installing the new "ext_GoB.pyc" you posted, I was able to use the same(edited) init py that I changed previously, and am now able to bring GoZ objects back into Blender; so now all seems to be working well with GoB! Thank you!!!! :-)
I've only tested passing meshes(with and without masks) back and forth, all seems to work as expected, aside from one issue.... it looks like normals need to be recalculated on reImport back into Blender(from ZBrush) if the object had a subsurf modifier on it when sending it to ZBrush. A few of the normals come back into blender flipped, until I enter then exit edit mode on the object, then all is well with the normals. I'm of course aware that the subsurf modifier isnt applied when sending the object to ZBrush, only the original mesh is passed back and forth, its just that a potentially missing normals recalc(forced via python) isnt happening on remiport, just my first guess.
Stunton
11-08-11, 01:56 AM
Thanks uaun,
I have corrected this (a)normal behavior.
Now two version, one for Windows and one for Mac :D
Only a redraw and paths corrected for this new version.
Tungerz
11-08-11, 03:30 AM
Stunton,
Thanks for the updates my friend, You are awesome...
Beers for you Sir!!! \_/\_/\_/\_/
Cheers,
~Tung
Whoa - so glad I ran into this thread! Thank you so much for making it!
Paint Guy
11-19-11, 10:08 AM
i, thanks for making this I am using Mac OSX 10.58. Can you please tell me if this latest download will work and how to install/set this up. Thanks
MentalFrog
11-28-11, 04:20 PM
I somehow got this to work with Blender 2.60a but not with the 2.60.5 from graphicall.org.
I'm confused how to set this up and get it working. What are the exact steps to install completely on the Mac OSX system? I'm running ZbrushR2 and Blender 2.60.5
Stunton
11-29-11, 02:30 AM
Exact, the Blender API has changed ;)
There is the new version for Blender 2.60.5 in attachments.
Just replace the 'ext_GoB.pyc' file (this is the same file for Mac and for Windows).
MentalFrog
11-29-11, 10:51 AM
Thanks for the quick fix! It seems to be working great now. :D
womanonfire
12-02-11, 06:31 AM
if its not working for you make sure you have python installed! At least that turned out to be my problem getting the GoZBlender-->zBrush to work. Now I am still having trouble getting models from zBrush-->Blender. I'm using Blender 2.59. Zbrush finds the path to Blender and everything, I click the GoZ button and it says the file is saved to disk ok, but when i go over to Blender there is nothing showing up. Any ideas how I can fix this?
EDIT!
I finally watched the video posted earlier in the thread and figured out what i was doing wrong. i simply hadn't noticed that to import the model into Blender again I needed to click the other button in the header! :rolleyes: oops!
AtlantiB
12-05-11, 04:36 AM
I'm using Blender 2.60 and it's works great! But- sometimes (everytime... I tryed for 6 times) it brokes UV's. for example- the whole Uv is fine, but there are some quards or tris are inverted ( the vertices wrong connected )
anyway, Thanks you! you've done a great work! Now I finally got easiest way to make re-topology
It works like its an official GoZ for Blender! Keep it up!
Stunton
02-06-12, 05:22 AM
sometimes (everytime... I tryed for 6 times) it brokes UV's. for example- the whole Uv is fine, but there are some quards or tris are inverted ( the vertices wrong connected )
Hello AtlantiB,
I can not reproduce this problem. Can you post some screenshot or mesh?
------
With Blender 2.62, matrix indexing was changed to conform to standard notation.
So there is the update for GoB.
(Just replace the two files in the .zip)
On Blender side, a bonus:
Shift+click on the Blender icon to create a cavity layer for the selected mesh (it is a vertex color layer).
It is really really slow so use it only for static mesh!
You can use the 'Dirty Vertex Colors' too.
Select the vertex paint mode and select 'Dirty Vertex Colors' in the paint menu.
http://vimeo.com/36273593
Thanks for your effort but I just can't make it work. Can you please explain step by step what should I do with downloaded files and what changes I have to do t make it work on Win 7. Do I have to edit any of those files? Please help.
Cheers,
Zets
---edit
When I hit GoZ inside ZB Blender opens but nothing gets imported. When I hit GoZ again it just opens another Blender window (default scene). Inside Blender I don't see that icon/button next to Blender icon/button.
Thank you for the plug-in Stunton. Very cool.
Stunton
02-07-12, 10:00 AM
Thanks for your effort but I just can't make it work.
@ZETS:
Download the .zip file from post #36 (http://www.zbrushcentral.com/showthread.php?127419-GoB-an-unofficial-GoZ-for-Blender&p=907271&viewfull=1#post907271).
It contain the Blender add-on, and a directory with a text file for ZBrush. This "folder+file" simply add a Blender entry for GoZ inside ZBrush (to switch between GoZ apps).
The add-on is an add-on for Blender, copy it in you add-on directory.
Then install it inside Blender ('File'->'User preferences...'->'Add-Ons', and search for the 'gob' addon). Now you have two icon on the top bar (normally).
The 'Brush icon' is to send mesh to ZBrush automatically, but the second is to import from ZBrush manually after pressed the 'GoZ' button inside ZBrush. Zbrush do not open Blender!
It is not automatic for many reason (not compatible Mac, or too many folder scan, or too many Blender app opened, etc...)
I think it is better like that?!
The new 'GoB_addon_262.zip' in my previous post contain two file to replace the add-on to avoid a "mesh flip" when back to ZBrush.
Thanks a lot. Really, I mean it. I asked for this kind of solution at Novedge ZB Webinar few days ago and guy from Pixologic said that they don't plan to release something similar any time soon/ever. And then I find this thread.
Cheers,
Zets
@Stunton
Thank you again greatly for maintaing this GREAT plugin/tool for all the Blender+ZBrush users.
thanks also for maintaing macosx compatability too :-)
Prior to seeing your response to Zets I had used the other way to install these scripts (not the ones from post # 36) I was able to get the little GoB Icon in the header bar or Blender but no Zbrush Icon.
I was able to change the path for 3D Max to get things sent to Blender (that worked for sending meshes). Once I saw your post responding to Zets I downloaded the files from post # 36 and attempted to install those.
I extracted the Zbrush file from the zip in post #36 into this path (per the accompanying text file): C:/Users/Public/Pixologic/GoZApps
I did not get the 'Go Z'->'Path to Blender' when I checked in the Zbrush 'Preference'
I then extracted the 'Blender' directory contents into: C:\Program Files (x86)\Blender\2.61\scripts\addons
and got this:
Note: I tried it twice and below are the error messages from the two attempts.
! C:\Users\Kit\Downloads\GoB_addon_v24 for Windows (1).zip: Cannot create folder GoB_addon_259
Access is denied.
! C:\Users\Kit\Downloads\GoB_addon_v24 for Windows (1).zip: Cannot create GoB_addon_259\ext_GoB.pyc
The system cannot find the path specified.
! C:\Users\Kit\Downloads\GoB_addon_v24 for Windows (1).zip: Cannot create GoB_addon_259\__init__.py
The system cannot find the path specified.
! C:\Users\Kit\Downloads\GoB_addon_v24 for Windows (1).zip: Cannot create folder GoB_addon_259
Access is denied.
! C:\Users\Kit\Downloads\GoB_addon_v24 for Windows (1).zip: Cannot create GoB_addon_259\ext_GoB.pyc
The system cannot find the path specified.
! C:\Users\Kit\Downloads\GoB_addon_v24 for Windows (1).zip: Cannot create GoB_addon_259\__init__.py
The system cannot find the path specified.
I still don't have the Zbrush Icon in the header of Blender 2.61.
I'd just like to add, thank you VERY much for trying to get us a means to do GoZ (GoB) between Blender-Zbrush.
Ezra
Stunton
02-08-12, 09:56 AM
I cannot upload more than one HD video by week, so I think I need to create some text documentation (pdf).
But it is more complicated for me, so wait some days for it.
For Mac user you need to edit the _ini_.py filet to replace the line 44 and 210:
line 44:
replace
pathGoZ = "C:/Users/Public/Pixologic" #<- for Windows
by
pathGoZ = "/Users/Shared/Pixologic" #<- for Mac
line 210:
replace
os.system("{0}/GoZBrush/GoZBrushFromApp.exe".format(pathGoZ)) #<- for Windows
by
os.system("{0}/GoZBrush/GoZBrushFromApp.app/Contents/MacOS/GoZBrushFromApp".format(pathGoZ)) #<- for Mac
(Sorry I forgot).
The pdf is coming soon
------Edit-------
I hope this pdf help you using Blender and ZBrush.
And sorry for my english.
Vilperi
02-12-12, 09:31 AM
I can bring stuff from Blender to Zbrush but not from Zbrush to Blender :cry: EDIT: Now I got it working. Thanks!
AtlantiB
02-18-12, 12:01 AM
Hi, I did update from blender 2.61 to 2.62 and now GoB doesnt work!
I followed all you wrote in the goz_docs.pdf but my blender just doesnt see this script! I dont know what to do :(
I put those 2 files into my C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\
then I opened blender and go to User Preferences menu, switch to addons... and there is no GoB :(
Stunton
02-18-12, 05:16 AM
I put those 2 files into my C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\
then I opened blender and go to User Preferences menu, switch to addons... and there is no GoB :(
Like in the pdf, you need to move the folder named "GoB_addon_259" with the two files.
So I think you just need to create a folder inside the addons:
C:\Program Files\Blender Foundation\Blender\2.62\scripts\addons\GoB_262
But the best way is to use the script path inside Blender Preferences like in the pdf.
AtlantiB
02-18-12, 10:27 AM
I did it and it solved my problem! Thank you! ;)
wildduck
03-10-12, 03:29 AM
Great tool !!! Works great for me !!
Just one problem : is use it to do my blend shapes, but when i click export from Blender, it messes up all my vertex groups (put numbers instead of names and reset some of their values), the work around is quiet easy, i just have to ctrl_z after i export, and then everything's back but would be cool to fix. (or explain if i just don't understand the feature ^^)
Thx !!!
After extracting the Zbrush file into the Zbrush Addons folder, When I go to Zbrush > Preferences I see the 'Path to Blender' button and then click it. The window that says 'No Version of Blender Found' window comes up and then I do 'Browse' and can see the Blender folder in the Addons folder but when I open that Blender folder there is nothing in it like there is in the Max, Cinema, and other folders.
When I go to that Addons folder through the Start option and open that same Blender file I see the small .txt file you placed in the Blender folder that we get from post #36
Any hints on what I'm doing wrong?
Stunton
03-14-12, 01:59 AM
Hello,
@ wildduck:
- In ZBrush, polygroups don't have a name, just a color and it is assigned to a face.
- In Blender it is a vertex group, assigned to a vertex (and worst, to a vertex on a face).
The same vertex can be assigned to different group inside Blender but not in ZBrush.
So the script rename all group with a number to represent the color index. (1= white, 2-7=orange-yellow, ... , 65535=soustractive polygroup) and modify some vertex group to fit a polygroup (face group).
I can fix the name behavior, but not the vertex/face group problem.
@ EZRA52:
The window that says 'No Version of Blender Found' window comes up and then I do 'Browse' and can see the Blender folder in the Addons folder
You need to select the 'blender.exe' inside your Blender installation, not inside the addon :)
Thanks for the response Stunton. I've gotten it working now.
Thanks again for writing this and providing it for all of us.
Ezra
Well, I thought I had it working. I'm able to GoB a tool from Zbrush and receive it into Blender by clicking the Blender icon in the top menu bar.
But, after editing the model (tool) from Zbrush, Blender does not send it back into Zbrush when I click on the little brush icon, to the left of the blender icon, in the top menu bar in blender.
Ezra
Paint Guy
03-15-12, 02:54 PM
Hi, I am a bit confused as to what to do here. I wish the instructions were more clear. I am on Mac OS 10.6.8 (Snow Leopard)
The add-on is an add-on for Blender, Open Blender and copy it in you add-on directory. Copy the folder named (GoB_addon_259) to your Blender add-on directory (File > User preferences > Add-Ons, and search for the 'gob' add-on)
PLease look at the image. There is no ***8220;add-on***8221; directory/folder in my mac 2.62 folder. Please help!
MentalFrog
03-15-12, 03:22 PM
Go to the directory where you installed Blender. Right click on the Blender.app file and select "Show Package Contents". This should bring up a new Finder window with a directory structure of the .app file. You need to place the "GoB_addon_259" folder into the Contents/MacOS/2.62/scripts/addons/" directory. File names and directories may be slightly different depending on your version of Blender.
Once you do that it should show up in the user preferences addon section under the export import section of the addons.
In Zbrush you need to tell GoZ where Blender is.
That should do it.
Paint Guy
03-15-12, 10:18 PM
Thanks so much MentalFrog.
so I did everything. I think.
I installed the files from Post #36 I did not install the files from post #53 Do I need to do this too?
Problems
In ZBrush I did a quick test with a sphere. I pressed the GoZ button and it scanned for GoZ apps then it wanted to send it to Photoshop and Sculptris instead of Blender. How do I get ZBrush to send the file to Blender and not these other apps?
It said in ZBrush when you press the "GoZ" button it will ask you which application you want to send it to. I have GoZ set to use Photoshop, Sculptris and Blender but when I press the "GoZ" button in ZBrush to export a mesh it doesn’t ask me which application I want to send it to it just opens Sculptris or Photoshop. What am I doing wrong? :(
Stunton
03-16-12, 02:17 AM
@EZRA52:
After clicking on the brush icon, open the Blender console (on Windows, go to the help menu and select 'Toggle System Console' to show/hide the Blender console) and look inside to see if there is an error message.
@Paint Guy:
To append a GoZ entry inside ZBrush you just need to add a folder with the name of the new entry and add a 'GoZ_Info.txt' file.
Then to switch between GoZ apps, you need to press the 'R' button near the 'GoZ' button. For any help on GoZ, just look at the GoZ documentation.
Paint Guy
03-16-12, 11:14 AM
Ok, I see in ZBrush the smalll “R” this allows me to choose which application I use with GoZ. Figured that out. :)
@Paint Guy:
To append a GoZ entry inside ZBrush you just need to add a folder with the name of the new entry and add a 'GoZ_Info.txt’ file.Stunton, hi sorry I don’t follow you.
1) What do you mean add a folder? Where do I put tis folder in Blender or ZBrush and what is it for?
2) I did a sculpt in ZBrush then pressed the GoZ button and then in Blender I pressed the ZBrush icon and the mesh imported to Blender. That seemed to work fine but....
3) I couldn’t get the mesh to reexport back to ZBrush. When I pressed the ZBrush icon in Blender I got an error. Any idea why I can’t export the mesh from Blender back to ZBrush.
MentalFrog
03-16-12, 02:50 PM
Make sure you have a Blender folder in the Users/shared/Pixologic/GoZApps/ directory.
So on my my computer I have:
Users/Shared/Pixologic/GoZApps/Blender/GoZ_Config.txt
Users/Shared/Pixologic/GoZApps/Blender/GoZ_Info.txt
I believe the addon only comes with the GoZ_Info file and I think Zbrush adds the Config file once GoZ is ran through Zbrush to find blender. I might be wrong though. Check to make sure you've got the file/s there.
Stunton,
I attached the screen grab of the console. No error message. It just says GoZ and then the name of the tool that I had sent over from Zbrush. It came into Blender upside down by the way.
299285
Ezra
Mental Frog,
I the post #36 DL of the plug-in from Stunton I don't see the:
Blender/GoZ_Config.txt
that you say you have in the Zbrush Zapps folder.
The folder for Zbrush just has the
/Blender/GoZ_Info.txt file in it.
Ezra
MentalFrog
03-16-12, 03:54 PM
Sounds like you got it working now.
You might just need to adjust some of the export import settings in the Users/Shared/Pixologic/GoZApps/Blender/GoZ_Info.txt
There are a couple of options to flip some of the axis on export or import in that file.
MentalFrog
03-16-12, 04:04 PM
Check out post #41 there was an update to the 'ext_GoB.pyc' file.
This is the file in the Blender.app Contents/MacOS/2.62/scripts/addons/GoB_addon_259/ext_GoB.pyc
Again accessed by right clicking on the Blender.app file and selecting Show Package Contents.
The links in #41 are the updated ones I'm using. Not sure if he fixed the zip file to contain the latest pyc file.
Hi MentalFrog,
No, unfortunately I still can't send stuff back to Zbrush after editing in Blender with the GoB scripting.
I have windows not Mac so I'm not sure if that post #41 upgrade will work for me.
I'm not very savvy about this sort of thing but I would love to be able to GoB my models back and forth.
Ezra
Well I tried putting that file, from post #41, into my Zapps/Blender folder with the other .txt file but that didn't change anything.
I can still send a model over to Blender from Zbrush but can't send it back to Zbrush from Blender and I still get the same thing in the Blender console.
Ezra
Stunton
03-17-12, 03:03 AM
Ok, just two precision:
- You need the GoZ update 1 (http://www.zbrushcentral.com/showthread.php?125810-GoZ-Update-1-with-Photoshop-Support) from Pixologic.
- Read the documentation on post #53 (http://www.zbrushcentral.com/showthread.php?127419-GoB-an-unofficial-GoZ-for-Blender&p=928949&viewfull=1#post928949), this can help you.
Hi Stunton,
Ok, I added the GoZ update from the Pixologic download page to my Zbrush, per the instructions.
I then attempted to GoZ a subtool over to blender. I got a pop-up screen in Zbrush saying, more or less, that I needed to redo the GoZ settings in Preferences.
I went into the Preference > GoZ and selected the Blender button and got the window saying "No version of Blender Found" so I 'browsed' to the Blender folder in GoZapps folder using the browse button in that pop-up window.
When I drill down to C: > Users > Public > Pixologic > GoZApps I see the Blender folder, along with all the other folders for Cinama 4D, Max, Maya, Modo etc, but when I click on the blender folder to open it it has nothing in it (at that point that search or browse is only looking for .exe or application files). There are no application files in the add-ons download from post # 36, just a single text file called
GoZ_Info.txt.
Then I opened that same file via windows and see the
GoZ_Info file & GoZ_Config. It seems these are both .txt file and Zbrush is looking for a .exe file.
I don't know how I was able to get Zbrush configured to use your
GoZ_Info file the last time I did it.
When I look in the other applications folders in GoZapps (like Cinama, Max, Modo etc) there are application files in them.
Anyway now I can't get the Blender option to select that as the (current) GoZ application using the 'R' button at the end of the GoZ row of buttons in the 'Tools' pallet. That means, of course, that I can no longer send stuff to Blender.
I follow the instructions from the
documentation on post #53 (http://www.zbrushcentral.com/showthread.php?127419-GoB-an-unofficial-GoZ-for-Blender&p=928949&viewfull=1#post928949) as you suggested.
Still hoping to figure this out.
Thanks Stunton
MentalFrog
03-17-12, 10:32 AM
Oh sorry for some reason I was thinking you were on a Mac.
Sorry I couldn't be more help.
MentalFrog
03-17-12, 10:41 AM
The update to GoZ in Zbrush will delete your Blender files. So you'll have to copy the files back in.
The Blender GoZ doesn't need an executable. And Zbrush isn't looking for one. Those executables in other apps GoZ files are for additional processing of the model those programs need back and forth through GoZ. All Zbrush needs is a folder named for your application, in this case Blender, and the GoZ_Info.txt file. You'll notice this txt file is in all the GoZ Apps folders for each program.
Stunton
03-17-12, 12:41 PM
Ok I need to update the doc :)
when I click on the blender folder to open it it has nothing in it (at that point that search or browse is only looking for .exe or application files).
ZBrush is searching for the executable of Blender, not for my add-on. You need to select the 'blender.exe' from your installation of Blender.
This is pure "cosmetic", and by this way a 'blender entry' appear into the GoZ panel.
(In fact, ZBrush just create a 'GoZ_Config.txt' file).
Oh Stunton,
My apologies, as soon as I read your post I felt like an idiot. That's exactly the problem I had the 1st installation. I needed to look for the application for and in the Blender program file.
So I did that and I now, again have Zbrush exporting the subtools to Blender, but still can'r send it back to Zbrush from Blender even with the GoZ plug-infrom Pixologic that I downloaded and installed into my Zbrush.
Thanks for your help again, at least I can go one way. If you can think of what else I might try to get the stuff exported back to Zbrush from Blender please let me know.
PS When I hit the brush icon, in the top bar of Blender, to try and send a model back to Zbrush I see that I do get an action. The white semi transparent edge around the edge of the Blender interface becomes more transparent.
Thanks again,
Ezra
Thank you also MentalFrog
Ezra
Stunton
03-18-12, 04:14 AM
I see in your previous capture that you use Blender 2.61,
Try it with the 2.62 version.
ZBrush is installed in the default path?
(I don't know why it doesn't work.)
I switched over to Blender 2.62 yesterday after I uploaded the Pixologic GoZ plug-in. I installed your different file for 2.62. Zbrush to Blender works fine and I have the two icons at the top of Blender. I just can't send stuff back to Zbrush.
Thanks Stunton
Ezra
How can I check to see what path Blender is exporting to?
Ezra
Stunton
03-18-12, 06:48 AM
Blender export goz file at this path:
C:\Users\Public\Pixologic\GoZProjects\Default
and in the __init__.py file from the addon,
the script use the GoZBrushFromApp.exe from:
C:\Users\Public\Pixologic\GoZBrush\GoZBrushFromApp .exe
ckeck line 44 and 210:
line 44
pathGoZ = "C:/Users/Public/Pixologic" #<- for Windows
line 210
os.system("{0}/GoZBrush/GoZBrushFromApp.exe".format(pathGoZ))
You can just double click on the GoZBrushFromApp.exe to launch ZBrush with you Blender object.
wildduck
03-21-12, 06:25 AM
Hello,
@ wildduck:
- In ZBrush, polygroups don't have a name, just a color and it is assigned to a face.
- In Blender it is a vertex group, assigned to a vertex (and worst, to a vertex on a face).
The same vertex can be assigned to different group inside Blender but not in ZBrush.
So the script rename all group with a number to represent the color index. (1= white, 2-7=orange-yellow, ... , 65535=soustractive polygroup) and modify some vertex group to fit a polygroup (face group).
I can fix the name behavior, but not the vertex/face group problem.
Thanks for the precisions, as i said, workaround is easy and your script is still SO MUCH usefull !!! :) so thanks again !
Bye !
Could it be, that GoB isn't any longer compatible to the new Blender 2.63 (http://www.blender.org/development/release-logs/blender-263/)?
Stunton
04-30-12, 03:57 AM
This is due to Bmesh (now Blender use N-gons).
See attachments for the update.
This is due to Bmesh (now Blender use N-gons).
See attachments for the update.
Hey Stunton, thank you very much for the quick reply, your new version works like a charm again. :cool:
Of course I knew about the Bmesh implementation as this is the main new feature in the 2.63 release and I thought as much that this would probably be the source of that problem! ;)
Thank you very much! This is of enormous help! Thanks for your hard work!
I have a problem ... when I press the brush icon to export ... I get the following in zbrush: unable to open file C: \ users \ public \ Pixologic \ GoZbrush \ scripts / GoZbrushFromAppScript help me please...this problem is delaying my work in udk ...sorry for my bad English
Stunton
06-15-12, 03:42 AM
Hi tripo,
it is a problem with your ZBrush installation (it is not GoB related).
Try to install the GoZ update 1 or maybe to reinstall ZBrush.
thanks for answer ... I will follow your advice, I hope to find the solution ... again excuse my bad English
that horror!! I fail to export anything ... follow your advice but nothing ... any idea??
Stunton
06-17-12, 03:33 AM
Hello,
Do you have this folder:
C:\Users\Public\Pixologic
with GoZApps, GoZBrush, GoZProjects subfolder?
You wrote
"zbrush: unable to open file C: \ users \ public \ Pixologic \ GoZbrush \ scripts / GoZbrushFromAppScript"
Is this corrected?
I owe much for your help, the subfolder must be in the folder Pixologic?? folder or only GOZproyects?? ...
zbrush: unable to open file C: \ users \ public \ Pixologic \ GoZbrush \ scripts / GoZbrushFromAppScript ...
if what I wrote above, is the problem I have when I exported to zbrush...please help me
Stunton
06-18-12, 01:56 AM
You must have this path:
C:\Users\Public\Pixologic\GoZApps
C:\Users\Public\Pixologic\GoZBrush
C:\Users\Public\Pixologic\GoZProjects
with a lot of files inside.
If not, ZBrush is not correctly installed, check Pixologic support for any help.
I found that I have 2 folders Pixologic the first is the USER~ carlos ~ PC and the second is on public access, something strange happened .... Howrah Pixologic folder> GOZproyects> Default = found objects that try to export from blender, with the extension GOZ ... change it to be opened with zbrush and eureka!!!! I have it in zbrush, Howrah not know if I can return to blender : D
MentalFrog
06-21-12, 04:00 PM
I've noticed with the latest update that I can only GoZ into Blender once.
Example:
1. Create a model in Zbrush.
2. Click GoZ inside Zbrush.
3. Open Blender.
4. Click on the GoB import button in Blender.
The model comes in just fine.
5. Ctrl+Z (undo), or delete model, or not do anything at all.
6. Click the GoB import button in Blender a second time.
The second time it says there are no updates. This means I have to switch to Zbrush and click GoZ again. Sometimes I'll undo a GoZ import or GoZ into multiple scenes now I have to switch back and forth every time. It's a minor annoyance but I'm not sure why it's been changed when previously you could click the GoB button multiple times.
Stunton
06-22-12, 02:42 AM
I do not remember to have changed it.
In previous script it was already here, but the "no update" text was only on the Blender console, not in the UI.
To avoid that, open the "__init__.py" file (found in your addon folder), and at the line 47 replace this:
if ficTime > varTime:
by this:
if ficTime > 0:
Now when you click on the button Blender reload always the object.
MentalFrog
06-22-12, 10:00 AM
Thanks Stunton I'll give it a try. It's a great add-on. Great work from you but also love the quick support. You've always been quick on the forums here to answer questions and help fix issues. :tu:
zeromasterk
06-29-12, 04:41 PM
Hi friends, sorry for my bad english, so, i modeling the basemesh for my character in blender and i export to zbrush, i subdivide the mesh and sculpt some details, but, i use goz to back the mesh to blender and the subdivide levels dont export :(, zbrush export the low-res level.
Please help me, and sorry for my very bad english.
Stunton
06-30-12, 12:29 PM
Hi,
this is how GoZ works. Only the lowest subdivision is sent.
But depending what you want, you can send normal or displacement maps.
(Or for export the full res, you can apply the subdivision before exporting).
hi Stunton! Last night i downloaded Gob for 2.63 form #88, and installed it both in blender and zb, and everything works well, but today i found the gob icon in blender was disappeared, and when i check the addons, i found that the gob is still in the addons list, but i i cannot tip the box!! i tried your gob for 2.62, and it works well, just the gob for 2.63 from #88 cannot work, i dont know why, maybe you know?
and by the way man, you did great job, thank you verymuch!
Stunton
07-05-12, 11:30 AM
Hello kaede,
when you tip the box, and if it doesn't work, Blender send an error message in the Blender console.
But for info, GoB 2.63 works only for Blender 2.63 and newer.
ionblue
08-03-12, 06:30 AM
It doesn't seem to be working after I upgraded to OSX 10.8
b_massacre
08-04-12, 07:21 PM
Hi there,
First of all, I wanted to say that I'm so happy someone has the chops and goodwill to create this for blender users. I think it can be a very useful tool.
I have a small problem and I'm not sure how to solve it.
Blender will not allow me to enable this addon. I have things on the Zbrush size working well and it's set up. I -had- things on the Blender side actually working for a bit and managed to transfer a cube from zbrush to blender. I shut blender down.
The next time I opened Blender, the brush and blender icons were gone.
I opened up prefs>addons again. But from there, I could no longer enable the addon.
I googled why sometimes this happens and people say it's because the script may be out of date. But I know this is not the case as it was working just moments again and this is specifically the updated version for blender 2.63.
I'm at a loss for what steps to take now, any suggestions?
Thanks in advance,
Barbara
megacal
08-06-12, 05:59 AM
Hi Barb,
was having the same problem.....but re-launched Blender 2.63, and now it let me tip/select the GoB addon.
Haven't tried using it yet, but looks like ZBrush 4R4 sees the Blender.exe and Blender enabled the addon.
Good luck. ;)
Stunton,
thanks so much for this addon! Very appreciated! :D
ps- your English is fine, mon ami.
megacal
08-06-12, 05:29 PM
Well, now it's not working after re-launching Blender. :confused:
Need to take a break and clear my head.....too many hoops to jump though. Maybe it will become clear later.
At least should be able to do it the old fashioned way, i.e. export/import .obj.
No clients to please, no deadlines to make....just having fun. :p
b_massacre
08-07-12, 05:34 PM
Well, now it's not working after re-launching Blender. :confused:
Need to take a break and clear my head.....too many hoops to jump though. Maybe it will become clear later.
At least should be able to do it the old fashioned way, i.e. export/import .obj.
No clients to please, no deadlines to make....just having fun. :p
Thanks for the suggestion! I restarted Blender and it seems to allow checking the box again. I restarted it again, and it seems to be sticking. Haven't tried passing files yet between Blender and Zbrush, since reactivating the script.
Thanks again for such a quick response. Sorry to hear, megacal, that yours went a bit funny again. Good luck.
Stunton
08-15-12, 01:00 AM
Hello,
I'm back from holidays.
Well, there is some problems with GoB...
@ionblue: Can you explain what is do not working?
The addon inside Blender is working, have you the two top icons?
@b_massacre: When you stick the GOB addon, you need to press "Save As Default" button inside the "Blender User Preferences". But in ALL case if you have some trouble when sticking the GoB addon, Blender send an error message in the Blender console.
(on Windows, to show the Blender console, go to the help menu and select "Toggle System Console").
@megacal: Check the message inside the console (on Windows, to show the Blender console, go to the help menu and select "Toggle System Console").
If no message all is working fine :)
ionblue
08-16-12, 05:30 PM
I installed it and I saw it in my plugins list but wasn't able to click the checkbox. But for some reason after a couple of days of not being able to enable it I was suddenly able to check it. So it works now but I have no idea why or what I did. <style id="_clearly_component__css" type="text/css">#next_pages_container { width: 5px; hight: 5px; position: absolute; top: -100px; left: -100px; z-index: 2147483647 !important; } </style>
timholz
09-01-12, 10:31 AM
problem fixed
Hi, I'm having that same problem of being unable to enable the GoB plugin in Blender 2.63 with Zbrush 4R4 p2. I've reinstalled it but the problem persist. Here is what debug window says:
found bundled python: C:\Program Files\Blender Foundation\Blender\2.63\python
Unable to find ZBrush
Traceback (most recent call last):
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 25, in <module><module>
pathZBrush = '"'+ficPathZB.readline().split('"')[1].replace('\\','/')+'"'
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_util s.py", line 259, in enable
mod = __import__(module_name)
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 29, in <module>
print(pathZBrush)
NameError: name 'pathZBrush' is not defined
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_util s.py", line 259, in enable
mod = __import__(module_name)
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 20, in <module><module>
from . import ext_GoB
ImportError: cannot import name ext_GoB
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_util s.py", line 259, in enable
mod = __import__(module_name)
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 20, in <module><module>
from . import ext_GoB
ImportError: cannot import name ext_GoB
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_util s.py", line 259, in enable
mod = __import__(module_name)
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 20, in <module><module>
from . import ext_GoB
ImportError: cannot import name ext_GoB
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_util s.py", line 259, in enable
mod = __import__(module_name)
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 20, in <module><module>
from . import ext_GoB
ImportError: cannot import name ext_GoB
Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.63\scripts\modules\addon_util s.py", line 259, in enable
mod = __import__(module_name)
File "C:\Users\SpAiK\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\GoB_addon_2 63\__init__.py", line 20, in <module><module>
from . import ext_GoB
ImportError: cannot import name ext_GoB
<!----> event has invalid window</module></module></module></module></module></module></module>
It seems that the script is unable to resolve the path to Zbrush.
timholz
09-05-12, 11:22 AM
Hello SpAik
I could install the script, but also received a script-error.
So, i decided to use the ordinary way.
good luck
timholz
WillyamBradberry
09-14-12, 06:45 PM
Thank you! I'll try =)
UPD:
Hmm... From blender to Zbrush is OK but back from Zbrush to Blender not =(
lassysilvestre
09-23-12, 03:56 PM
hi there...
THANK YOU THANK YOU SO MUCH WITH THIS "GOB"
it helps a lot...
specially to Zbrush scale problem...
great, great, great...that's all i can say...it's really a WOW!!!
Stunton
09-24-12, 03:25 AM
Hello,
thanks for posting a screen of the problem.
The script dont found the "C:/Users/Public/Pixologic/GoZBrush/GoZ_Config.txt" file
This file is created by GoZ when you configure it inside ZBrush, you miss one step in the installation or sometime like that.
Check for this file on your hard drive.
The script dont found the "C:/Users/Public/Pixologic/GoZBrush/GoZ_Config.txt" file
This file is created by GoZ when you configure it inside ZBrush, you miss one step in the installation or sometime like that.
Check for this file on your hard drive.
Mmmm.. that file is there and I actually did the process like in you say. Now the curious thing is that I've checked again if the add-on was working and voilà! Now it works and I haven't done anything since the error.
regtel305
10-08-12, 11:50 PM
Hi i added the goz to zbrush and its okay i gues i click on the prefrence in zbrush and then clicked goz and it showed path to blender and it said it was found so thats working but when i went on blender it didnt load my model it loaded a box now i went threw the procedure for blender and went to add on threw the c files on my computer threw users and etc to add on in my blender folder and i added the gob_addon_2.63 folder cause i have blender 2.63 so now when i went to start up blender and went to prefrence and try to install add on it wont show the ext_gob.pyc file so i clicked on the button on blender that looks like a martiney and it showed up so i thought yea but when i clicked it it diddnt add so i tryed clicking the other file that was called _init_ but nothing happens once more dont know what im doing wrong i tryed it in diffrent ways so please can you help
Stunton
10-13-12, 09:18 AM
Hello regtel305,
there is no punctuation in your previous message, this is outrageous!
I think you are near the solution to use GoB, try to read again the documentation and redo the whole steps, maybe it will help you?
I have a same problem as #107.
I have used this addon but after updating my blender v2.65a to v2.65, the addon got unable to tick.
I deleted addon files and retried setting up following Stunton's document but it didn't work.
I cannot find any massages on Python console.
This addon is useful so I'd like to use again but I could't figure out how to solve this problem.
Does anyone have some advises?
Mac OSX 10.7.5
Zbrush4R4
blender v2.65
GoB_addon_263_MAC.zip
I have a same problem as #107.
I have used this addon but after updating my blender v2.65a to v2.65, the addon got unable to tick.
I deleted addon files and retried setting up following Stunton's document but it didn't work.
I cannot find any massages on Python console.
This addon is useful so I'd like to use again but I could't figure out how to solve this problem.
Does anyone have some advises?
Mac OSX 10.7.5
Zbrush4R4
blender v2.65
GoB_addon_263_MAC.zip
I found error messages were showed in console.app.
Bad magic number error is occurred when version of python is different from one used to compile.
I think ext_GoB.pyc must be compiled with python 3.3.0. But I can't get a source code of ext_GoB.pyc, right?
12/12/13 22:19:34.624 [0x0-0x62062].org.blenderfoundation.blender: Traceback (most recent call last):
12/12/13 22:19:34.624 [0x0-0x62062].org.blenderfoundation.blender: File "/Applications/Blender/blender.app/Contents/MacOS/2.65/scripts/modules/addon_utils.py", line 264, in enable
12/12/13 22:19:34.624 [0x0-0x62062].org.blenderfoundation.blender: mod = __import__(module_name)
12/12/13 22:19:34.624 [0x0-0x62062].org.blenderfoundation.blender: File "/Applications/Blender/blender.app/Contents/MacOS/2.65/scripts/addons/GoB_addon_263/__init__.py", line 20, in <module>
12/12/13 22:19:34.624 [0x0-0x62062].org.blenderfoundation.blender: from . import ext_GoB
12/12/13 22:19:34.624 [0x0-0x62062].org.blenderfoundation.blender: ImportError: bad magic number in 'GoB_addon_263.ext_GoB': b'l\x0c\r\n'</module>
Stunton
12-13-12, 06:03 AM
Hello seijik,
the __init__.py file try to import the other file but it doesnt work.
This error may occurs when you have installed a differnet version of Python.
This script do not need Python because it use only module provided with Blender.
If you have installed Python and dont use it you can uninstall it.
If you use Python you can install the same version used by Blender (Python 3.3.0) (or check env var)
I've been using GOB on the Mac (10.8.2) with Blender 2.63 and with 2.64a. Now with 2.65 I too can't tick the box in the blender preferences to activate GOB. I do not have any other installations of python. Zbrush settings for Goz is set for Blender 2.65. I don't see any errors in the python console window in Blender or in the Mac Console app. Please help.
Update -
tried restarting blender - still couldn't tick
tried restarting computer - still couldn't tick
Hello seijik,
the __init__.py file try to import the other file but it doesnt work.
This error may occurs when you have installed a differnet version of Python.
This script do not need Python because it use only module provided with Blender.
If you have installed Python and dont use it you can uninstall it.
If you use Python you can install the same version used by Blender (Python 3.3.0) (or check env var)
Thank you for replying Stunton! I have installed Python 3.3.0 and set my /usr/bin/python to symbolic link of python 3.3.0, but still not working.
If you don't mind, I want to try with not compiled source of ext_GoB.pyc. Can you open .py code?
>dougt
In my case, I can see errors in Mac Console app, so your problem maybe different from my one.
Stunton
12-14-12, 01:30 AM
Hi,
You are right the problem is the compiled file!
Blender 2.63 and 2.64 use Python 3.2, not Blender 2.65 (Python 3.3).
I want to try with not compiled source of ext_GoB.pyc. Can you open .py code?
Yes of course, you can find it in this attachement with the version updated for Blender 2.65
edit : I have updated the addon because it missing the window menu (for fullscreen and Blender console).
Hi,
You are right the problem is the compiled file!
Blender 2.63 and 2.64 use Python 3.2, not Blender 2.65 (Python 3.3).
Yes of course, you can find it in this attachement with the version updated for Blender 2.65
Thank you Stunton! your addon works perfect!
I cannot do my work without this :)
Thank you Stunton, I waited for that! :cool:
This is such a useful tool, thank you for keeping it updated as well. Do you have any updates to this addon for the recent Blender release? Its still working, but I'm getting trackback errors now.
Stunton
01-05-13, 03:42 AM
This is such a useful tool, thank you for keeping it updated as well. Do you have any updates to this addon for the recent Blender release? Its still working, but I'm getting trackback errors now.
Do you have an example of the error?
operator23
01-16-13, 02:43 AM
Thanks for the great plug-in!! I have it working on OSX and Blender 2.65. I was just wondering if anyone knew of a way to preserve skinning/weighting when bringing a mesh back from Zbrush? I want to make mesh tweaks to a skinned/weighted mesh, but I am lose the skinning/weighting when I bring the mesh back to Blender.
Stunton
01-17-13, 02:43 AM
Hello operator23,
You cannot avoid skinning to be lost, so you need to use one copy and the "Copy Attributes Menu" add-on (File->User Preferences then "Addons" tab and search for "Copy Attributes Menu" addon).
For the copy, you can do it after lost the skinning:
- Create a dummy mesh object like the default cube, in example.
- In the "Object Data" tab select the old mesh data containing the skinning info
- then add one (or more) vertex group to retrieve the skinning.
Now you can use "Copy Attributes Menu" addon to copy skinning between the old mesh and the new one.
Select the new object (without skinning) then select the (with skinning) and press Ctrl+C to display the copy menu.
Select "Copy Vertex Weights", et voilà.
Hi,I use blender2.66 and zbrush4 r5,but I can only send the model to zb, can not come to the blender, whether because the version is too low, what can you update"gob" , thank you very much!:D
Stunton
04-05-13, 04:07 AM
Hello, in Blender you have to click on the Blender icon near the zbrush icon to import the files.
Hello, in Blender you have to click on the Blender icon near the zbrush icon to import the files.
Thank you very much! ! ! :D
Omar Pico
04-06-13, 09:36 AM
Hi, my problem is when I try to export from Blender to ZB. To get the object I have to Import it manually in ZB from the GoZProjects/Default folder.
I was reading the thread and found (#85) that the addon uses GoZBrushFromApp.exe from:
C:\Users\Public\Pixologic\GoZBrush\GoZBrushFromApp .exe
I searched the mentioned file in my folders, but the only files that I found similar to this were:
- C:\Users\Public\Pixologic\GoZBrush\Scripts\GoZBrus hFromAppScript.zsc
- and the other are .txt or .zsc
In the System Console the message says that it does not recognises the .exe file. (Because there isn´t one)
How can I solve this to get it right?
Thanks Stunton for the addon!
Stunton
04-07-13, 07:44 AM
Hello Omar,
it is an installation problem of GoZ.
ZBrush/GoZ create this files during the first configuration of GoZ.
Try to install the update 1 (http://www.zbrushcentral.com/showthread.php?125810-GoZ-Update-1-with-Photoshop-Support) of Goz and follow the pdf files (GoZ Update 1 pdf then GoB pdf).
Omar Pico
04-07-13, 09:54 AM
That worked!
Thanks again Stunton.
ps. I thought ZB4R5 had the latest and greatest :D. But in this case you have to download and reinstall the GoZ plugin from Pixologic's Donwload Center. Be sure to select the button/menu "Show plugins for ZB4R2" because the ZB4R5 menu does not have plugins to download due that this version includes all the plugins.
Installing it went perfect. One issue I'm having though, I selected all of the objects in Blender to send over to Zbrush but after Zbrush loads up, it immediately crashes.
I'm using 4R5 and Blender 2.66a by the way. Is there something I can do to fix it?
Edit: It works great now, thank you. Managed to fix it by going to File > Export > Wavefront (.obj) > and unchecked Write Materials.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.