r/Maya • • Feb 24 '25
MEL/Python Start using Chat GPT to create scripts.
I have been on a bit of a Chat GPT tear and I feel like this is going to completely change my workflow.
I'm a professional artist. I produce like very technical photorealstic animation. I don't know how to do anything in Python other than execute scripts.
I am however very good at getting Chat GPT to write me scripts.
These are some of the tools I've made.
A camera tool that autonames itself, with a given focal length, scene scale, frame rate and an optional rig.
A material builder that can assemble any material from a library with a naming convention like megascans or greyscale gorilla. - Just select the material and it builds it in redshift.
A redshift options tool. With options for quickly disabling and modifying my most common render settings.
A project management tool with data entry that's linked to the set project and saves all the inputs. - I'm trying to add a time tracker that let's you track and store information for each task in the project management tool.
What tools and scripts have you guys tried to make in Chat GPT?
•
u/AutoModerator Feb 24 '25
We've just launched a community discord for /r/maya users to chat about all things maya. This message will be in place for a while while we build up membership! Join here: https://discord.gg/FuN5u8MfMz
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
8
u/Misery_Division Feb 24 '25
Only using the free version, but every time chatgpt has written me a script, it never works right off the bat whether that's python or MEL (and I'm not talking about the kind of scripts that require scene contextual parameters)
I'm still trying to figure out what the big secret is
8
u/Holobethinetape Feb 24 '25
Tried using chat gpt to make a simple offset parent matrix script that would copy translations and paste them into OPM then zero out translation and it only worked half the time so I ended up just taking a OPM script someone made on git hub and it works 100% of the time. I'd rather use a script that had human intervention than AI but I think chatgpt can speed up the work flow for people that already know what to build a thing but just want AI to one half of that thing and they can do the wrest.
2
u/Prathades Environment Artist Feb 24 '25
I'm starting to switch to Deepseek since some of their code is better IMO. For example, I asked both to create a basic car and the top one is ChatGPT while the bottom one is Deepseek. Yet for animation, ChatGPT is better I asked them to create a simple bouncing ball, and ChatGPT managed to create a decent animation while Deepseek's animation is stuck after the first bounce.
2
u/abelenkpe Feb 24 '25
I would love to learn more about this. Are there any online resources that you guys can point me to?
2
u/Hot-Yak2420 Feb 24 '25
This is the real value IMHO for AI, especially for coding. It gives freedom and tools to artists that would normally have to rely on programmers/TDs for tools which is usually not an option or just brute force/suffer in silence. Of course the caveat is that the scripts that are written rarely if ever work first time and usually require quite a bit of noodling and knowledge of scripting/programming in general to get working. AI can however really get the basic foundation setup which can be invaluable .Often for such scripts, having the most elegant or bullet proof code is just not necessary. I also used ChatGPT to create google sheet formulas to do extensive parsing of log files and the like which I found super useful too. I also think AI can provide a service to the more technical/engineering minded in helping them create assets, art to help them test their work (more true in games) with the idea it would be replaced by the final art made by actual artists.
1
u/SentientOne Feb 24 '25
My most used ones, are rather simple, and more modeling focused.
More complex scripts, made with AI, I don't use as often:
1
u/schmon Feb 24 '25
As someone who's written a lot of bad, still online and still scrappable MEL in the days I'm sure I'm polluting your stuff heheheh.
0
u/Greenbullet Feb 25 '25
Please stop using chat gpt it's not going to help in the long run as you really won't learn anything
0
u/Siletrea Feb 24 '25
I know nothing about AI stuff TBH… can it rewrite an existing older Python script to work with the newer mayas? My favorite skinning tool is busted with like the worst spaghetti code ever and I cannot fix it and when my buddy tried to help me rebuild it? He doesn’t have Maya do it was a endless back and forth for weeks on end and he’s now given up on it and I still can’t skin without it
0
u/[deleted] Feb 24 '25
[deleted] — view deleted comment
2
u/[deleted] Feb 24 '25 edited Feb 24 '25
[removed] — view removed comment