ZBrushCentral

Useful small ZScripts and Macros for ZBrush 4R8

Holy moly, Thanks a ton!

1 Like

I’m so glad I scrolled down this post!

A lot of tutorial videos use the curve helper script and I saw a lot of comments mentioning the deleted post. Will be sure to let them know there’s an updated link. @marcus_civis Thanks for reuploading!

1 Like

Nice to have found this thread again.

I’m looking for a very handy macro or zscript I used to have as a button in my custom ZBrush UI:

  1. It created an Adaptive Skin from the active ZSpheres subtool,
  2. auto-appended the skin as a subtool to the active tool,
  3. and auto-deleted the redundant separate skin tool.

Does anyone know if that can still be downloaded somewhere? Or would it maybe be easy to recreate?

Many thanks in advance.

Why PAGE DOESN’T EXIST?

I just realized that this must have been a macro, not a script.

Just recreated it using the ZBrush Macro record functions, and it works nicely! The only minor drawback is that the ZSphere subtool needs to have the standard “Skin_ZSphere1_1” name for the macro to work. Would be nice if that could be name-independent. But I’m happy anyway. :slightly_smiling_face:

Sorry not to reply to this earlier. Here’s a version that will work with any ZSphere names:

AppendSkin.txt (760 Bytes)

HTH,
Marcus

1 Like

That’s great, thanks a lot @marcus_civis , much appreciated! :+1:

A little additional note to anyone who’d also like to use this script: I personally prefer to have the ZSphere skin inserted in stead of appended, so I changed “Append” to “Insert” in the script (and renamed the file to ‘InsertSkin.txt’ :slightly_smiling_face:).

1 Like

ZFullscreen
Macro that Fullscreen zbrush. Only canvas shown. Hides: Title bar // Side panels+ clickeables (top left right bottom) // Notes top left // Menu bar.
Is a combination of marcus_civis scripts + my code.
Default vs My interface

On my interface i have hidden the rectangle + thumbnail + history bar

To hide the side panels

PREFERENCES > interface >float menu (add shorcut with CTRL + ALT , i use “Tab” for those panels and “CTRL+F” for fullscreen)

To hide white rectangle

PREFERENCES > EDIT > DRAW TRANSFORMATION BORDER

To hide Thumbnail

PREFERENCES > Thumbnail > Thumbnail

To hide history bar

PREFERENCES > Undo history > Show undo selector

Zfullscreen.zip (745 Bytes)
here is the code, just make a .txt file (or place de .txt from zip file)
on Zbrush\ZStartup\Macros\Misc
and then in zbrush macros ->reload all macros

[RoutineDef,LeftTrayToggle,
// Script will compare the location of the tray position and keep clicking till it changes
[VarSet,StartPosition,[IHPos,1000,1]]
[Loop,5,
[VarSet,CurrentPosition,[IHPos,1000,1]]
[If,CurrentPosition=StartPosition,
[IClick,1000]
,
[LoopExit]
]
]
]
[RoutineDef,RightTrayToggle,
// Script will compare the location of the tray position and keep clicking till it changes
[VarSet,StartPosition,[IHPos,1001,1]]
[Loop,5,
[VarSet,CurrentPosition,[IHPos,1001,1]]
[If,CurrentPosition=StartPosition,
[IClick,1001]
,
[LoopExit]
]
]
]//Routine RightTrayToggle

[IButton,???,“fullscreen.”,
[IShowActions,0]
[IConfig,4.8]
//[IFreeze,

[VarDef,ISHOW,0] // set variable to hide
[If,ISHOW=0,
[IHIDE, “1007”] // MENUS ALPHA BRUSH COLOR DOCUMENT EDIT , ETC ETC
[IHIDE, “1008”] //ZBRUSH 2025.1.0.6 FREE MEM , ETC ETC -------- TITLE BAR
[IHIDE, “1011”] //NOTES TOP LEFT
[VarSET,ISHOW,1] // set variable to SHOW
[RoutineCall,LeftTrayToggle]
[RoutineCall,RightTrayToggle]
[IHIDE, “1000”] // LEFT TRAY CLICKEABLE
[IHIDE, “1001”] // RIGHT TRAY CLICKEABLE
[IHIDE, “1002”] // BOTTOM TRAY CLICKEABLE
[IHIDE, “1003”] // TOP TRAY CLICKEABLE
,
//else
[ISHOW, “1007”] // MENUS ALPHA BRUSH COLOR DOCUMENT EDIT , ETC ETC
[ISHOW, “1008”] //ZBRUSH 2025.1.0.6 FREE MEM , ETC ETC -------- TITLE BAR
[ISHOW, “1011”] //NOTES TOP LEFT
[ISHOW, “1000”] // LEFT TRAY CLICKEABLE
[ISHOW, “1001”] // RIGHT TRAY CLICKEABLE
//[ISHOW, “1002”] // BOTTOM TRAY CLICKEABLE
//[ISHOW, “1003”] // TOP TRAY CLICKEABLE

  [RoutineCall,LeftTrayToggle]

[RoutineCall,RightTrayToggle]
[VarSET,ISHOW,0] // set variable to SHOW
]






//]
,1/2,]