ZBrushCentral

Help creating a simple script creating a 1x1x1 QCube?

Hello,

Right now If I want to make a new cube primitive like in maya I have to

  1. Insert Polymesh 3d
  2. Select it
  3. Set sliders of initialize to 1x1x1
  4. Initialize QCube.

Is there a way to automate it and if so can I have some tips?

Thanks.

here is a simple macro that does what you want :

//ZBRUSH MACRO - Recorded in ZBrush version 4.73
[IButton,???,“Press to run this macro. Macros can be aborted by pressing the ëescí key.”,
[IShowActions,0]
[IConfig,4.73]
[IPress,Tool:PolyMesh3D]
[CanvasStroke,(ZObjStrokeV02n59=H40EV3E1H40EV3E3H40EV3E5H40EV3E8H40EV3ECH40EV3EFH40EV3F4H40EV3FAH40EV3FEH40EV405H40EV408H40EV40BH40EV40EH40EV412H40EV414H40EV418H40EV41CH40EV41EH40EV422H40EV427H40EV429H40EV42CH40EV430H40EV432H40DV434H40CV436H40CV437H40CV438H40CV439H40CV43AH40CV43BH40CV43CH40CV43DH40CV43EH40CV440H40BV441H40BV442YH40EV442K1
XH40EV441H40EV448H40EV44AH40EV44BH40EV44CH40EV44EH40EV450H40EV453H40EV455H40EV457H40EV458H40EV45BH40EV45CH40EV45DH40EV45EH40EV460H40EV461H40EV462H40EV463H40EV464H40EV464)]
[IPress,Transform: Edit]
[ISet,Tool:Initialize:X Res,1]
[ISet,Tool:Initialize:Y Res,1]
[ISet,Tool:Initialize:Z Res,1]
[IPress,Tool:Initialize:QCube]
[IPress, Transform:Fit]
]