ZBrushCentral

store transpose/action line

i find that i keep returning my transpose line to certain points at certain angles repeatedly, at the moment i’ve been using junk geometry with the transpose center option and going from there but wondering if there is a way to store the placement of the transpose/action line.

Not as far as I know, but that would be a nice feature.

Remember that you can draw a line along a surface, and it will stay parallel to that surface as lone as the line ends on that surface. If the line ends in empty canvas, the line will be parallel to the screen plane.

I agree that the “center” option was a godsend, but there is always room for more precision in this area.

yeah i’m pretty familiar with ye ol transpose but sometimes i accidentally click after spending 20+ clicks getting it where i want and it moves, frustrating. even a transpose undo would fix that issue.
i’m mostly using it to do rotation and placement testing for joint fits for 3d printing, i’ve tried zsphere rigging but the results are less than acceptable and is quite a pain when making lots of fine adjustments on the fly.
anyway was just hoping there was some way of capturing the transpose with zscript or something like that.
thanks for your help, also your posts in the zmodeler thread were really helpful!

There’s always the old Marker system. Like many of the legacy Zbrush features it almost seems to belong to another program, and I hesitate to recommend it for casual use. But if you have a project you absolutely need to frequently recreate certain camera angles for (for the purpose of drawing action lines or otherwise), it may be of use.

This is possible using zscript. Attached is a simple plugin which will store the Transpose Line for eight different positions. It adds a “Store Transpose” sub-palette to the Transform palette.

All you do is select a switch and press the Store Selected button. To return the line to a stored position, simply press the relevant switch. If there’s no position stored then the line won’t move. Note that there’s no warning about overwriting a switch. Also, if you save the ZBrush project then the stored positions are saved with it. Simply load the project and refresh the position for the selected switch by pressing it.

To install, unzip the file to your Desktop, open any folder created by the unzipping then copy the StoreTranspose.zsc to the ZStartup/ZPlugs64 and ZStartup/ZPlugs folders. Restart ZBrush.

StoreTrans.jpg

StoreTranspose02.zip (3.1 KB)

HTH

OMGOMGOMG!!! i’m doing the happy dance right now!!! Marcus you are ever amazing, you have no idea how helpful this is. maybe it should be added to the “useful small zscripts and macros” thread?
sincerely grateful to you for this.

Marcus to the rescue!

Marcus, is that a new script you whipped up just for this thread, or has it been around for a while? Either way, outstanding. I hope this makes it into the standard Zbrush toolset in some form.

Thanks spaceboy412, I’m glad you find it useful. I will be adding it to the “useful scripts” thread.

Scott, I wrote it for this thread but much of the interface code was adapted from the Image Plane plugin, so it didn’t take too long.

Marcus, ran into a small hiccup, i’m sure it’s my fault, not sure what i did wrong though. I get an error message and transpose starts acting weird if i try to hit a button already set, transpose will disappear when i try to move or rotate around my model (not using transpose) and even the red/blue/green handles will disappear from the yellow line. A restart seems to fix it.
it is possible i screwed it up by either hitting one of the buttons while in draw mode or trying to store over a number i already had set, not sure. below is the error i got.
it really isn’t a big deal because i don’t mind restarting, maybe you can tell me what i did wrong.
2015-05-19 01_11_37-ZBrush.png

Thanks spaceboy412, sorry about that. I’ve updated the plugin so that at least some of that is taken care of but it looks as though the red, blue and green axes are not being restored properly and it’s not obvious why. I’ve taken those out which in general shouldn’t matter too much and at least they won’t now get reset every time you press a button.

Thank you again Marcus, it seems to be working now, or should i say idiot proof for me, i’ll let you know if i mess it up again. :lol: