Useful small ZScripts and Macros for ZBrush 4R8
This thread is intended as repository for useful small zscripts, plugins and macros for ZBrush 4R8. The thread is a continuation of the earlier thread for 4R7 here.
Sometimes there's a simple zscript solution to a problem or need that may not warrant a major plugin but will none-the-less be useful to users. If you have written such a zscript, plugin or macro please share it here so that users can easily find it and benefit. Thanks!
**************************************************
Index
__________________________________________________
Dynamic Off/On All Brushes and Save All
Fit Canvas
Toggle Left Tray/Toggle Right Tray
Dynamic Brush Toggle
Brush Draw Size - store/restore
Curves Helper - create curves from ZSpheres
1 Attachment(s)
Dynamic Off/On All Brushes
This is a small plugin for turning off/on Draw Size Dynamic mode for all sculpting brushes.
Unzip the zip file and open any containing folder created by the unzipping. Copy the DynamicOffAll.zsc file and DynamicOffData folder to your ZBrush 4R8/ZStartup/ZPlugs64 folder and restart ZBrush.
You should have two new button called Dynamic Off and Dynamic On in the Zplugin>Misc Utilities sub-palette.
To use the plugin, first make sure you have a model in Edit mode, then press the button you want. The plugin will take a short while to run through all the brushes.
Note: for technical reasons the plugin resets to default the Smooth, Select and Masking brushes.
Save All Brushes - a new button is added in the latest version. This will save all brushes with their current settings so that the settings are there at the start of each session. So if you want Dynamic mode off permanently then press the Dynamic Off button first and then press Save All Brushes. Individual brushes can be set to what you want before pressing the button.
***Important Notes***
* The plugin overwrites the brush files in these two folders:
ZBrush 4R8/ZData/BrushPresets and ZBrush 4R8/ZStartup/BrushPresets
Make sure you make a copy of both these folders to a safe location so you can restore them if you want.
* ZBrush saves the current Dynamic mode state for the Standard brush with the configuration. This means that you need to store the configuration (Shift+Ctrl+i) after setting and saving the brush. Otherwise ZBrush may start with Dynamic on for the Standard brush even when it has been saved with it off!
Download here: Attachment 569025
Change log:
version 05 - Oct 17 2017 - corrected save error for standard Trim brushes
version 04 - Oct 2 2017 - added Save All Brushes button
version 03, Sep 3 2017 - updated to correct TransposeSmartMask error
2 Attachment(s)
Toggle Left Tray / Toggle Right Tray
These macros will toggle the left and right trays open and closed. These can be activated by mouse clicking on the macro button or binding the macro button to a hotkey.
Save the files to the ZBrush 4R8\ZStartup\Macros\Misc\ folder and press Macro>Reload All Macros. There should then be new buttons called "Tray Left" and "Tray Right" in the Macro>Macros>Misc sub-palette.
1 Attachment(s)
Brush Dynamic Draw Size Toggle
This macro will allow you to easily toggle the Brush Dynamic Draw Size On and Off as you would toggle Lazy Mouse. For best use bind this to a Hotkey!
Save the file to the ZBrush 4R8\ZStartup\Macros\Misc\ folder and press Macro>Reload All Macros. There should then be a new button called "Dynamic Brush Toggle" in the Macro>Macros>Misc sub-palette.