PDA

View Full Version : jsFKIKSetup Error ---- resolved?


rhythmone
08-26-2003, 09:50 PM
I did a search regarding the jsFkIkSetup and found two threads:
jsFkIk woes....
jsFKIKSetup Error
.... But has this issue been resolved?

I am on a mac, and did the PDF tutorial using the file on the DVD (FkIk_jsSetupArm.ma)... and I get a lot of warnings when running the script (see output at bottom), and all seems well until I try an switch back into IK mode... the controls do not become visible again. Where is this whole thing at? is anyone using this? Jason should put up a note on his website about this.

jsFkIkArmRig "L" "l_up_arm" "l_wrist" "l_wristCtrl" "l_elbowCtrl" 1 1;
about to parent: l_elbowCtrl1 to |torso_1|torso_2|torso_3|l_shoulder|l_up_arm|l_elbow
about to parent: l_wristCtrl1 to l_wrist
1 connections were made
1 connections were made
connectAttr -f "L_wristIkHandle.message" "l_wristCtrl.FK_IK_EXTRA";
// Result: Connected L_wristIkHandle.message to l_wristCtrl.FK_IK_EXTRA //
// Warning: Skipped L_armIkHandle.poleVectorZ because it already had connections. //
// Warning: Skipped L_armIkHandle.poleVectorY because it already had connections. //
// Warning: Skipped L_armIkHandle.poleVectorX because it already had connections. //
// Warning: Skipped L_armIkHandle.rotateZ because it already had connections. //
// Warning: Skipped L_armIkHandle.rotateY because it already had connections. //
// Warning: Skipped L_armIkHandle.rotateX because it already had connections. //
// Warning: Skipped L_armIkHandle.translateZ because it already had connections. //
// Warning: Skipped L_armIkHandle.translateY because it already had connections. //
// Warning: Skipped L_armIkHandle.translateX because it already had connections. //
// Warning: Skipped l_elbowCtrl.solverEnable because it already had connections. //
// Warning: Skipped l_wristCtrl.solverEnable because it already had connections. //

jschleifer
08-26-2003, 10:31 PM
hmm.. are you using character sets? is this on your file or on the one which came with teh dvd? is it maya4.5 or 5.0?

I wrote the dvd on the mac in maya4.5, so it should be working there just fine.. I'm sure there's a reasonable explanation as to why it's not workin (aside from the fact that I'm a crappy coder :).

-jas

rhythmone
08-26-2003, 10:55 PM
Completely from the DVD...
Maya 4.5 on Mac...

... I can run the jsFkIkSetup and it appears to run ok (besides all the warnings). I can then click into FK mode and IK mode and all is good.

... once I start setting keys is when the problem happens....

CHECK OUT THE SCRIPT EDITOR:
file -f -open -type "mayaAscii" "/Users/chuck/Documents/maya/Misc_files_and_downloads/rigs/FastAnimRigs Folder/MayaSceneFiles/7. FkIk_jsSetupArm.ma";addRecentFile("/Users/chuck/Documents/maya/Misc_files_and_downloads/rigs/FastAnimRigs Folder/MayaSceneFiles/7. FkIk_jsSetupArm.ma", "mayaAscii");
// File read in 1 seconds.
// Warning: Can't use Outliner. Panel is torn off. //
// Warning: This file is from an older version of Maya. If saved, it will not be readable by previous versions. //
// Error: No object matches name: l_armIkHandle.solverEnable //
jsFkIkArmRig "l" "l_up_arm" "l_wrist" "l_wristCtrl" "l_elbowCtrl" 1 1;
about to parent: l_elbowCtrl1 to |torso_1|torso_2|torso_3|l_shoulder|l_up_arm|l_elbow
about to parent: l_wristCtrl1 to l_wrist
1 connections were made
1 connections were made
connectAttr -f "l_wristIkHandle.message" "l_wristCtrl.FK_IK_EXTRA";
// Result: Connected l_wristIkHandle.message to l_wristCtrl.FK_IK_EXTRA //
// Warning: Skipped l_armIkHandle.poleVectorZ because it already had connections. //
// Warning: Skipped l_armIkHandle.poleVectorY because it already had connections. //
// Warning: Skipped l_armIkHandle.poleVectorX because it already had connections. //
// Warning: Skipped l_armIkHandle.rotateZ because it already had connections. //
// Warning: Skipped l_armIkHandle.rotateY because it already had connections. //
// Warning: Skipped l_armIkHandle.rotateX because it already had connections. //
// Warning: Skipped l_armIkHandle.translateZ because it already had connections. //
// Warning: Skipped l_armIkHandle.translateY because it already had connections. //
// Warning: Skipped l_armIkHandle.translateX because it already had connections. //
// Warning: Skipped l_elbowCtrl.solverEnable because it already had connections. //
// Warning: Skipped l_wristCtrl.solverEnable because it already had connections. //
currentTime 1 ;
select -r l_wristCtrl ;
move -r 3.578264 -0.227276 2.628922 ;
Selected:l_wristIkHandle
l_armIkHandle
currentTime 10 ;
move -r 3.881078 -0.340914 2.88711 ;
Selected:l_wristIkHandle
l_armIkHandle
// Updated 2 handles.
select -r l_up_arm ;
rotate -r -os 33.618611 0 0 ;
Selected:l_wristIkHandle
l_armIkHandle
// Result: l_wristCtrl moved to the position of l_wristCtrl_ORIG
object rotation: -72.50016572 134.4209198 -21.50553268
setAttr "l_wristCtrl.r" -72.50016572 134.4209198 -21.50553268;
object rotation: -72.50016572 134.4209198 -21.50553268
// Result: l_wristCtrl rotated to the orientation of l_wristCtrl_ORIG
lookin to copy the poleVector
origPV: l_elbowCtrl_ORIG poleVector l_elbowCtrl
// Result: l_elbowCtrl moved to the position of l_elbowCtrl_ORIG
// Updated 2 handles.


