Last question, fingers crossed. when I first execute the script above that creates the joints at the pivots (this will be button 1 on my UI) then I execute this script the bind the joints (button 2) i get this error after executing the bind joints # Error: RuntimeError: Not enough objects or values. # this is the script I…
*bump* lol, OK so I have got what I need set up, I know how to parent the stuff. but when I put in the parent script underneath what I have already put, it states that it cant find the bones (because it hasn't made them yet) is there a way for me to delay its check for the joint within the same python script ? or will I…
Hey, hopefully you will see this, I finished my Uni course and wanted to carry this on as its good for my portfolio as well as me finding it highly enjoyable. Im trying to do the whole UI now. Basically what I want is this (very basic diagram :P ) - This img Basically, I want a box for the root_bone to be inserted into by…
Mind posting the code? The parent stuff should probably go after the generation of the bones. Ideally you want to split the function of the scripts into well functions. The button would startoff a main procedure (something like autorigStart) which in turn calls helper functions like generating bones, parenting etc.…
Hey, ive been having feedback from the script, and have found that the export function doesn't work because it can't create the temp folder in the C drive on some peoples computers. This is what I was using. import maya.cmds as cmdsimport maya.mel as melfrom functools import partialdef exportVehicle(originalBtn,…
Hey John, sorry didnt see the bump. So reason why it doesnt work is because geo is a temp variable that is referenced in the for loop (You can call it later in the script too but it would be the last object in the selection list or objects passed in. What you want to do is seperate functionality into functions. This way…
This is what I have so far. """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""If you use this Script, Please reference my website - JohnM3D.com - """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""import maya.cmds as cmdsimport maya.mel as melfrom functools import partialimport os…