Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PyConZA 2014: "Using Python in Blender" by Albert Nel

Pycon ZA
October 02, 2014

PyConZA 2014: "Using Python in Blender" by Albert Nel

Python is such a beautiful language, and is used as a scripting language in many open source graphical applications. By using the power of Python within Blender, we can easily automate so many things, and make long tedious tasks seem like child's play.

In this talk I wanted to share a few real world examples where I used Python to do something that would otherwise be impossible (Or just take too long!)

At first, we will take a quick look at the API, and how to get started. Here we will look at where you can find what you are looking for, and how it all comes together. This wont be too in-depth, but just enough to give you a taste. We will play with the console a bit and see how to wield the mighty sword that is Python.

And then, we will look at some scripts. These are a few of the scripts that I wrote while I was working on some random things. This will cover some things such as: Adding new mesh objects, updating object coordinates, changing special properties (such as modifers), and setting keyframes all from the console.

This talk is for anyone interested in seeing just how to leverage the power of Python in Blender. You need not have any experience with Blender since this will be mostly focussed on the Python side of things, so I wont be covering parts of Blender such as rendering, modeling etc.

Pycon ZA

October 02, 2014
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. PyConZA_2014

  2. Playing with Python in Blender

  3. None
  4. None
  5. Lotto Droid

  6. None
  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. None
  16. None
  17. None
  18. LSD Logo

  19. None
  20. None
  21. None
  22. None
  23. None
  24. None
  25. None
  26. None
  27. None
  28. None
  29. None
  30. None
  31. None
  32. None
  33. None
  34. None
  35. None
  36. None
  37. None
  38. None
  39. None
  40. Credits Special thanks to Blendswap.com for some blender models. stuart.t

    - Lego Helicopter - 16909 mStuff - Rope - 72615 Smeagain - Office chair - 73454 DennisH2010 - Laptop - 69924 SebastL - Chest - 47993
  41. None