#geometrynodes #blenderpython #drivers

In this episode, I am showing you the process how I generate X number of rings and rotating it randomly using Blender Scripting Expression, but all accomplished prompting into Meta AI!

There are a few gotchas when prompting to AI, sometimes it’s incomplete or just give you fuzzy answers. It won’t give the correct result, unless you provide additional information.

The process I did was like below:
1. Ask AI to generate array of rings with random radius
2. To rotate randomly it needs to use Python Expression Scripted Drivers. It does not seem to do it properly.
3. It’s only working after I provide additional info that we need to create Driver Namespace using Python in order for script to work!
https://docs.blender.org/manual/en/latest/animation/drivers/workflow_examples.html
4. After I provide that information, the script starting to work like magic.

In this video, I also give similar example using Geometry Nodes.

So the point taken from this video is that:
– You can prompt crazy ideas with AI. No guarantee you will get the result instantly.
– Break down the step by step procedure and see which one works. This part is like step by step procedure to write script. However, the different here is that sometimes you can just stuff the AI with more “useful informations” until it get its right
– Put everything together and tell AI to revise the code, repeat until it works. However, in the process of doing so, you will accidentally found out few useful things. And before knowing it you learn new things!

Enjoy!