PDA

View Full Version : Control Curves


morobuse
07-24-2003, 08:50 AM
It is based on others ideas and I just gathered themm up together...

u name the script let's say CTRTLcurves.mel and here is a general code...

global proc BoxCurve ()
{
curve -n BoxCurve -d 1 .....
}
global proc SphereCurve ()
{
curve -n SphereCurve - d 3 .....
}

u get the point. By using a global procedure u can call it from other scripts like automated Leg rigging or Arm rigs or whatever using the:

source CTRLcurves.mel;
SphereCurve;

and later alter it and make its channels keyable, locked and with added attributes.
I will Post later a script I am working on... the complete code

To admin... I used New Thread insead of replay to the mel scripts section.. if u have the time please fix this... sorry

dwalden74
07-24-2003, 10:55 AM
Yes, this can be a definite help to people setting up character rigs. I wrote 2 scripts like this. One was a general utility that created around 10 different spline shapes, and the other was specifically for rigging and would create a control object (either box-, circle- or square- shaped) and make the necessary connections to the character rig. This is certainly handy for auto-rigging via scripting.

:beer:
David

CGTalk Moderation
01-15-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.