Blender Python Tutorial: How to Use Geometry Nodes to Split and Animate Mesh Faces
Vložit
- čas přidán 2. 04. 2023
- This is the second video in a step-by-step Blender Python tutorial series, where you'll discover how to use geometry nodes and Python scripting to create a basic mesh animation. Learn how to separate mesh faces into groups with the Separate Geo Node, seamlessly animate their scale with the Scale Elements Geo Node, and join everything together with the Join Geo Node.
Initial Code
github.com/CGArtPython/blende...
Final Code
github.com/CGArtPython/blende...
Geo Nodes Python documentation
docs.blender.org/api/current/...
Function Node Python documentation
docs.blender.org/api/current/...
#blender #python #scripting #tutorial #geometrynodes
It's great how you give enough info up-front and as you're going along to let us pause the video and see if we can guess how to do the next step, and get a little serotonin rush when we get it right. Very generous teaching style, and I appreciate your not-shouting delivery.
Thank you for the feedback! ❤️🔥
I love to know what works and what does not!
Well done. Amazing content!
Thank you 😊
Hi VIctor - My appreciation and enjoyment of all your tutorials continues! Haven't finished them all but getting there. One subject has me currently stumped: I'm trying to get greater control of the timeline playhead - I want to be able to start and stop it on various events and all I can find online in the blender API docs and on bulletin boards etc. is advice to use handlers and callbacks. I am having little success with this so far (and fwiw I have tried using chatGPT many times and it keeps getting it wrong too!). Is this is something that would be of interest to you and your audience too? Did I miss a video in which you already covered it? Of course you are very busy and have a long list of topics to cover already - Thank you for considering.
HA!!! I got my handler code working just now. HA HA HA!!!! YES!!! Isn't that the way it always goes - just when you are giving up and capitulate to asking for help, things all of a sudden come together. Well, anyway, if this is a topic you think would make for a good video I'd definitely still be interested. Thanks again for all your help.
@@powersprouter Nice! 💪
Great job! :high five: 🖐
I haven't done a video for that yet.
Are you creating a handler callback that triggers when you reach a specific frame?
@@CGPython I have tried twice to reply "Yes!" but CZcams keeps removing my comments - I think because I mention the obvious place where I released my first open source add-on(?) Is the algorithm interpreting my messages as spam/self promotion? Anyway my handler code is now live at my first Github repository, I'm so stoked. I really just wanted to thank you again Victor!! And I have my second add-on almost completed - it is much more interesting and more thoughtfully scripted. Yay! The best is yet to come. :D Happy Saturday.
@@powersprouter Yeah, I think the CZcams comment algorithm deletes comments with links. 🫤
That is so cool!
What is your github user name? is it just powersprouter ?
I think I found it - "playOnce" right?
@@CGPython yes. 🤗 pretty simple but actually a feature i have wanted since i started with blender a year and a half ago. Haven't figured out how to modify the operator called by the default play button in the blender timeline header region tho (is that even possible?)
Hi Victor, I have some questions:
1. How do I create a Group (Ctrl + G ) in a Geometry Node network?
2. Is there's a way to create a Group then add existing nodes into it ?
Thank you.
Thanks for the question
I will need to create a video on this topic!
It would be interesting if you do scripting boxcutter addon tutorial
Thanks for the idea!
What is the advantage of using a visual script over a pure script? You don't risk creating something very complex
and you don't need to know Python 😊
Awesome tutorial as always! THANKS ! just a note: I redid a tutorial in French on shaders and geometry nodes by applying what you taught me. I quote you as a reference at the end. If you want to see: czcams.com/video/AY4ay5Zs360/video.html
Oh wow! That is cool
Thanks :)