minoue / rush

⚡ Simple command launcher for maya
MIT License
86 stars 14 forks source link

new version of maya #3

Open asdMild opened 3 years ago

asdMild commented 3 years ago

thanks a lot,rush is helpful, how can i update the command based on new version of the maya, which like maya-2020 or newer,

i was add the command of mine by the README, but the original command.py is used by default

minoue commented 3 years ago

Hi, Thanks for using this! So do you have the issue only in the newer maya? was working fine in 2019 or lower? I tested maya2020 on linux and it works without any issues. If you have any error messages and paste it here, that would be helpful.

Also I'm not sure what the 'command.py' is. there is no such a file in the repository. I think the easiest way to add your own commands is to open sample.py and add functions there.

asdMild commented 3 years ago

rush is work well in maya 2020 ,

there may some menus are not defined yet, like Rigging, if the defined file is write by yourself without any auto script, i will try to find the way to do it myself.

if there is some good way to do it auto , i will email you,

minoue commented 3 years ago

yes, because I made this tool for my own, I added modelling/lighting commands but didn't add any commands that I don't really use such as rigging/animation.

If you find any ways to define automatically, yes please let me know. Also, If you create command module for anim/rigging and send it to pull request, that would much appreciated.

Thanks,

asdMild commented 3 years ago

i export some file and build 2 python file, but it looks chaos. i export the files from [ 'C:\Program Files\Autodesk\Maya2020\scripts\shelves', 'C:\Program Files\Autodesk\Maya2020\scripts\startup\defaultRunTimeCommands.mel', 'C:\Program Files\Autodesk\Maya2020\scripts\startup\namedCommandSetup.mel',]

the file from shelves and namedCommandSetup look better, the defaultRunTimeCommands is chaos , hope it can help code_file.zip

minoue commented 3 years ago

Hi! Thank you for sending the file. I will have a look and will let you know how it goes : )

minoue commented 3 years ago

Hi, I'm looking at the maya_named_command.py and a lot of functions are named like "NameCom*" or "NameCommand". Do you know what these prefix/suffix are?

asdMild commented 3 years ago

those prefix are made by myself, for command search in the rush. just remove them if necessary.

minoue commented 3 years ago

I see, thanks.

asdMild commented 3 years ago

code.zip those two file are create by myself, i use them for one month, maybe it can have some help but the file from defaultRunTimeCommands.mel is ignored because messy