Blender Python Tutorial : Finishing the Object Adder Add-on [learn python for beginners]

preview_player
Показать описание
In this Blender Python Tutorial, we will be continuing with our Object Adder (add mesh) Add-on that we created in the last video.

Looking to learn Python for beginners? You are in the right place. Be sure to check out the Scripting Playlist!.

If you want to download this Script, be sure to check the link in our blog!.

First we will add the bl_info, so we can install our add-on (instead of needing to press Runs Script all the time).

Then we look at adding two new panels and then adding the Panels inside of our Main Panel (which is super simple).

We then add some Functions to our Newly added Panels. We can add pretty much anything we want and I suggest adding the most common functions that you use all the time.

You can take certain functions and operations from various different Sections of Blender, and then add them to your Add-on (You can then work in bigger workspace without the need to jump from one window to the next).

Of course this Add-on is super simple and we can always add, change and improve this add-on but I wanted to create something easy to follow and I hope I have managed to inspire you to take this further and start to make awesome add-ons!..

In the Next Tutorial, we will be creating an Add-on that's a little more advanced but with the knowledge we have learned over the last two videos, it should be easier to pick up.

Again, I hope you found this Blender Python Tutorial helpful! be sure to let us know what you think of this series or if you want more videos like this?  

Links -

Рекомендации по теме
Комментарии
Автор

YES YES YES I love this, more scripting tutorial please

josephstark
Автор

Thanks so much John, this is very clarifying! I'm start digging into Python and couldn't find some basic tutorials like this, really appreciate it.

lucasfalcaod
Автор

Excellent tutorial. It's my first approach to this language and your tutorial was very helpful to start understanding it. Thank you!

gonzatoto
Автор

Thank you for the wonderful lecture !! from japan

kitakyusyu-otasuke
Автор

lo mejor de lo mejor de lo mejor de lo, graaciaaaas , me encanta el canal

byandersj
Автор

This video in particular has been very, very helpful!

Zuneku
Автор

I have nothing to say, just Thank you for this great tutorial.

notavail
Автор

thank you
i hope u reach a million subscribers soon

tasneemfatma
Автор

Thank you for such a nice, easy and not boring tutorial :)

seeboo
Автор

[ ] are brackets, ( ) are parentheses, { } are braces. I haven't used Blender's Python editor so I don't know if it has any of the bells and whistles of other Python editors. Usually your editor will automatically add a closing brace, parenthesis, bracket, quote or double quote for you when you type the opening one. Also, many editors have auto completion for text so you don't need to type everything. That way you can avoid using short forms of stuff and save other programmers from having to look back through your code to find out what the short form actually means. I've always been of a mind that code should be easy to read but I'm in the minority. I've usually dealt with compiled languages so the size of the source code is irrelevant so should be large with lots of comments. I can understand wanting to keep source size under control in an interpreted language like Python but I still want it easy to read.

JeffreyBlakeney
Автор

Awesome tutorial! Easy to understand. Thanks for this.

LeratoCreativeConcepts
Автор

Mate !!! Your "Squiggly Bracket" is called (Identified as) 'Left Brace".
GREAT tutorial, by the way: well done, and, cool accent. It is Very Listenable.
Cheers, p.

nedbazzvictoria
Автор

Great series, really appreciate this.

patrickjdarrow
Автор

nice one! tip from my end: Ctrl+D duplicates the current line (or selection)

Thomason
Автор

Thank you so much, this gave me a great starting point!

martenj
Автор

side note: when you have multiple files in your addon, name the python file __init__, place them in a folder and zip it, then to install, select the zipped folder and install it that way!

Thomason
Автор

Well done. It's a very handy tutorial for blender's python

mostafasamir
Автор

Hey John! I really appreciate your effort to teach add-ons in this simplified way thanks a lot. kindly teach how to add lights controls to a curve ( Just like Char light Rig in Maya add attributes to any mesh or curve ) it really helps us. thanks bro

shaloksimon
Автор

Sir, you use row.operator to add a button which does execute 1 particular piece/line of code. But what should I type there if I want to add a button to my panel that should execute the function myFunction() when I click the button ?

Trivimania
Автор

You're very informative, I know you have been asked this before, I have read through the comments but was unsuccessful, you added specifically subdivision surface modifier button through a line of code, I would like to target specific other modifiers but do not know how to get a list of the names, I even turned on Python tooltips and it does not seem to be returning the "subdivision_set" name that you used as an identifier to call in button, I know you have directed others to the Blender documents, is there anyway that you could specifically tell me where in the documents I would find this information pertaining to other modifier names so I am able to target and call in like the Remesh, or Displacement, or maybe even the Array? I know time cost money compensation is not a problem. Also do you offer classes or something extra type of Learning in your patron please let me know.

cncpts