开发者

Blender, Python Scripting Tutorials [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_如何学编程

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

Improve this question

I already know some Python and got interested in extending Blender using Python scripts. Can anyone suggest me some good tutorials or books to learn this subject further? I'm already looking at Blender documentation, but I would like to learn some more because I'm a newbie when it comes to 3D modeling.


The Blender 2.5 Python 3.1 manual has some good links to both basic internal tutorials for using Python scripts and some tutorials on other sites.

Bear in mind that this is Python 3.1, not 2.x, so you'd have to adjust accordingly.

You'll be using the Blender Python API (not so sure how well it's documented, but you should be fine). I'd familiarize myself with Blender and Python first (if you haven't already), then do some basic tutorials, and finally dive into the API.


Blender 2.65 docs now have a tutorial on how to write an addon, This covers a lot of stuff related to general scripting too - not just addons.

http://www.blender.org/documentation/blender_python_api_current/info_tutorial_addon.html


I found the Blender Wiki very helpful in finding specific functions and procedures built in to Blender. To improve my Blender Python skills, I first decided to program a first person shooter. My first code for Blender was a mouselook script. This gave me most of the basics, and if I needed to, I could probably write a similar script in a matter of minutes now.

Also, a good idea is to look at other people's scripts and follow the logic.

There are many good tutorials for Blender and Python, but not too many for the crossover between them. Really the only way to get round that fact is to surf example scripts and websites. I found the Blender community is very supportive, so if you really get stuck on a small part, just ask.

I'm still a probable noob in the programming matter, but (with the exclusion of the node editor), I know my way around Blender pretty well, so if the worst comes to the worst, email/message me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