Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new version of maya #3

Open
asdMild opened this issue Aug 2, 2021 · 9 comments
Open

new version of maya #3

asdMild opened this issue Aug 2, 2021 · 9 comments

Comments

@asdMild
Copy link

asdMild commented Aug 2, 2021

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
Copy link
Owner

minoue commented Aug 3, 2021

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.

  • this plugin doesn't work in Maya2022/python3.

@asdMild
Copy link
Author

asdMild commented Aug 9, 2021

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
Copy link
Owner

minoue commented Aug 9, 2021

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
Copy link
Author

asdMild commented Aug 25, 2021

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
Copy link
Owner

minoue commented Aug 28, 2021

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

@minoue
Copy link
Owner

minoue commented Sep 30, 2021

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
Copy link
Author

asdMild commented Oct 3, 2021

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

@minoue
Copy link
Owner

minoue commented Oct 4, 2021

I see, thanks.

@asdMild
Copy link
Author

asdMild commented Oct 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants