ZIF edit Rev B
Simply unzip into your Zscripts/Utilities folder and load using Ctrl+Shift+l or your favourite launcher.
Inspired by Digits ZifWidget I have just finished this small Zscript. It was made purely to satisfy my own needs when modeling Zspheres. It's basic function is to give us access to Zsphere settings that are normally hidden/disabled if we only use the Zbrush interface.
*** Description updated December 1st 2003 ***
The three functions it focuses on is to edit the XYZ resolution, Membrane Curvature and Twist Angle of a single Zsphere child/node. This Membrane Curvature is not the same as the Tool Inventory Membrane Curvature which acts on a global basis.
Apart from those three functions it contains a couple of useful shortcuts when modeling a Zsphere tool and it remembers the Draw Size of your brush when switching between the preview mode and the standard Zsphere modeling mode.
Select a Zsphere child/node using the 'd' key.
Change the XYZ resolution and set the membrane Curvature and/or Twist Angle.
Press 'a' to preview results
Color Zsphere children/nodes for easy reference using '1-5'. Good for remembering ideal rotational Zsphere children/nodes.
You can continue editing XYZ resolution, Membrane Curvature and Twist Angle while in Preview mode as long as a Zsphere child/node is selected. It will simply switch Preview mode off, make the changes and turn Preview mode on again.
If the XYZ resolution of a Zsphere child/node and its neighbours is set to 0, then Membrane Curvature will only have an effect if the selected child/node is connected to at least three Zspheres.
If you apply Membrane Curvature to a Zsphere with a higher or lower XYZ resolution than its neighbours, it will effectively smooth out the resolution difference. i.e it will have an effect even if not connected to at least 3 Zsphere children/nodes.
You can effectively close off, or "cap", the Root Zsphere by changing its XYZ resolution post creation. I.e you do not need an additional Zsphere to "close the hole".
When pressing 'd' while the cursor hovers over a grey linking Zsphere you will get a fractional Zsphere # (Zif #). This might be useful in estimating were to add another Zsphere. Based on experience you might find a certain shape is generated by adding a zsphere at about 8/10 the way between two zspheres. Increasing Tool Modifiers Density increases the accuracy of the displayed Zif #.
When turning on/off deformation axis while in preview mode, the displayed values for XYZ resolution, Membrane Curvature and Twist angle are set to 0. It is only the Displayed values that are changed, your current Zsphere child/node is the same as before. It would require more work to get around this so just try and live with it for now
'd' Selects the Zsphere Child/Node currently under the cursor.
'a' Switches between Zsphere edit mode and Preview edit mode while remembering the Draw Size of the Preview mode. Zsphere Edit mode draw size is fixed at 1.
'c' Decreases the X, Y and Z resolution setting by 1 for the selected Zsphere child/node.
'v' Increases the X, Y and Z resolution setting by 1 for the selected Zsphere child/node.
'i' Inverses the Selection Mask.
'o' Clears the selection Mask.
'p' Masks everything.
'1-5' Selects and colors the Zsphere child/node currently under the cursor. The colors are 1: Red, 2: Green, 3: Blue, 4: Dark Grey, 5: White.
alt+'1-5' Takes the currently selected Zsphere child/node and copies its XYZ resolution, Membrane Curvature and Twist Angle to all Zspheres with the corresponding color. 1: Red, 2: Green, 3: Blue, 4: Dark Grey, 5: White. Using masking also limits which Zsphere children/nodes are copied to.
Thats it. Thanks again to Digits for opening my eyes to the "new" Zsphere editing commands in Zscript I am pretty sure that the first thing I'll do when the next version is released, will be to click Zscript Export Commands
Digits ZifWidget is available here if you crave ultimate control over your Zspheres. The documentation for said program can be found here.
The source code for ZIF Edit rev B.