ZBrushCentral

stroke inventory quirks up when replaying strokes, can't load exported strokes either

I am having a problem with the inventory function under stroke palette of zbrush 4R4.
Usually i have no problems replaying my strokes but for this instance it quirks up and instead of replaying the stroke i previously recorded, it plays out a camera change instead which i did not record whatsoever at all. Have a look.

http://www.youtube.com/watch?v=-okdgtFp5EU&feature=youtu.be

Apart from this, i also do not know how to properly loaded an exported recorded stroke from the inventory. I tried loading the txt and zsc files from the zscript loader and nothing happens. I researched the zbrush wiki and found this,

http://docs.pixologic.com/reference-guide/stroke/inventory/

it says

" Export All Strokes. Press Export All Strokes to save recorded brush strokes to a disk file. Stroke files can only be loaded as part of a ZScript or Macro using the [StrokesLoad] command."

I am using R4 and i dont see that button anywhere in the interface, but it seems like a command i have to input in the zscript itself. I am no pro scripter so please help me out with the coding.

Thanks.

I think the problem you are having is due to the shape of the mesh and that the recorded stroke is starting off the model when the model is moved too far to the right. This is the same as click+dragging the background which is why the model rotates.

You can overcome this behaviour by temporarily appending a plane as a new subtool behind the mesh you are working on, so that the stroke always starts over part of the model.

Loading a Strokes file does depend on zscript but it is a simple matter to write a macro that does the job. Save the attached file to your ZBrush ZStartup/Macros/Misc folder and then press the Macro>Reload All Macros button. There will then be a new button called LoadStrokes in the Macro>Misc sub-palette. Pressing the button will bring up an Open File dialog, allowing you to choose a file. Once a file is loaded, the strokes will immediately replay.

Note that all canvas actions are recorded as strokes - not just sculpting strokes but movement of the model as well.

Download macro here:

HTH,

thanks very much. that fixed it.
Also just to mention, it didnt work with the plane as a separate subtool, i had to merge it temporarily with the subtool the mesh i was working on was in.

thanks for the stroke loader as well.

Really? It worked fine for me. Perhaps you had the Transp button on (for transparent subtools). That would mean it wouldn’t work.

yup it sure did. i didnt have it transparent at all. im using zbrush 4R4 by the way not R5. my object was at an angle though, so i had to rotate the plane at an angle so it would cover the entire background when i did my strokes on the object.