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…
Hey, sorry I didn't see your post. I used a mixture of Python and Maya Documentation along side asking for help on this forum. If you have money id recommend tutorials as well, I haven't been able to as of yet.
ok so im creating this auto rigger, ive currently got it so it can create several joints each at its own object,I want to try and get it so it names the joints after the object it is created on and add _Joint to the end of its name. Also as the title says, I want to add skinning, I cant get my head around it. thanks for…
Hey guys im really glad i found this post, Can you guys recommend me a place i know a little bit of python already, i would like to eventually move on to automating my rigging with autorigs, UI's and such, where is a good place to start learning how to make rigging and OOP tools in maya? Best. Joe
For the naming, you already get the name from the for loop so you can just do something like cmds.joint(p=piv[0:3], name="%s_joint" % (geo)) (The % is a quick way to concatenate strings in python). Not sure about the skinning. Should have just bumped this one up than make a new thread haha.
Ok so I get most of what you said, this is what I have done so you know where I am - def exportVehicle(originalBtn, setActiveBtn, *args): cmds.headsUpMessage( 'Exporting your Vehicle...!', time=5.0 ) cmds.fileDialog2(fileMode=2, caption="Export Vehicle") #mel.eval('FBXExport -f "C:/temp/MyVehicle.fbx";')…
*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…
ok so I figured out the error, it was because I was trying to connect Chassis_joint to itself. I changed that by having a button in my menu change Chassis_joint to Root_Bone. I have created a few buttons that function properly but there are two buttons which I can't get to work and thats because they are using a string I…
Heres some sample code for you and how to use the path returned from filedialog. import maya.cmds as cmdsimport maya.mel as melimport osdef createUI(): if cmds.window('MyWindow', exists=True): cmds.deleteUI('MyWindow') window = cmds.window("MyWindow",title="Long Name", iconName='Short Name', widthHeight=(200, 100));…
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…