Blender vs. Python: Breaking the Ice

I’ve been a fan of Blender’s for a long time, although I haven’t used it in awhile.

I do remember, however, Blender uses Python, which is what I am studying right now.

That said, I’d like to try doing something in Python for Blender.

What I’ve found, however, is - it seems to work the other way around… meaning - Blender uses Python via the Python console.

Either way - there must be some great tutorials and scripts out there to view as examples…

Can anyone help me break the ice?

Thanks!

you can have a look here : https://wiki.blender.org/index.php/Dev:Py/Scripts/Cookbook/Code_snippets

Console is just a way to make quick operations or tests, it’s very useful but the best tool for python is the text editor, you can also at some point write addons .

Thank you very much! :slight_smile: The more I know - the better!

Are there any GOOD video tutorials on using Python and Blender?

I have found a few, but they seem kind of hard to find and by no means comprehensive…

maybe here

To add, try:


https://www.youtube.com/user/the3dadvantageuser/search?query=numpy
https://www.youtube.com/results?search_query=blender+scripting
https://www.youtube.com/results?search_query=blender+python

In Blender the Scripting layout is worth checking out as it exposes the Info window command list revealing scripting stuff related to your 3d tasks. Python Console autocomplete is good for exploring python commands, more become available via
import some_module_name, numpy, etc
Hovering over gui buttons, fields, etc reveal more also.

The addons, templates directories and blender.stackexchange, the api docs. A wealth of info out there. Try, fail, ask. Enjoy.

1 Like