Useful small ZScripts and Macros for ZBrush 4R7

Nice images MealeaYing :slight_smile:

I really have gotten some great use out of these scripts … A great deal of good Karma is coming your way… :slight_smile:

Thanks so much for these! Very nice!

This macro will toggle the trays open or closed. Whatever their state when open will be restored next time.

Copy the file to your ZBrush 4R4/ZStartup/Macros/Misc folder and then press Macro>Reload All Macros. There will then be a new ToggleTrays button in the Macro>Misc subpalette. Assign a hotkey of your choice to the button if you wish.

Download here:

DefaultZScript StartupMacro New Document

See image…


<svg version=“1.1” baseProfile=“full” xmlns=“http://www.w3.org/2000/svg” style=“height: 0; width: 0; position: fixed”> <filter id=“bpm-darkle”> <feColorMatrix in=“SourceGraphic” type=“hueRotate” values=“180”></feColorMatrix> </filter> <filter id=“bpm-invert”> <feColorMatrix in=“SourceGraphic” type=“matrix” values=" -1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix> </filter> </svg>YES, I was looking for something like Pixols to 3D! Can’t wait to try it out tomorrow, it looks awesome.

This little plugin will give you an estimate of the amount of detail that your UVs and map size will be able to capture. If you are wanting to export displacement maps, normal maps or texture maps created from polypaint then knowing how much detail they can hold is very useful.


To install:

  1. Unzip the file to your Desktop.
  2. Copy the MaxDetail.zsc file and the MaxDetailData folder to your ZBrush 4R5/ZStartup/ZPlugs folder.
  3. Restart ZBrush.

When installed correctly you will have a new button ‘Max Detail’ in the ZPlugin>Misc Utilities sub-pallete. With a 3D model in Edit mode, press the button. After a few moments a note will be displayed with the map size, percentage of the map used by the UVs and the maximum number of polys.

Note: The result is only an estimate. The plugin calculates the results based on the total area of the UVs and assigns one pixel per polygon to arrive at the maximum. No allowance is made for polygons that are assigned more than one pixel.

Download here:


Thanks Gordon,
If you downloaded it a moment ago then please download again - I made a small error that meant the plugin garbled the result in some circumstances!

ZBrush script - Change Default Material for ZBrush 4R5
copy to ZStartup\ZPlugs\




[Ibutton, "Zplugin:SAF:Change Default Material",  " ",
        [IUnPress,Transform: Edit]
        [If, 1,
        [IPress,Document:New Document]
        [ISet,Draw:  Z Intensity,1]
        [ISet,Draw:Draw Size,1]
        [IPress,Document:Save As Startup Doc]
    [MessageOK, "Restart Zbrush!", " "]

These are great Marcus! The Max UV detail is awesome. Very good idea.

Thanks Nick! :slight_smile:

New to the boards, so like… hi. ^^

Other than that I would like to contribute to this thread by providing this snippet of code below for hotkey lovers and Wacom Intuos/Cintiq users like myself to utilize the radial touch strip more in their work flows while ZBrushing. This ZScript will introduce a focal shift and Z intensity hotkeyable buttons and respective increment slider to the Misc Utilities, similar to that of the Draw Size.

Special thanks goes to ZScript guru :+1:Marcus_civis:+1:, as it was his original code and code referencing that helped me put this together, I just swapped out certain variables like the total ZScript noob that I am.:roll_eyes: So I’ll just praise Marcus again and leave it at that :wink:

For the total noobs (points to myself):

  1. Unzip the file to your Desktop
  2. Copy the HotkeyFocalS_ZIntens.zsc file to your ZBrush 4R5/ZStartup/ZPlugs folder
  3. Restart ZBrush
  4. Check ZPlugins menu>Misc Utilities
  5. Hotkey and bind to wacom tablet properties

Download here: HotkeyFocalS_ZIntens.zip (3.54 KB)
(The code text file is included in the zip)

Super, was wondering why them sliders were being quirky :slight_smile: Thanks again Marcus!!!

Hi, All!
This Clickey 4.1 beta 3 program is an Macro On-screen keyboard.
This program is made in Korea.(Free private user)
Please test it.

My YouTube Video and Blog…


When subdividing in ZBrush the mesh tends to get smaller as a result of the effect of smoothing. Often this doen’t matter too much but sometimes you might want to preserve the proportions of the low res model. This macro will do that.

It is based on an idea and code originally posted in this thread by Marsyas and Svengali. All I have done is convert it into a macro.

To install, simply save the file to your ZBrush /ZStartup/Macros/Misc folder and press Macro>Reload All Macros. You will then have a button called ‘SmartDiv’ in the Macro>Misc sub-palette.

Note: should you wish to undo the smart division you will need to undo five times to get back to the point when you pressed the macro button.

Download here:

Very interesting! I haven’t thought about the cage feature in such a long time. Thanks for making this Marcus.

This plugin adds a button to the LightCap sub-palette so that the selected light can be turned on or off. This is useful if you want to isolate different lights when working with the LightCap.

Note: the plugin does not store the light values between sessions so you should save your LightCap with all lights turned on.


  1. Unzip the zip file to your Desktop.
  2. Copy the LightCapOn-Off.zsc file to your ZBrush 4R6/ZStartup/ZPlugs folder.
  3. Restart ZBrush. The new Current Light On/Off will be at the bottom of the Light>LightCap sub-palette.


  1. In the LightCap>Light Index slider, select the light you want to turn on/off.
  2. Press the Current Light On/Off. If the light is on then the current strength setting will be stored and the light turned off. If the light is off the the previously stored strength setting will be restored.

Download here:


LightCap toggle.jpg

I moved the posts about a perspective/ortho script to a new thread in the ZScript Help forum:

I have all the files in the right directory but continue to get an error message about the dll not being in the “expected place?” If not the zplugs directory, then where?