Python Crash Course for Blender!

Go from zero to hero with Python in Blender.
Grab the blend file: gumroad.com/l/python_crash_co...
Download my theme: gumroad.com/l/curts_theme
Intro to Coding: • Introduction to Coding
Visit the Sketchfab store: sketchfab.com/store
Sign up to the Patreon: curtisholt.online/patreon
Podcast Channel: / @curtsstudio
Visit my website: curtisholt.online/
USEFUL LINKS:
==========
Modifier Documentation: docs.blender.org/api/current/...
Texture Documentation: docs.blender.org/api/current/...
CHAPTERS:
==========
00:00 - Intro
00:45 - Setup
03:25 - Modules
06:21 - Creating a Cube
07:41 - Accessing Objects
08:18 - Moving an Object
09:19 - Rotating an Object
12:57 - Adding Modifiers
16:55 - Smoothing a Mesh
20:18 - Creating Textures
22:57 - Creating Materials
31:54 - Python Templates
32:22 - Creating the Operator
38:26 - Creating Properties
43:35 - Sponsorship
44:12 - Outro
Social / Discord and Store Links:
curtisholt.online/links
#blender #tutorial #python

Пікірлер: 386

  • @CurtisHolt
    @CurtisHolt3 жыл бұрын

    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.

  • @RETRACFPS

    @RETRACFPS

    3 жыл бұрын

    I got stuck on this a while back, and couldn't figure it out, thank you for this!

  • @sythys_

    @sythys_

    3 жыл бұрын

    You should edit this into the video.

  • @GrzegorzWronkowski

    @GrzegorzWronkowski

    3 жыл бұрын

    @@sythys_ There is no option to edit once uploaded video to KZread.

  • @jamesfield8023

    @jamesfield8023

    3 жыл бұрын

    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?

  • @CrazyMurdock77

    @CrazyMurdock77

    3 жыл бұрын

    @@jamesfield8023 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.

  • @BlueyMcPhluey
    @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-ws4py

    @astroid-ws4py

    Жыл бұрын

    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

    @jakebailey6285

    Жыл бұрын

    @@astroid-ws4py Thank you.

  • @neoncyber2001

    @neoncyber2001

    4 ай бұрын

    There is also a DSL for raytraced geometry images and animation called POVray.. its ancient but can be a lot of fun.

  • @s90210h
    @s90210h3 жыл бұрын

    there aren't that many videos on this topic and this the best I've seen yet. Please dig deeper into this!

  • @alexunderstands

    @alexunderstands

    3 жыл бұрын

    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 :)

  • @LeslieSolorzanov

    @LeslieSolorzanov

    3 жыл бұрын

    Just in case the official Blender Cloud has a course on this topic and some videos are free in youtube. kzread.info/dash/bejne/mpqNyaWwc8Kamag.html

  • @adrimathlener8008
    @adrimathlener80083 жыл бұрын

    I read your warning 'This video contains code' and still went ahead

  • @JousefM

    @JousefM

    3 жыл бұрын

    Adri Mathlener I also like to live dangerously

  • @lucian6172

    @lucian6172

    3 жыл бұрын

    @@JousefM LOL. Like Austin Powers ?

  • @unstableanimates8070
    @unstableanimates80703 жыл бұрын

    Lord give me strength so i can finish this tutorial and remember it all forever

  • @TheStarMineLP

    @TheStarMineLP

    3 жыл бұрын

    Me, a day after a Codacademy 5 hour tkinter crash course on 1,5 playback speed: "Lovely 45 minutes"

  • @MahendranDhandapani
    @MahendranDhandapani3 жыл бұрын

    I'm a programmer. Best video for both non-programmers and programmers. Very clean and crisp.

  • @IanHubert2
    @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!

  • @captainmemez3219

    @captainmemez3219

    3 жыл бұрын

    hey man

  • @A.Shek_

    @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!

  • @Aleczanderm

    @Aleczanderm

    3 жыл бұрын

    Red should be fine, you should still be able to use the class.

  • @dhaloh

    @dhaloh

    3 жыл бұрын

    yo what it's the legend himself!

  • @NickTriccc

    @NickTriccc

    3 жыл бұрын

    I was lead here by your Patreon! appreciate it!

  • @vivekpetrolhead
    @vivekpetrolhead3 жыл бұрын

    Explained in a way that people with no python background can understand. Great work.

  • @MicMan2710
    @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

  • @CreativeSteve69
    @CreativeSteve693 жыл бұрын

    Finally a coding tutorial. Always wanted to learn to code thans Curtis. I'll defently follow along with it. :D

  • @iulianlus2947
    @iulianlus29473 жыл бұрын

    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 :)

  • @piotrr5439

    @piotrr5439

    3 жыл бұрын

    right, this is so basic....

  • @myztazynizta

    @myztazynizta

    3 жыл бұрын

    what blendernest visually learned math video?

  • @iulianlus2947

    @iulianlus2947

    3 жыл бұрын

    kzread.info/dash/bejne/nX5r07iehcWwXdo.html it's more of a discussion

  • @SmellyNutz

    @SmellyNutz

    3 жыл бұрын

    Actually, the Scripting for Artists on KZread 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.

  • @Amipotsophspond

    @Amipotsophspond

    3 жыл бұрын

    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!

  • @ScrawnyMcMassive
    @ScrawnyMcMassive3 жыл бұрын

    "Def execute self. Return FINISHED", this code is metal as fuck. Curtis mathcore album title leaked?

  • @sc0820
    @sc08203 жыл бұрын

    For me as an advanced python programmer, the content and speed is really nice.

  • @RealGaryGibson
    @RealGaryGibson2 жыл бұрын

    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!

  • @activemotionpictures
    @activemotionpictures3 жыл бұрын

    Magnificent, Curtis! The Intro and the complete video cleared up a lot of questions I had about coding. Thanks!

  • @adamaleksander5226
    @adamaleksander52263 жыл бұрын

    This is one of the best Python for Blender tutorials on the web. Please make more intermediate to advanced tutorials like that. Thank you.

  • @ShamsAzeem
    @ShamsAzeem Жыл бұрын

    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!

  • @RobertoHenriquezPerozo
    @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

  • @criddycriddy
    @criddycriddy3 жыл бұрын

    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

  • @Newmediasupply
    @Newmediasupply3 жыл бұрын

    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.

  • @worldkeyvideo9080
    @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!

  • @ShirazHazrat
    @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!

  • @lyricus1045
    @lyricus10453 жыл бұрын

    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!

  • @osmaner4609
    @osmaner46093 жыл бұрын

    I had been searching for this for a long time and finally got it. Thank you so much for preparing such a workshop video 🙏👏👏👏

  • @rishwanthmyanapuri1301
    @rishwanthmyanapuri13013 жыл бұрын

    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❤️

  • @alabrrmrbmmr
    @alabrrmrbmmr3 жыл бұрын

    I have to just reiterate what other have said already: this is a well described and comprehensive tutorial. Great work! Thank you.

  • @fabriziolorito
    @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

  • @rfpcs1
    @rfpcs13 жыл бұрын

    This tutorial explained everything other leave out, easy to follow and a lot of great information on Blender Python scripts.

  • @peterlantz7966
    @peterlantz79662 жыл бұрын

    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!

  • @danielernst6816
    @danielernst68163 жыл бұрын

    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!

  • @davidmurphy563
    @davidmurphy5637 ай бұрын

    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.

  • @marcazazgour6344
    @marcazazgour6344 Жыл бұрын

    Fantastic tutorial, pace is perfect, just what I needed. Thank you!

  • @EdwinDevey
    @EdwinDevey3 жыл бұрын

    Superb tutorial. Beautifully and comprehensively explained and demonstrated. You must be up for tutor of the decade. Thank you.

  • @MarkBTomlinson
    @MarkBTomlinson2 жыл бұрын

    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!

  • @mixchief
    @mixchief3 жыл бұрын

    Absolutely excellent introduction, Curtis!!

  • @m.agatha170
    @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.

  • @toapyandfriends
    @toapyandfriends2 жыл бұрын

    Thanks for the theme you really dialed in the dark color of the floor ...awesome... been trying to figure that one out

  • @patrickpope4655
    @patrickpope46552 жыл бұрын

    Excellent primer. Thanks Curtis.

  • @speedzification
    @speedzification3 жыл бұрын

    clear, to the point and well explained! Keep up the excellent work! very informative

  • @Omgtired
    @Omgtired2 жыл бұрын

    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!

  • @abhijanwasti7991
    @abhijanwasti79913 жыл бұрын

    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?

  • @CurtisHolt

    @CurtisHolt

    3 жыл бұрын

    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

  • @ComixProductions
    @ComixProductions Жыл бұрын

    Genuinely amazing and underrated tutorial, I've learnt so much!

  • @discreet_boson
    @discreet_boson3 жыл бұрын

    Exactly what I wanted, thank you

  • @SD_simma
    @SD_simma2 жыл бұрын

    CURTIS.........AWESOME JOB! This subject about Python in Blender is so NEGLECTED!

  • @mertakbal3685
    @mertakbal36853 жыл бұрын

    very clear and structured tutorial! thank you!

  • @Retrofresh
    @Retrofresh Жыл бұрын

    i have no idea why, but hearing your voice just makes feel soothed.

  • @aikidoshi007
    @aikidoshi0073 жыл бұрын

    Brilliant! thanks Curtis!

  • @sonu-jangir
    @sonu-jangir6 ай бұрын

    This tutorial is absolutely amazing for beginners.🎉🎉🎉 Thank you so much for this video... ❤❤❤

  • @roygatz1037
    @roygatz10373 жыл бұрын

    You sir deserves a medal of honor from the blender community

  • @TreyCoursey
    @TreyCoursey3 жыл бұрын

    Great video Curtis, thanks for sharing!

  • @SujayAmberkar
    @SujayAmberkar3 жыл бұрын

    Always wanted to know how you make those generative add-ons. Thank you so much for such an amazing video.

  • @HarryMcKenzieTV
    @HarryMcKenzieTV2 жыл бұрын

    im a software developer and wow awesome, this gives alot of insight and is an eye opener with what is possible in blender.

  • @moonstonewarlock
    @moonstonewarlock2 жыл бұрын

    Great tutorial to start programming Python in Blender! Thank you!

  • @davidcaro
    @davidcaro3 жыл бұрын

    Check! This one is pure gold thanks! Start right now on my add-on!

  • @sugarsores6521
    @sugarsores65212 жыл бұрын

    Absolutely wonderful tutorial! Thank you brotha

  • @marcoarena9066
    @marcoarena90663 жыл бұрын

    This is GOLD! Thanks for this video mate

  • @TobiaLaurentum
    @TobiaLaurentum3 жыл бұрын

    This was absolutely fantastic!! I need more.....

  • @wexoriann
    @wexoriann3 жыл бұрын

    Fantastic going to Dig in to the video when i'l get to home , keep it up :)

  • @bunderlemu7802
    @bunderlemu78022 жыл бұрын

    Thanks. I am so going to have fun with this!

  • @yourfriendlygamedev
    @yourfriendlygamedev2 жыл бұрын

    I'm much more of an artist than a coder, but you made this super simple. Thanks so much!

  • @mdtapilatu
    @mdtapilatu3 жыл бұрын

    This is pure DIAMOND!! THANK YOU SIR

  • @rfpcs1
    @rfpcs13 жыл бұрын

    I wish you would of had this when I started trying to figure BPY

  • @nonam3party
    @nonam3party Жыл бұрын

    This was a great intro. Thank you!

  • @truthofeverything
    @truthofeverything Жыл бұрын

    Terrific ! Thank you for such a clear totally working tutorial !!

  • @gorudonu
    @gorudonu3 жыл бұрын

    I'm quite new to blender but full time coder, this is the best video for scripting with blender. Helped me greatly, thanks !

  • @CurtisHolt

    @CurtisHolt

    3 жыл бұрын

    That's really great to hear!

  • @sannasedna8320
    @sannasedna83203 жыл бұрын

    Thank you for this great introduction! Easy to follow, clear and well paced. I really appreciated it.

  • @CurtisHolt

    @CurtisHolt

    3 жыл бұрын

    Glad it was helpful!

  • @Drsuds
    @Drsuds7 ай бұрын

    great introduction. Thanks!

  • @MartynasMontrimas
    @MartynasMontrimas Жыл бұрын

    You are an excellent instructor. I will stick with you.

  • @AlexGonzalez-bi6mv
    @AlexGonzalez-bi6mv3 жыл бұрын

    Thank Curtis! Very cool!

  • @BooneyTune
    @BooneyTune5 ай бұрын

    such a great video. Thanks for uploading this.

  • @asmodeus820
    @asmodeus8202 жыл бұрын

    Amazing tutorial/Crash course, thanks so much!!!

  • @aaronsteers
    @aaronsteers3 жыл бұрын

    So cool! Thanks for making this!

  • @johntyler-ev9xc
    @johntyler-ev9xc Жыл бұрын

    Hey, thanks so much for your content, it’s so helpful and inspiring.

  • @Erindale
    @Erindale3 жыл бұрын

    Thank you so much for this! I've been meaning to learn Python for years

  • @arthatamayusuf8848

    @arthatamayusuf8848

    3 жыл бұрын

    if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ

  • @medusa219
    @medusa2193 жыл бұрын

    Unbelievable. Good and fast tutorial.

  • @jwilliams8210
    @jwilliams82102 жыл бұрын

    That was a fantastically well-done video!

  • @phycogsmithomniscience309
    @phycogsmithomniscience3092 жыл бұрын

    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

  • @AviationMaster
    @AviationMaster Жыл бұрын

    Great tutorial, thanks for sharing

  • @k3zenix
    @k3zenix2 жыл бұрын

    you are amazing! perfect teacher! thank you!

  • @pyhack
    @pyhack2 жыл бұрын

    Probably the best tutorial on KZread...:)

  • @tumdil3138
    @tumdil3138 Жыл бұрын

    Amazing explanation thank you very much!

  • @melvin3509
    @melvin35093 жыл бұрын

    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

  • @arthatamayusuf8848

    @arthatamayusuf8848

    3 жыл бұрын

    if you want to try to understand blender python. www.amazon.com/Learning-Blender-Python-Beginners-Understanding-ebook/dp/B07SL5VDCJ

  • @eternalguy6023
    @eternalguy60233 жыл бұрын

    Wow😵 Thanks for such a beautiful tutorial

  • @notpumkin
    @notpumkin3 жыл бұрын

    Excellent video, and excellent timing as I've been just been thinking of writing a simple addon the other day!

  • @fakecubed

    @fakecubed

    3 жыл бұрын

    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.

  • @notpumkin

    @notpumkin

    3 жыл бұрын

    @@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.

  • @3deoskill
    @3deoskill2 жыл бұрын

    thanks I am a cinema 4d user and coder and espacially the part for addons helped me for Cinema ass well, thanks man

  • @clausbohm9807
    @clausbohm9807 Жыл бұрын

    Again taking on a herculean task ...amazing!

  • @eyloa6386
    @eyloa6386 Жыл бұрын

    Wow! Thank you for this video! I'm very new going on with python. I got a very good feeling for codings now, thank you! :))))

  • @sobreaver
    @sobreaver2 жыл бұрын

    A good pro crash course, tks !!

  • @vilhelmlarsen9565
    @vilhelmlarsen95653 жыл бұрын

    really good. thanks

  • @TheSlimbridge
    @TheSlimbridge3 жыл бұрын

    Very helpful. I may now give this a go.

  • @h4Q6e
    @h4Q6e3 жыл бұрын

    excellent tutorial, super clear!

  • @scottlee38
    @scottlee383 жыл бұрын

    I use python in Blender to build personal addons. So This'll be interesting

  • @manimaranm4563
    @manimaranm4563 Жыл бұрын

    This was one of the BEST tutorials on Blender for python, I think Blender notebook for jupyter addon would be added advantage as well

  • @RenderRides
    @RenderRides3 жыл бұрын

    44:34 ah yes, the classic *blender tutorial making* experience

  • @jegadeesankarthikeyan7517

    @jegadeesankarthikeyan7517

    3 жыл бұрын

    Are you the one who made the wndmill thing ?

  • @RenderRides

    @RenderRides

    3 жыл бұрын

    @@jegadeesankarthikeyan7517 Yeah :P

  • @JacobKinsley

    @JacobKinsley

    3 жыл бұрын

    @@jegadeesankarthikeyan7517 no he's the one that made the water turbine thing

  • @xdanic3
    @xdanic33 жыл бұрын

    36:23 Even if it's not important I like the fact that you explain a line like that one

  • @henrides565
    @henrides5653 жыл бұрын

    Thanks Curtis, really usefull tutorial !

  • @jimdelsol1941
    @jimdelsol19413 жыл бұрын

    Nice video ! Thanks !

  • @gabriel_14179
    @gabriel_141792 жыл бұрын

    This is really useful, Thanks!!. next step Buttons!!

  • @Alex-op2kc
    @Alex-op2kc2 жыл бұрын

    Curtis thank you.

  • @moharmon770
    @moharmon770 Жыл бұрын

    Great stuff, thanks!