Skip to content

Cult of Rig Posts

Season 01 – Episode 26 – Scripting, Working DeGuiding

Scripting Component Management, pt5, Working DeGuiding

We finally have a working DeGuiding for our first case.

The scene is still the same from the previous days and it’s available from the resources page.

Don’t be afraid if you’re not interested in programming. Or maybe not up to scratch on your scripting to follow the details.

This will NOT be necessary to follow the stream once we’ll resume non programming work.
You should still check a couple posts ago for more thoughts on that, and scripting in general, before you give up on the subject.

As before the “code” is available on my Public Repository on Github as linked here.

We now seem to have everything working and we successfully addressed our first of four cases for DeGuiding any component. Success and the end of the scripting saga for this season seems now within reach!

Enjoy,

Season 01 – Episode 25 – Scripting, Swapping Plugs

Scripting Component Management, pt4, Swapping Plugs

More scripting, and specifically more on Plugs in Maya and the finishing stretch before our guide/control swap(MPlugs in the API).

I mention homework at the very end. If you want to use my scene it’s available from the resources page.

Don’t be afraid if you’re not interested in programming. Or maybe not up to scratch on your scripting to follow the details.

This will NOT be necessary to follow the stream once we’ll resume non programming work.
You should still check a couple posts ago for more thoughts on that, and scripting in general, before you give up on the subject.

As before the “code” is available on my Public Repository on Github as linked here.

This a “getting things done” kind of day, with some meandering thoughts in the end on how to manage development in the face of branching possibilities.

Enjoy,

Season 01 – Episode 24 – Scripting, Managing Plugs

Scripting Component Management, pt3, Maya Plugs Gotchas and Retrieval

More scripting, and specifically lots on plugs in Maya (MPlugs in the API).

Don’t be afraid if you’re not interested in programming. Or maybe not up to scratch on your scripting to follow the details.

This will NOT be necessary to follow the stream once we’ll resume non programming work.
You should still check a couple posts ago for more thoughts on that, and scripting in general, before you give up on the subject.

As before the “code” is available on my Public Repository on Github as linked here.

This episode we dig up the guide of the leg global component and refactor and simplify some connections with the consideration of the guiding/de-guiding automation needing a test bed.

We made good progress on the script front too and we should now have all we need for the final recipe of the guide swap.

Some insider knowledge on gotchas and managing plugs came up as well.

Enjoy,

Season 01 – Episode 23 – Scripting, Retrieving Container Items

Scripting Component Management, pt2, Retrieving from Containers

Don’t be afraid if you’re not interested. Or maybe not up to scratch on your scripting to follow the details.

This will NOT be necessary to follow the stream once we’ll resume non programming work.
You should still check my previous post for more thoughts on that, and scripting in general, before you give up on the subject.

As before the “code” is available on my Public Repository on Github as linked here.

We made some progress on our component instrumentation and we can now reliably retrieve interesting objects and their relationship to our components starting from a simple selection.

Enjoy,

Season 01 – Episode 22 – Scripting, Instrumenting Containers

Scripting Component Management, pt1, Instrumenting Containers

Following popular vote Scripting Sessions start again!

Don’t be afraid if you’re not interested. Or maybe not up to scratch on your scripting to follow the details.

This will NOT be necessary to follow the stream once we’ll resume non programming work.

I do, however, recommend that you try and practice, even if you’re unfamiliar with Python or OpenMaya, and need to use other means to obtain similar results.
Even if you’re completely new to programming and boil the experience down to copying and pasting then running the stuff I will be sharing. There is great mileage to be had in exploring interacting with the Maya client through means other than the UI.

Since we’ll be moving predominantly on the scripting front for a few streams I won’t be posting every bit of text, but all of it will be promptly made available on my Public Repository on Github as linked here.

We start by diving into some exploratory work to learn how to deal with containers through OpenMaya, and how high level concepts such as assets can be mapped to simple graph operations.

Our long term goal is to make the guiding and de-guiding process much, much easier than if we had to manage it manually.

Enjoy,