ZBrushCentral

Clip Curve fixer macro

Hi.
I´m here seeking your magical zbrush knowledge in the dark arts of zscripting and macros. :slight_smile:

Example case:
Cut with a curve the side of this:

The problem:
If you use Trim Curve to make something that is not a straight line; you get this:

If you use Clip Curve in the same situation you get this:

So.
What to do, what to do…
-Here it is a Macro/Idea-
You will have to push one hotkey before you use Clip Curve and one hotkey after. And you must be in dinamesh with project turn on and SubProjection at 0.6 (default).

Actions of the first Macro (assigned to hotkey):
1-duplicates the current subtool
2-sets that duplicated subtool to AND (or Substraction)
3-sets the visibility of the duplicated subtool to off
4-reselects the original subtool

Actions of the second Macro (assigned to hotkey):
1-merge current subtool with the one below
2-re-dynamesh with AND option

I made the two macros, but i have a problem with some parts of the first.

In the first macro, the steps 2 and 3 are not registered.
I suppose that those actions are not click macroable?
How can I include them?

The second macro works great.

After all the actions the result its a perfect cut:

Thats all.
Thanks !

Attachments

Original.jpg

Trim Curve.jpg

Clip Curve - 1.jpg

Clip Curve - 2.jpg

Macro - 2.jpg

Macro - 1.jpg

Try this:

Whoooa !!!
Thanks a lot Marcus !

Works like a charm :slight_smile:

Marcus, if it is still possible, please download that script again. Link is missed.
IF ONLY it is not deep trim from a simple plugin: Deep Trim, its some time works not properly (on my pc).

Sorry for reanimate so old topic, I didnt want to start anotherwith almost same question

Hi,

Here’s the macro from my post above:

ClipSetup.txt (1.8 KB)

HTH,
Marcus

Hello too.
Thank you, Marcus. Zscripters would become extinct without you.