ZBrushCentral

preload primitive mesh at startup? - Answered

is there a way to preload my own primitive mesh along with the ones that are available in zbrush?(sphere, cube, cone, etc)I wanted to build a library of shapes that I usually end up importing from other packages so I don’t have to load them every time… thanks!

edit: I realize I can use lightroom, but I want to be able to use the mesh with some of the brush tools as well, and usually I have to import from lightbox first in order to use it with a brush.

I would personally put them in the ZBrush 4R2\ZTools folder. This won’t load them at launch but it will make them readily available (complete with nice preview images) in the Tools tab of LightBox. The advantage to doing this is they won’t be sucking system resources except when you specifically need the one you want.

If you do indeed want to load the tools at launch every time you would need to modify your DefaultZScript. For help with doing this and getting the right command syntax I would recommend posting in the ZScripting Help forum. It’s a long time since I’ve done any ZScripting but I believe what you would need would be a series of commands like the following:


[IFreeze,
[FileNameSetNext,NameOfFirstFile.ztl]
[IPress,Tool:Load]
[FileNameSetNext,NameOfSecondFile.ztl]
[IPress,Tool:Load]
etc...
]

If I remember things right, what this does is temporarily hides the interface updates so you don’t have to watch the commands being executed. It then tells ZBrush what file to load, followed by the command to do so. That then repeats for each additional file you want to load. This finally ends with the bracket to close off the IFreeze command, allowing ZBrush to once again visible update the UI.