wow that is awesome!
It took me a minute to find the slider though;)
very cool script, once again marcus!
wow that is awesome!
It took me a minute to find the slider though;)
very cool script, once again marcus!
Eric,
Glad you like it. Yeah, perhaps I could have put the slider somewhere else but if you use it a lot you can stick it on the interface. I’ve just uploaded a little update so that the setting is saved between ZBrush sessions, so if you want it at 5 it will stay there.
Cheers,
Oh even better!
Question:
Is there a special zscript command to force things like this to be saved so that every time you start zbrush they will be loaded?
You just have to save the setting to file whenever the slider is changed and load the setting from file whenever the plugin is called. Here’s the code:
Wow, thanks so much marcus!
One last question that I have been meaning to ask you.
Do you know if it is possible to assign the f1 - f12 keys in zbrush to be hot keys for different things? perhaps through scripting? I have not been able to do so.
Unfortunately not. They register with codes that are equivalent to other keys, so that, for example, F3 is the same as ‘R’ and F4 ‘S’.
sorry to revive an old thread, just wondering if this script is still working or if there is an update for zb3.1? because I loaded this script and it still only increases draw size by increments of 10. any help would be appreciated.
there is a slider under, zplugin > misc utilties labeled “br amount” that is where you set the slider amount.
Thanks I’ll give that a shot! =)
Thank you hugely! You are a star.
Thanks! This script has been really useful to me.
Thanks dude! This plugin is a life-saver for me.
ya could we get HotKeyDrawSize.Zsc pre-compiled for 3.12b
I also want to see if I could modify it to Raise and lower the Sdiv by 1 using a button so I can assign it a hotkey.
would the sdiv slider be “Geometry:Sdiv”
Is there a reference somewhere for the menu/sliders in Zbrush?
Keep in mind I am a script noob but can learn pretty fast with a few examples.
CM,
The most immediate way to see any ZScript command’s syntax and often to see an example of usage, is to go into the ZScript menu and click on the “CMD” button.
Then, if you grab the handle on the ZScript window just below the screen and pull it open (up) a bit, you can click and scroll through the entire ZScript command set.
You’ll be looking for the ISlider command in this case.
However, the better option I think is to go to the Wiki and search on Zscript Command Reference. There you’ll find the command set and lots of examples.
Also, if you need to see any button’s complete path, just hold Ctrl Key down and cursor over the button… (look @ the bottom of the popup box).
Sven
very cool Sven
heh right out in front of my face the whole time
this script stuff is fun
canned, couldn’t you make a macro that toggles between the two levels and just assign a hotkey to it?
ya that would be the easy way;)
But I thought it might be cool to have a couple fundamental Zscripts under my belt. A slider changing script like this one makes a great template. I figured out what the issue was with the script and how to up and lower the mesh resolution but still working on the incremental from the slider. But I will get it eventually.
CM,
A while back TVeyes posted a neat little ZPlugin package called Tiny Tools which included a utility he calls a Subdivision Switch which sounds similar what you are trying to make.
The whole Tiny Tool set is remarkably useful and what’s more remarkable is that he provides the source scripts for them as well. If you want to see how his Tiny Tools version works you can find the zipped .txt files >>> HERE <<<
Frankly, the sample scripts are a little overwhelming (as often happens, making something simple to use requires a complex investment in behind-the-scenes code).
But if you are trying to learn ZScripting this might be a good place to start - TVeyes demonstrates a good eye for interface design and good technique in his scripting implementation - lots o’ meat on dem bones.
Note, too, the terms of usage he outlines in the same post.
Sven
cannedmushrooms,
Welcome to the wonderful world of zscripting. You mentioned the HotKeyDrawSize.Zsc. You should already have this - to check, look in the ZPlugin>Misc Utilities submenu. There should be two buttons for <<Brush and Brush>>.
I’m glad I finally came around to viewing it though. It’s fortunate that the plugin seems to work just fine in ZBrush 3.5 too. Thanks for the awesome plugin. I wish I had those kind of skills.