..... at this point I set 2 keys in IK mode, switched into FK mode, moved the jnts, set a key, and now I am clicking to go back into IK mode but the controls are not visible and I appear to still be in FK mode

rhythmone
08-26-2003, 11:20 PM
Another observation just now... I was watching the DVD again to see how you were manipulating the jsFkIkWin and I noticed that if I am in IK mode and I move the control and then switch to FK mode without setting a key.... it pops back to the position in which it started??.... this was not happening when you were demonstrating it on the DVD..... again working with the scene file on the DVD.

jschleifer
08-27-2003, 12:05 AM
strange, I'll have to check this out when I get home and see if I can figure out what's going on.. you're not using the PLE right?

tropistic
08-27-2003, 12:30 AM
I had the exact same "woes," same error messages, same results (after one switch to FK mode, could *not* get back into IK mode) on Maya 4.5 for Windows. And still with 5.0 for Windows (not PLE.)

Alas...

Jay

jschleifer
08-27-2003, 12:38 AM
whee! fun stuff. :)

I'll check it out tonight (don't have the files on me at work).

sorry guys!
-jason

rhythmone
08-27-2003, 12:44 AM
....no PLE here

I did notice on the DVD that you have the tabs as different shelves, isn't that like Maya 3.5 - 4.0 ish?

.... Im stumped

.... there also seems to be no difference if I have the character box checked or unchecked (still not EXACTLY sure what this box does)... just trying to provide as much data as possible.

... also same result when using the prefabricated monkeyRig.ma file(not running anything but the jsFkIkWin)

tropistic
09-04-2003, 09:01 PM
~bump!~

Had a chance to look at this Jason? Easy fix?

Jay

jschleifer
09-04-2003, 09:17 PM
Nope, haven't had a chance yet.. I'm still waiting on my licenses for maya at home, and haven't had time to do anything other than work at work.. heh :)

mswertfager
08-30-2005, 07:47 AM
This is an old thread. However, I never saw a resolution. And, I am experiencing the same issues as listed above.

Does anyone know if a fix was ever found?

I saw the suggested code change in the thread http://forums.cgsociety.org/showthread.php?t=52104&highlight=jsFkIkSetup , but that didnt seem to fix the issues completely.

My set-up is as follows:
-using the jsFkIkSetup from the Rigging Bundle DVD it has a modification date of 10/27/2002.
- Using XP
- Maya 7.0
- Occurs with my .ma file, as well as, the Monkey arm .mb that came with the DVD.

Below are the errors I am getting.
-----------------------
jsFkIkArmRig "r" "r_Shoulder" "r_Wrist" "r_wristCtrl" "r_elbowCtrl" 1 1;
about to parent: r_elbowCtrl1 to |RootLowRes|vert1|vert2|vert3|vert4|vert5|vert6|vert7|vert8|r_Clavical|r_Shoulder|r_Elbow
about to parent: r_wristCtrl1 to r_Wrist
1 connections were made
1 connections were made
connectAttr -f "r_wristIkHandle.message" "r_wristCtrl.FK_IK_EXTRA";
// Result: Connected r_wristIkHandle.message to r_wristCtrl.FK_IK_EXTRA //
// Warning: file: C:/Documents and Settings/Michael/My Documents/maya/scripts/jsFkIKSetupEverything.mel line 44: Skipped r_elbowCtrl.ikBlend because it already had connections. //
// Warning: file: C:/Documents and Settings/Michael/My Documents/maya/scripts/jsFkIKSetupEverything.mel line 44: Skipped r_wristCtrl.ikBlend because it already had connections. //
--------------------------

Looking on Jason's server, I don't see a newer script.
http://jonhandhisdog.com/forum/modules/dl_files/

Also, if you have experience with this jsFkIkSetup and Maya's Ik/Fk blending, can you tell me if maya's blending solution resolves all the FkIk swtching issues the jsFkIkSetup script addressed?

-Michael

CGTalk Moderation
08-30-2005, 07:47 AM
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.