Editing Start coding for Blender

From Wiki.OSArch

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Template:Start coding}}
+
Blender core is coded in C. Some part like Cycles are coded in C++. Python is widely used for extending Blender functionalities with scripts and addons.
 
 
[[Blender]] core is coded in C. Some part like Cycles are coded in C++. Python is widely used for extending Blender functionalities with scripts and addons.
 
  
 
(For BlenderBIM Addon specific code see [[BlenderBIM Add-on code examples]])
 
(For BlenderBIM Addon specific code see [[BlenderBIM Add-on code examples]])
Line 15: Line 13:
  
 
<youtube>https://youtu.be/XqX5wh4YeRw</youtube>
 
<youtube>https://youtu.be/XqX5wh4YeRw</youtube>
 
 
Useful resource on creating custom UI with Python in Blender:
 
 
https://blender.stackexchange.com/questions/57306/how-to-create-a-custom-ui
 
 
 
The Scripting for Artists tutorial series by Sybren Stuvel is another useful resource for learning to script with Python in Blender:
 
 
[https://www.youtube.com/watch?v=opZy2OJp8co&list=PLa1F2ddGya_8acrgoQr1fTeIuQtkSd6BW Scripting for Artists]
 
 
 
Ditto the series by Darkfall:
 
 
[https://www.youtube.com/watch?v=cyt0O7saU4Q&list=PLFtLHTf5bnym_wk4DcYIMq1DkjqB7kDb- Tutorial Series by Darkfall]
 
 
  
 
To learn more checkout the [https://docs.blender.org/api/current/index.html Blender Python API documentation] especially Quickstart part.
 
To learn more checkout the [https://docs.blender.org/api/current/index.html Blender Python API documentation] especially Quickstart part.
 
==Creating custom add-ons==
 
Creating a custom add-on is no magic. If you need help getting started, the [[Create your first Blender add-on]] tutorial will help you.
 
 
 
==Tips and Tricks==
 
==Tips and Tricks==
===From Blender Python API doc===
 
 
Blender Python API documentation has a special [https://docs.blender.org/api/current/info_tips_and_tricks.html Tips and Tricks] chapter including external editor usage, inserting a python interpreter etc…
 
Blender Python API documentation has a special [https://docs.blender.org/api/current/info_tips_and_tricks.html Tips and Tricks] chapter including external editor usage, inserting a python interpreter etc…
 
===bpy stubs for auto-completion===
 
Main known project which provide stubs for auto-completion is [https://github.com/nutti/fake-bpy-module fake-bpy-module]. It also provide type hints for python >= 3.7 which should allow to perform type checking (eg. mypy).
 
 
  
 
[[Category:Blender]] [[Category:BlenderBIM Add-on]]
 
[[Category:Blender]] [[Category:BlenderBIM Add-on]]

Please note that all contributions to Wiki.OSArch are considered to be released under the Creative Commons Attribution-ShareAlike (see Wiki.OSArch:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: