Due to an annoying change in the way the search function works in Blender post-2.9, all operators now need to be attached to a menu somewhere in the interface to be visible in the search bar. You can change this however, if you go into Edit - Preferences, then in the Interface section tick 'Developer Extras'. The operator should be discoverable in the search function again.
@RETRACFPS4 жыл бұрын
I got stuck on this a while back, and couldn't figure it out, thank you for this!
@sythys_3 жыл бұрын
You should edit this into the video.
@badzigenhalsensis3 жыл бұрын
@@sythys_ There is no option to edit once uploaded video to KZbin.
@Fafmagic3 жыл бұрын
To your knowledge, is there any reason why this wouldn't work in Blender 2.92.0? I can find and call the class in the search but the properties are not showing up. Any thoughts?
@CrazyMurdock773 жыл бұрын
@@Fafmagic I have followed along on 2.92 and as long as I run it from the search (and not from the script) the properties box is showing up.
@BlueyMcPhluey3 жыл бұрын
I'm a programmer who is dabbling in 3d and the idea of writing scripts is so much more appealing to me than pushing and pulling blocks all over the place manually. Thanks for this!
@astroid-ws4py2 жыл бұрын
There are also other interesting projects for you to check for drawing/modeling with code as you may be interested in them as well: OpenSCAD, LibFive and Processing.
@jakebailey6285 Жыл бұрын
@@astroid-ws4py Thank you.
@neoncyber200111 ай бұрын
There is also a DSL for raytraced geometry images and animation called POVray.. its ancient but can be a lot of fun.
@s90210h4 жыл бұрын
there aren't that many videos on this topic and this the best I've seen yet. Please dig deeper into this!
@alexunderstands4 жыл бұрын
Yes! I spent a week learning general Python-stuff because I couldn't find good Blender scripting tutorials... -> Really hungry for the Blender Specifics now and this really hit the spot! More Please :)
@LeslieSolorzanov4 жыл бұрын
Just in case the official Blender Cloud has a course on this topic and some videos are free in youtube. kzbin.info/www/bejne/npe8mHateMRnn6c
@MahendranDhandapani3 жыл бұрын
I'm a programmer. Best video for both non-programmers and programmers. Very clean and crisp.
@IanHubert23 жыл бұрын
This (and Intro To Coding) are the first videos I've ever seen that made me feel like I could actually wrap my head around this stuff- thank you SO much! I've watched so many of these and it all makes sense, then suddenly it feels like this person jumped ahead like 3 steps and I get lost. That said- probably a bad omen, but I'm stuck on the very first step?? I type "import" in the text editor and the syntax highlights it red. I've watched the first bit of this video 3 times and I legitimately don't know what I could have messed up? Do I need to have installed certain modules prior or something? If anyone has any thoughts, I would love to hear them!
@captainmemez32193 жыл бұрын
hey man
@A.Shek_3 жыл бұрын
Same here. I try to learn it but dayum lost ! It seems so complex for my artisitc mind. I just opened a python code file and dayum Do these devs type those thousands of lines all by hand !!, lol. I wish someone makes Blender specific Python coding video in baby steps and explains it non technically. Hah! Just a fairy dream maybe!
@Aleczanderm3 жыл бұрын
Red should be fine, you should still be able to use the class.
@dhaloh3 жыл бұрын
yo what it's the legend himself!
@NickTriccc3 жыл бұрын
I was lead here by your Patreon! appreciate it!
@RealGaryGibson3 жыл бұрын
This was a great introduction for me. It was very clear with simple examples that I could understand. You zoomed into areas of interest so that I could actually read your screen. And you tied it all together so that I could install it for future use. Very professionally done. Thank you!
@adamaleksander52264 жыл бұрын
This is one of the best Python for Blender tutorials on the web. Please make more intermediate to advanced tutorials like that. Thank you.
@MicMan27102 жыл бұрын
Thanks for making this. I've been putting off learning Blender's API because there were no good tutorials before this one. I always struggle to learn from documentation. This is way better
@fabriziolorito2 жыл бұрын
BRILLIANT! You packed so many things in this tutorial with such clarity... By far the best introductory tutorial on this topic I have seen so far. Thanks
@ShamsAzeem2 жыл бұрын
The way you are able to identify smaller details and relay the information to your viewers is incredible. You even went into the minor stuff that someone new to python programming needed to know, not just blender related details. You have my respect!
@iulianlus29474 жыл бұрын
I watched scripting for series artists, but it requires a good understanding of phyton, and a pre-existing minde set for coding, your tutorial explains the code, more from the perspective of a more visual person, which helped me a lot to understand bpy better. It's just like in the video on the blendernest with visually learned math, for me that's how I learn the fastest. I hope for a video series of this type :)
@piotrr54394 жыл бұрын
right, this is so basic....
@myztazynizta4 жыл бұрын
what blendernest visually learned math video?
@iulianlus29474 жыл бұрын
kzbin.info/www/bejne/oXuaoombisd9Y9k it's more of a discussion
@SmellyNutz4 жыл бұрын
Actually, the Scripting for Artists on KZbin is its episode/Video 7 or 6 onward. The earlier videos are on Blender cloud ( Along with the whole course ). In the earlier videos, a really easy intro to Python is done.
@Amipotsophspond4 жыл бұрын
as someone that understands the python side but not the blender side, I have to say this is the best API Tutorial I have ever seen not just blender but like of any API. fantastic job!
@RobertoHenriquezPerozo3 жыл бұрын
dude this is really amazing, thanks a lot. coming with a python background it's been a bliss to understand what you're explaining, and also you're giving the intro to coding to people who are not familiarised with logic yet. thanks for making this content
@vivekpetrolhead3 жыл бұрын
Explained in a way that people with no python background can understand. Great work.
@alabrrmrbmmr3 жыл бұрын
I have to just reiterate what other have said already: this is a well described and comprehensive tutorial. Great work! Thank you.
@EdwinDevey3 жыл бұрын
Superb tutorial. Beautifully and comprehensively explained and demonstrated. You must be up for tutor of the decade. Thank you.
@adrimathlener80084 жыл бұрын
I read your warning 'This video contains code' and still went ahead
@JousefM4 жыл бұрын
Adri Mathlener I also like to live dangerously
@CreativeSteve694 жыл бұрын
Finally a coding tutorial. Always wanted to learn to code thans Curtis. I'll defently follow along with it. :D
@ShirazHazrat2 жыл бұрын
I wish I could give this video multiple likes! It's so informative, clear, and moves through content at the perfect pace. Exciting stuff. Thank you for creating this and sharing your knowledge!
@peterlantz79663 жыл бұрын
I followed along typing it out, screwing around with what the code could do. Left with a greater understanding. Thank you so much for making this and explaining each step and why it works!
@roygatz3 жыл бұрын
You sir deserves a medal of honor from the blender community
@unstableanimates80704 жыл бұрын
Lord give me strength so i can finish this tutorial and remember it all forever
@TheStarMineLP3 жыл бұрын
Me, a day after a Codacademy 5 hour tkinter crash course on 1,5 playback speed: "Lovely 45 minutes"
@Newmediasupply4 жыл бұрын
Wow, this tutorial is of amazing quality, out of this world. I've seen quite some tutorials for coding in Blender, and this video made me understand much more. Usually I find Curtis video way to fast, but this was perfect.
@criddycriddy4 жыл бұрын
One of the best tutorials I have ever watched, code can be so dry to learn but somehow your clarity and superb teaching style makes it interesting, you would make a brilliant teacher, which of course you are here, new sub for sure thanks pal
@rishwanthmyanapuri13014 жыл бұрын
I had been searching for a better tutorial on this topic and this is the best I can say. Please make more videos on this topic explaining deeper. Thanks a lot❤️
@HarryMcKenzieTV2 жыл бұрын
im a software developer and wow awesome, this gives alot of insight and is an eye opener with what is possible in blender.
@lyricus10454 жыл бұрын
Very helpful introduction to python in Blender. This presentation was a tipping point to me. From now on I will see and use Blender on very new and expandable ways. Thank you Curtis!
@sc08203 жыл бұрын
For me as an advanced python programmer, the content and speed is really nice.
@gorudonu4 жыл бұрын
I'm quite new to blender but full time coder, this is the best video for scripting with blender. Helped me greatly, thanks !
@CurtisHolt4 жыл бұрын
That's really great to hear!
@worldkeyvideo90802 жыл бұрын
This video was so helpful in understanding scripting in a simple fashion. You did a great job with the descriptions of the complex parts of the code!
@abhijanwasti79914 жыл бұрын
Thank you for the wonderful tutorial! Could you also explain the different bpy parts: data, context, ops and so on and what they mean and how and when to use them?
@CurtisHolt4 жыл бұрын
Sure - when I do more Python content I can go into them in more detail, but it's definitely worth having a read through the wiki because there's lots of good examples over there as well 😃 bpy - data: docs.blender.org/api/current/bpy.data.html bpy - context: docs.blender.org/api/current/bpy.context.html bpy - ops: docs.blender.org/api/current/bpy.ops.html
@m.agatha1702 жыл бұрын
Thank you so much for this tutorial! It's super clear and easy to understand, especially for a Py dev. I highly recommend, as Curtis said, to dive a little bit into Python basics, at least data types, functions and basic oop to have a wayy better time following the explanation.
@activemotionpictures4 жыл бұрын
Magnificent, Curtis! The Intro and the complete video cleared up a lot of questions I had about coding. Thanks!
@melvin35094 жыл бұрын
Perfect timing! I am currently going through a python course, but still didn't really know how to apply it in blender. Now this video popped up
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@rfpcs14 жыл бұрын
This tutorial explained everything other leave out, easy to follow and a lot of great information on Blender Python scripts.
@MarkBTomlinson3 жыл бұрын
This is a very good demonstration as it doesn't assume anything and goes through the steps in real time, unlike others that edit out and cut and paste snippetssnippets this shows the whole process as it is typed. I find this way far easier to follow and I am not second guessing where the code came from. All in all one of the best coding videos for Blender, including ones I have bought. Curtis is a natural teacher and this video show that clearly. Thanks Curtis!
@toapyandfriends2 жыл бұрын
Thanks for the theme you really dialed in the dark color of the floor ...awesome... been trying to figure that one out
@Erindale4 жыл бұрын
Thank you so much for this! I've been meaning to learn Python for years
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@Retrofresh2 жыл бұрын
i have no idea why, but hearing your voice just makes feel soothed.
@marcazazgour63442 жыл бұрын
Fantastic tutorial, pace is perfect, just what I needed. Thank you!
@danielernst68164 жыл бұрын
Great tutorial. Good pacing and solid explanation of each element. I like your approach of actually understanding each element, instead of just learning how to use it. Thanks!
@osmaner46094 жыл бұрын
I had been searching for this for a long time and finally got it. Thank you so much for preparing such a workshop video 🙏👏👏👏
@SD_simma2 жыл бұрын
CURTIS.........AWESOME JOB! This subject about Python in Blender is so NEGLECTED!
@moonstonewarlock3 жыл бұрын
Great tutorial to start programming Python in Blender! Thank you!
@discreet_boson4 жыл бұрын
Exactly what I wanted, thank you
@mixchief3 жыл бұрын
Absolutely excellent introduction, Curtis!!
@chinyembasongiso93284 жыл бұрын
I have to admit, I had no interest in coding but after watching this tutorial, my interest has been generated is ignited.
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@ScrawnyMcMassive4 жыл бұрын
"Def execute self. Return FINISHED", this code is metal as fuck. Curtis mathcore album title leaked?
@davidmurphy563 Жыл бұрын
Really, really nice explanation. The only thing is that Euler is pronounced "oiler". Everyone gets that wrong at first but the dude absolutely rocked so he's worth the tricky name.
@darkcgi4 жыл бұрын
FRAME 14:45 adding modifier in 2.9 auto updates 3d view now
@rfpcs14 жыл бұрын
I wish you would of had this when I started trying to figure BPY
@xdanic33 жыл бұрын
36:23 Even if it's not important I like the fact that you explain a line like that one
@ComixProductions2 жыл бұрын
Genuinely amazing and underrated tutorial, I've learnt so much!
@sannasedna83204 жыл бұрын
Thank you for this great introduction! Easy to follow, clear and well paced. I really appreciated it.
@CurtisHolt4 жыл бұрын
Glad it was helpful!
@HeadInstead4 жыл бұрын
Great course! Thank you so much for making this. I had a problem that the addon did not show up in the F3 menu.. Even not when I restarted Blender. It was very frustrating. But now it is the next day, and it does show up in the F3 search menu. Hooray! So I am on Ubuntu 20.04 with Blender 2.90.0. If anyone else has the same problem, it might work to restart your computer. Of course I am very glad to hear other possible reasons to make this work directly. EDIT2: I notice that I got Blender 2.90.1 because I updated my software. Now it works like a charm. So I am pretty sure it was fixed. So make sure you don't have 2.90.0 if you want to use add-ons like this.
@Portmsecurity4 жыл бұрын
Well, my Blender is 2.90.1 and the problem is still there.
@HeadInstead4 жыл бұрын
@@Portmsecurity damn. Did you try again the next day? I still don't understand the issue. I thought about file indexing that does not happen right away, but once a day, or after a new system start up. But it is another random guess..
@Portmsecurity4 жыл бұрын
@@HeadInstead Yes, I've tried it many times. I think most of the guys here have the same problem, but not everyone gone so far like us ).
@clanker80214 жыл бұрын
Hey there, did you guys figured it out? I pretty much finished the video but I couldn't get the operator to appear on the f3 search menu. I even downloaded the blend file from Curtis to see it would work on my version of blender (2.90.1 too) and the operator doesn't show up in the f3 search menu either from his file. Not sure if you guys solved it
@Portmsecurity4 жыл бұрын
@@clanker8021 Sorry, have nothing to say. Still waiting someone who will solve it, while learning Python :)
@SujayAmberkar4 жыл бұрын
Always wanted to know how you make those generative add-ons. Thank you so much for such an amazing video.
@manimaranm45632 жыл бұрын
This was one of the BEST tutorials on Blender for python, I think Blender notebook for jupyter addon would be added advantage as well
@speedzification4 жыл бұрын
clear, to the point and well explained! Keep up the excellent work! very informative
@yourfriendlygamedev3 жыл бұрын
I'm much more of an artist than a coder, but you made this super simple. Thanks so much!
@abedd3703 жыл бұрын
Now THIS is how you teach Python to dummies! Thank you Curtis!
@Omgtired3 жыл бұрын
Man thanks a lot for the video! You got my subscription and like! I love how dense the video is, by saying that I mean how much useful information it has and no "water" whatsoever!
@phycogsmithomniscience3093 жыл бұрын
c# , c++ , gdscript and now I must learn Python . the job pf the programmer in indi is very broad and vast. thank you So much
@notpumkin4 жыл бұрын
Excellent video, and excellent timing as I've been just been thinking of writing a simple addon the other day!
@fakecubed4 жыл бұрын
What was the add-on? I'm an experienced Python programmer, and an inexperienced 3D artist. I'm sort of coming at this from the other side of things and I'm very curious what sorts of things people might find valuable.
@notpumkin4 жыл бұрын
@@fakecubed I did end up writing some stuff for personal use but never really finished it. I think at that time I wanted to write an addon that would bake with transparency support in cycles by baking using the usual manual process of baking twice, once with a emission material as the alpha then combining the images. Another time I tried to write an addon that would create autosave backup texures from texture paint based on a few criteria, similar to the blender file autosave. In the end I got too confused with the context stuff and never finished either one of these.
@RickHenderson2 жыл бұрын
A few changes it looks like here and there for Blender 3, but very good tutorial. Great for newbies. People with python experience might be bored in some parts, but it's all about Blender.
@goviral32312 жыл бұрын
You will definitely become the top 1 who makes cracks
@mdtapilatu4 жыл бұрын
This is pure DIAMOND!! THANK YOU SIR
@sonu-jangir Жыл бұрын
This tutorial is absolutely amazing for beginners.🎉🎉🎉 Thank you so much for this video... ❤❤❤
@davidcaro4 жыл бұрын
Check! This one is pure gold thanks! Start right now on my add-on!
@powersprouter Жыл бұрын
NB - at 29:52 there is no Toggle System Console for mac users - - - have to launch a blender alias from a terminal to debug this way. PS Thank you for all the videos Curtis!
@vazak114 жыл бұрын
As a programming novice this could help a lot, thanks for sharing!
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@wexoriann4 жыл бұрын
Fantastic going to Dig in to the video when i'l get to home , keep it up :)
@badzigenhalsensis3 жыл бұрын
Operator won't work in new Blender's 2.90 API. User will need to enable Devloper Extras or modify functions Blender 2.90.1 As pointed out by other users, the API has been updated. You can see the release notes here: Blender 2.90: Python API where it says: ...add-ons that expose operators only through search need to be updated.
@scottlee384 жыл бұрын
I use python in Blender to build personal addons. So This'll be interesting
@subramanyam26993 жыл бұрын
If auto completion don't work for dot tab.. then try control + space-bar after dot.
@benjamindbailey2 жыл бұрын
When I hit F3 to search for my script, it does not show up in the search results. I can run the script from the Text Editor, I just cannot find it when searching for the file in the 3D viewport. :(
@jmfs34972 жыл бұрын
He added this comment to the top "if you go into Edit - Preferences, then in the Interface section tick 'Developer Extras'. The operator should be discoverable in the search function again." My problem is that the pop-up Noise Scale adjustments are showing up after I click on the searched My Operator item. Let me know if you get yours working. I'm not sure if it is me or a change in Blender. Running 3.3 here.
@etiennelemieux4724 жыл бұрын
Niiiiiiiiiiiiiiiiiice, I was looking at Blender (tutorial) videos yesterday and wondering if any of them were about python scripting :)
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@VFXBlend_yt2 жыл бұрын
Thank you very much for explaining the materials. I have a question, Could you please explain how to assign an image to image texture inside materials?
@MartynasMontrimas2 жыл бұрын
You are an excellent instructor. I will stick with you.
@toapyandfriends2 жыл бұрын
I'd like to be a Python Blender master and I'm currently taking this tutorial, can you recommend the next step after I get done with this tutorial, 'cause I was gonna work 1/2 hour a day from now on on Python And Blender so that in a year I'm a serious Blender Guru...😮yeah i said it!...🤠
@toapyandfriends2 жыл бұрын
If my goal is to make the king of all add ONS for Blender and make like a billion dollars... should I take your introduction to coding tutorial next?...
@marcoarena90664 жыл бұрын
This is GOLD! Thanks for this video mate
@pyhack2 жыл бұрын
Probably the best tutorial on KZbin...:)
@medusa2194 жыл бұрын
Unbelievable. Good and fast tutorial.
@3deoskill3 жыл бұрын
thanks I am a cinema 4d user and coder and espacially the part for addons helped me for Cinema ass well, thanks man
@mixchief3 жыл бұрын
@Curtis Holt 14:02 Is there a reason why you use double-quotation marks and single-quotation marks for the two string values, or will it be more appropriate to use same char for both values? And if so, is there a preference towards either double- or single-quotes. Which do you use?
@toapyandfriends2 жыл бұрын
I don't need the intro to coding video because I've already written my own programming library... A Common Lisp wrapper for open CV.😎..😀' this tutorial is so awesome ...materials textures modifiers Oh my!😀
@TobiaLaurentum3 жыл бұрын
This was absolutely fantastic!! I need more.....
@BlendingEdge Жыл бұрын
As you seem to be fairly knowledgeable of python scripting, I wonder if you could take a deeper/advance dive into the topic by explaining how the bpy integrates into blender app at a finer level and how to do certain things in the python scripts to avoid locking the UI, to avoid crashing the app etc (e.g. if you make some non thread-safe calls etc). I’m looking at creating a TCP communication between an external app and blender to be able to transfer hierarchy of data (e.g.transforms between parent/child nodes etc) and update the scene based on this data dynamically as it is being transferred, and I need to understand how to handle the receiving of the data as to 1. not freeze the UI .. and 2. to update the scene as to not crash the app. This most likely entails using separate threads etc and perhaps tap into blender bpy mechanism to trigger updates of the scene / viewport in a thread safe manner etc.
@chirayu82104 жыл бұрын
we need more tutorials like this
@dryleaf35524 жыл бұрын
thank you very much kind sire for this wonderful tutorial if you are planning to make more and if possible it would be great to make a tutorial on how to create textures from scratch using python and manipulate them to create animating textures maybe something like a flocking simulation
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@samdavepollard4 жыл бұрын
Excellent. Better even than the Blender Cloud course. Just saying. Many Thanks for sharing your knowledge. Easy sub.
@mertakbal36853 жыл бұрын
very clear and structured tutorial! thank you!
@jmfs34972 жыл бұрын
Anyone else having problems getting the "My Operator" pop-up Add-On to appear in the viewport? Not sure if it is me or if Blender changed something that messes it up now. I can see it in the F3 search function, but when I run the script and click "My Operator" in search no pop-up shows up.
@ofeyofey2 жыл бұрын
Great tutorial, thanks. Can you show how to activate a specific edge and bevel it in Python? Not just an object but part of that object.
@superwalnuts28554 жыл бұрын
dammit. I have absolutely no excuse now to avoid this, you've laid it all out so perfectly. Let's do this! **puts on nintendo power glove**
@patrickpope46552 жыл бұрын
Excellent primer. Thanks Curtis.
@asmodeus8202 жыл бұрын
Amazing tutorial/Crash course, thanks so much!!!
@spencerlinkous77144 жыл бұрын
Very helpful, just followed all the way through! : ) One thing I've wondered though, is some addons have an update button, that updates the addon to the current version through internet. how would I do something like that?
@jochem_m4 жыл бұрын
I personally have no idea, but I know how I'd figure it out. With blender addons, all of the code is available in plain text. If you're wondering how to do something, you can just crack open an addon that does what you want and take a look at the code. In very general terms, you'll need to have a text file on a website somewhere with the latest version number. Your addon would then be able to use python's built-in modules to fetch that file whenever someone opens the addon settings console (or clicks a check-for-updates button), and compare it to it's own version number. If the file's version is higher, then the module would download the update and overwrite itself with the new version.
@arthatamayusuf88484 жыл бұрын
if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ
@curtcool56724 жыл бұрын
Thanks for this Curtis, but cannot get past line 6, get error , I am missing exactly what you say for locations x,y,z,
@RenderRides4 жыл бұрын
44:34 ah yes, the classic *blender tutorial making* experience
@jegadeesankarthikeyan75174 жыл бұрын
Are you the one who made the wndmill thing ?
@RenderRides4 жыл бұрын
@@jegadeesankarthikeyan7517 Yeah :P
@JacobKinsley4 жыл бұрын
@@jegadeesankarthikeyan7517 no he's the one that made the water turbine thing
@VandreBorba4 жыл бұрын
The "Creating the Operator" did not work for me... When I press F3, the operator not show in the list... :/
@CurtisHolt4 жыл бұрын
Annoyingly, they changed the way the search function works in Blender now. All operators now need to be attached to a menu somewhere in the interface to be visible in the search bar. However, if you go into Edit - Preferences, then in the Interface section tick 'Developer Extras', then it should appear in the search function.