Rigging

Rigging101 » Rigging128

Mel Scripting Issue (7 posts)

About This Topic

Tags

No tags yet.

  1. SublimeOne

    offline
    Member
    Posted 8 years ago
    #

    Hi everyone,

    I'm using quadruped animation friendly rigging (Part 1) and have come across a mel scripting issue. This is my first time using mel scripting and I've followed the video tutorial to the "T" also class notes yet I'm still receiving a syntax error whenever I try: source splineIKScaleJoints.mel splineIKScaleJoints("curve_ikSpine", "tx", {"jt_IKCog_C", "jt_Spine1_C", "jt_Spine2_C", "jt_Spine3_C", "jt_Spine4_C", "jt_Spine5_C"}); . It gives me the first Error: splineIKScaleJoints("curve_ikSpine", "tx", {"jt_IKCog_C", "jt_Spine1_C", "jt_Spine2_C", "jt_Spine3_C", "jt_Spine4_C", "jt_Spine5_C"}); and the second Error: syntax error. Did I miss a step in the process? Or is it because I'm using Maya 2010 and the instructions are based in Maya 8.5? I'm stuck, please help.

    Thank you,
    Juan

  2. Javier "Goosh" Solsona (admin)

    offline
    Key Master
    Posted 8 years ago
    #

    Hey Juan

    I haven't tried it in 2010 (I don't have access to it right now), but I'm thinking it should work.

    From the code above, it seems you might be missing a ";" after source splineIKScaleJoints.mel
    it should read

    source splineIKScaleJoints.mel;
    splineIKScaleJoints("curve_ikSpine", "tx", {"jt_IKCog_C", "jt_Spine1_C", "jt_Spine2_C", "jt_Spine3_C", "jt_Spine4_C", "jt_Spine5_C"});

    Hopefully that helps

    Javier

  3. SublimeOne

    offline
    Member
    Posted 8 years ago
    #

    Ok, I've entered that after the .mel and it gives me the error: cannot find file "splineIKScaleJoints.mel" for source statement....

  4. Javier "Goosh" Solsona (admin)

    offline
    Key Master
    Posted 8 years ago
    #

    Did you copy all the mel scripts to your maya/scripts folder?

    That's where MAYA looks for your mel scripts. if they are not there then it can't source them

    Javier

  5. SublimeOne

    offline
    Member
    Posted 8 years ago
    #

    Hahaha, oh man, I copied them to my maya 2009 folder....der. Thank you for the help, I'm back on track.

    Juan

  6. SublimeOne

    offline
    Member
    Posted 8 years ago
    #

    Another question however, does this rig setup apply to a single mesh character?

  7. Javier "Goosh" Solsona (admin)

    offline
    Key Master
    Posted 8 years ago
    #

    The Quadruped Rigging setup concentrates mainly on the motion system. For the deformation I'm sure you can use a lot of different options and I don't see why it would be limited to a single mesh.

Reply

You must log in to post.

Rigging101 » Rigging128
1,099 posts in 307 topics over 110 months by 188 of 8,226 members. Latest: fashionpvp, d2q4p5z2j, gasheldonl