ZBrushCentral

Zooming in and out with mouse wheel ?

Is there a way that Zbrush users can map zooming to their mouse wheel ?
i also did a quick search in the forum but there was no real info about this issue.

Im asking because i find it hard to zoom in and out with the default setup, its just horrible.

thanks

… for an object3D
But is it so very difficult to make in Edit mode (“T”) anywhere on the screen (also around the canvas)

Alt + clic, release Alt (clic always pressed) and move the mouse verticaly for speed zoom, (horizontaly for slow zoom) ?
All that take 1/10 second!
:rolleyes:
Ps for zoom screen you have + -
Ctrl + 0 = Mode AA (Anti Aliasing)
0 = Zoom 1

Don’t forget that you also have the buttons on the right shelf, if the keyboard shortcuts are uncomfortable for you.

yes thanks people for the replies.

Im going to wait and see what pixo comes up with for their next release. I hope they incorporate a wheel mouse zoom.

I agree that having the mouse scroll wheel for zoom and pan.

Scrolling the wheel forward or back will zoom to an area where the mouse pointer is located, pressing in the scroll wheel will rotate the object.

This will save alot of time and make modeling much easer. I belive this is an important thing to add.

…because there is not scroll wheel mouse on classic Apple computers !!!

If the prophet does not come to the mountain, the mountain has to come to the prophet

In other words, you can use this short script for AutoHotkey to finally rise to a higher plain of ZBrushness. Panning by middle-button (eg. mouse wheel click) dragging, and zooming with the mouse wheel.
Note: AutoHotkey is only available on Windows.

In the attached .zip, there are two files. The script source code and a compiled .exe. The easy way is to just run RemappingsForZbrush.exe to enable the mouse wheel. Alternatively, if you want to experiment with the script you can download AutoHotkey. Install the interpreter and let it register the .ahk file extension. Then just double-click the .ahk source file to run it in the interpreter.

If you come up with any useful additions / changes, please share them here on ZBrushCentral!

I thought a bit about adding a binding for rotation, but after a while I gave up since I couldn’t find a hotkey for it (like space for panning… can you react to button presses in ZScript?). It would be possible to simulate clicks on the right-hand Rotate-button, but that’s not trivial since that button isn’t fixed (it moves when expanding/collapsing the right-hand divider)… Maybe some ZScript UI hacker could add a Rotate-button on a fixed location? But that would require everyone to use that UI / modify their own UIs… Hmmm… Ideas?

EDIT: Note that this script assumes that you haven’t changed the hotkeys for zooming and panning (defaults: numpad + and - for zooming and space for panning)

Attachments

RemappingsForZbrush.zip (185 KB)

Thank you !!!
This is a must have, works perfectly!!!

How do you get rid of this after you install it?

I found the following works very well if you’re careful and keep your cursor outside of your mesh when you scroll.

; Venota’s augmentation of Ksero’s AutoHotkey script for ZBrush
; Do whatever you want with this, just don’t blame me when things go wrong :wink:

; Change this if you feel that the scroll is too fast or too slow
ScrollSpeed = 1

#IfWinActive ZBrush ahk_class ZBrush
{
WheelDown:small_orange_diamond:
Loop %ScrollSpeed%
{ MouseGetPos, xtemp, ytemp ; get the Active window’s current location
xpos:=xtemp
ypos:=ytemp-150
Send, {LALT DOWN}
Sleep, 100
Send, {LButton down}
;Sleep, 5000
MouseMove, % xpos, % ypos
;Sleep, 5000
Send, {LALT UP}
Send {LButton up}
MouseMove, % xtemp, % ytemp
}
return

WheelUp:small_orange_diamond:
Loop %ScrollSpeed%
{
    MouseGetPos, xtemp, ytemp ; get the Active window's current location
    xpos:=xtemp
    ypos:=ytemp+150
    Send, {LALT DOWN}
    Sleep, 100
    Send, {LButton down} 
    ;Sleep, 5000
    MouseMove, % xpos, % ypos
    ;Sleep, 5000
    Send, {LALT UP}
    Send {LButton up}
    MouseMove, % xtemp, % ytemp
}
return

}

return

thinks to Ksero。he just make me interesting in autohotkey。I spend one whole day in playing with this guy and make myself a houdini stye wheel。I just pose it here。I wish it can helps。
you can see the codes and change it with autohotkey
:smiley:

Attachments

HoudiniStyeMButton.zip (371 KB)