Introducing: EasyBPY! (Easy Python for Blender)

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • Introducing EasyBPY - a new, easier way to use Python in Blender.
    Grab it here: gumroad.com/l/easybpy
    Or on GitHub: github.com/curtisjamesholt/Ea...
    Sign up to the Patreon: curtisholt.online/patreon
    Podcast Channel: / @curtsstudio
    Visit my website: curtisholt.online/
    CHAPTERS:
    ==========
    00:00 - Intro
    00:50 - EasyBPY
    01:58 - Installation
    02:40 - How to Use
    03:22 - Example Select Objects
    04:20 - Example Collection, Copy Object
    04:51 - Example Create, Get Materials
    05:49 - Example Transformations
    07:25 - Example Shading, Visibility
    07:47 - Example Get Mesh Data
    08:34 - Example Selection
    08:46 - Example Link, Duplicate Collection
    09:59 - Example Primitives, Modifiers
    10:13 - Evolving Project, Design Philosophy
    11:46 - Outro
    Social / Discord and Store Links:
    curtisholt.online/links
    Music:
    I'd Rather Sleep by Smartface:
    www.epidemicsound.com/track/W...
    Astral Roar by Lama House:
    www.epidemicsound.com/track/0...
    #b3d #easybpy #python

Komentáře • 105

  • @CGMatter
    @CGMatter Před 3 lety +69

    YES!

  • @carbonx95.08
    @carbonx95.08 Před 3 lety +110

    I love that the presentation is done in blender.

    • @mb345
      @mb345 Před 3 lety +4

      Me too. I think working through content in a 3D space like Blender is a great way to deliver information. Are there tutorials on how to setup Blender as a presentation tool?

    • @carbonx95.08
      @carbonx95.08 Před 3 lety +5

      @@mb345 no, but it isn't hard. Just wrote the text you want with images of you like and animate the camera. You can put constant keyframes and use the arrow up and down to jump to them. A transition would be difficult though

  • @notpumkin
    @notpumkin Před 3 lety +22

    This is a great idea and I'm surprised noone has done this up until now

  • @vijaysridhara
    @vijaysridhara Před 3 lety +25

    I wish this is taken up into Blender Core libraries, as a abstract layer. It has huge potential

  • @ZouUuu
    @ZouUuu Před 3 lety +8

    "Instead of reprimanding you for not being precise with your coding, it considers the context of the arguments" I wish all languages had this way of thinking. thanks for your valuable work

  • @hugoantunesartwithblender
    @hugoantunesartwithblender Před 3 lety +11

    Uau. This can even lead people to also learn the real code when they learn how it works

  • @JustSomeRandomIdiot
    @JustSomeRandomIdiot Před 3 lety +9

    I really hope the Blender devs would consider adding an abstraction layer like this into Blender itself. UX should extend to all things, even APIs.

  • @JaredOwen
    @JaredOwen Před 3 lety +6

    This was great food for thought Curtis. Thanks for the video

  • @BeheadedKamikaze
    @BeheadedKamikaze Před 3 lety +4

    What a wonderful idea! Blender's API should have been like this already. Great job Curtis!

  • @MichaelBridges3D
    @MichaelBridges3D Před 3 lety +9

    This is dope, nice one! Anything to get more people into the power of Blender's Python is great!

  • @cgcube7342
    @cgcube7342 Před 3 lety +1

    I was waiting to learn bpy, which I thought was very hard...
    But, after this video, I am about to start making add-ons!!!
    Thank you so much Curtis!!! Really appreciate your talent!
    Amazing!!!👏👏👏👏👏👏👏👏👏

  • @woodlandcritterpunch
    @woodlandcritterpunch Před 3 lety +4

    Coming from someone who's main software is Houdini, where you can use small snippets of code to automate tasks that are very specific to a given project, I think you've got something here that goes beyond just aiding in add-on development. Can't wait to try this out.

  • @kerynadcock2226
    @kerynadcock2226 Před 3 lety +1

    Thank you Curtis, such a great help to do this - your efforts are much appreciated!

  • @mangomastani9847
    @mangomastani9847 Před 3 lety +5

    I really wanted to get into Blender's python API. I believe this will help me a lot. Thanks!

  • @gradysain
    @gradysain Před 3 lety +1

    Curtis you are doing awesome work, please keep it up!

  • @mikethe1wheelnut
    @mikethe1wheelnut Před 3 lety +1

    Fascinating. I'm currently digging deeper into blender/python.. when the time comes, I'll check this out and see where things go..

  • @Just3DThings
    @Just3DThings Před 3 lety +1

    This is really a great idea! Looking forward to see what people can come up with this module 👌😃

  • @sotomonte_
    @sotomonte_ Před 3 lety

    Such a cool project! I really want to see how far it will be in say a year from now. Keep up the cool work!

  • @FatalExit
    @FatalExit Před 3 lety

    This is really cool! Was trying to find a way to apply my relatively basic knowledge of python to blender, but was struggling a bit with the original API. Hope this tool keeps being developed long term!

  • @junglykrinsky4032
    @junglykrinsky4032 Před 3 lety

    Sounds fantastic, I've been trying to animate agent based models recently and this is exactly what was slowing me down in blender

  • @Rex_793
    @Rex_793 Před 2 lety

    This is SO good - I'm using this in my school project, and I'm definitely crediting you.

  • @ashasekayi
    @ashasekayi Před 3 lety +1

    This is a great project! Thanks for making it.

  • @MrRainbowCalendar
    @MrRainbowCalendar Před 2 lety +1

    Chris! Well done! Thanks lot!!!

  • @rabatindominik
    @rabatindominik Před 3 lety +2

    Perfect ! Love it ! I'm an artist making my life easier with some scripting, and this is perfect for me! I hope it will help me make some useful buttons here and there, because that's where I'm lost. Thank you, continue great work! 😍

  • @MrSeinfeldFan2
    @MrSeinfeldFan2 Před 3 lety +1

    LOVED IT!.. right down my alley. Thanks

  • @etdle7
    @etdle7 Před 3 lety +1

    Awesome! Now the task creating addons Will be easier! TY

  • @regeleionescu935
    @regeleionescu935 Před 3 lety +1

    Wow - that is great, congratulations!

  • @soyunbonus
    @soyunbonus Před 2 lety

    Love it. Blender needs more of this!

  • @ZsoltSulyok
    @ZsoltSulyok Před 3 lety +1

    OSOM! Thy... Would be nice to have more coding tutorials like this!

  • @TerenceKearns
    @TerenceKearns Před 3 lety +1

    This is great stuff. You are a pretty special dude. very generous of you.

  • @colourkidsplay
    @colourkidsplay Před rokem

    wow Bro thanks a lot for giving us this module I really appriciate. You are becoming the GOD of new commers in python

  • @ArturoJReal
    @ArturoJReal Před 3 lety +1

    Can't wait to tinker with this. What a great tool

  • @0-1234
    @0-1234 Před 3 lety

    Great job! congrats!

  • @jameskelmenson1927
    @jameskelmenson1927 Před 3 lety +1

    Thank you very much, gonna test it out today

  • @samdavepollard
    @samdavepollard Před 3 lety +2

    outstanding
    well done

  • @doctari1061
    @doctari1061 Před 2 lety

    Well done. I think it's a great idea to help introduce Blender users to the world of scripting. For many, it can be daunting if the have absolutely no idea how to program. I might suggest in your next video you add a couple of example of "why" someone might wish to develop a script (for those starting into scripting). Then wind it up by showing them an example of a cool add-on they have probably seen and inform them that these types of add-ons are what they can work their way up to developing, if they decide to go to that level. But this is a great idea to add another layer of abstraction for beginners. Keep going. Cheers.

  • @JimmyGunawanX
    @JimmyGunawanX Před 3 lety +1

    Great 😌 I think having this to work with Command Recorder or Script to Button will be pretty awesome.

  • @dmitrii133
    @dmitrii133 Před 3 lety +1

    Really easy! Thanks!

  • @ShadyRonin
    @ShadyRonin Před 3 lety +1

    Curtis, you're my hero.

  • @user-sf7zc3io9r
    @user-sf7zc3io9r Před 3 lety +1

    hahahhaha ,this is really good! you are right about "never need to that difficult". when i study blender python. I really miss maxscript.

  • @giovannyarce
    @giovannyarce Před 3 lety +1

    You are the best!! Thank you so much!

  • @092_deepak_kumar3
    @092_deepak_kumar3 Před 3 lety +1

    Now this is amazing

  • @MrSilentservice
    @MrSilentservice Před 3 lety +1

    Thank you so much! Marvelous! :) :)

  • @MalayalamTutorials
    @MalayalamTutorials Před 3 lety +1

    Wow! Just wow!!

  • @GaryParris
    @GaryParris Před 3 lety +1

    nice work Curtis :O)

  • @silverman1438
    @silverman1438 Před 3 lety +1

    Thank you, you'r the best 🙏🏻

  • @rmt3589
    @rmt3589 Před 2 lety

    Thanks so much! I'm still new to Python, and have barely touched Blender. This should help a lot!
    Especially since this is reminiscent of CSS (I'm fluent in HTML and CSS, not too useful for python, but I take what I can get)

  • @TheJobCompany
    @TheJobCompany Před 3 lety +9

    I really like the idea of a simpler Python API for Blender and I think this module does a very good job of simplifying Blender's rather complex python programing interface. It's just like what I, as someone who has never used anything but Blender, thinks that MEL Script feels like.
    It'd be pretty cool if, say, Blender 3.0 came with its own scripting language built in, alongside Python, that lets you easily interface with Blender using simple commands/function calls, like EasyBPY does.

    • @ewerybody
      @ewerybody Před 3 lety

      "its own scripting language"?!?! 🙈 That'd be atrocious!

  • @gudchoice
    @gudchoice Před 3 lety

    Lots of love from Uganda, thx

  • @toapyandfriends
    @toapyandfriends Před rokem +1

    This is so awesome where's your documentation on this so I could see all the commands

  • @gd7681
    @gd7681 Před 3 lety +1

    Wow thank you so much

  • @worldother2080
    @worldother2080 Před rokem

    Muchas gracias :D
    porfin me hace sentido esto.

  • @vazak11
    @vazak11 Před 3 lety +1

    Cool!

  • @exchangevisual6252
    @exchangevisual6252 Před 3 lety +1

    Man this is great. I'm not there yet, but I'm on my way.

  • @langley8418
    @langley8418 Před 3 lety +1

    Yesssss!

  • @gehriggosselin9468
    @gehriggosselin9468 Před 3 lety +3

    Ah man. My guy. This is brilliant. How can we further support this particular effort? I’ve had zero desire to learn python for Blender due to insane amount of time it takes to debug.. though this may get me past the threshold!

  • @therabidpancake1
    @therabidpancake1 Před rokem

    Thanks for this add on it sounds like it could be super useful . I was going to ask if you thought that it would work in the BGE or the Blender Game Engine but I guess ill find out .

  • @eternalguy6023
    @eternalguy6023 Před 3 lety +1

    Awesome

  • @TheJorged
    @TheJorged Před 3 lety +1

    Yes yes yes!

  • @JavierTranchino
    @JavierTranchino Před 5 měsíci

    muchas gracias por esto :D

  • @blackantmasterstudio5011
    @blackantmasterstudio5011 Před 3 lety +2

    is there a way to manipulate vertices, edges and faces ?

  • @brycesterproject
    @brycesterproject Před 3 lety +2

    Thanks for making the API easier to work with! I have one small suggestion / request.
    For your rotation function, could you add a third argument "degrees=True" to allow the user to easily work with either radians or degrees?
    I'd assume most people tend to think in degrees but radians are sometimes handy.

    • @CurtisHolt
      @CurtisHolt  Před 3 lety +3

      Yep, sure thing. I'll make a note of it :)

  • @ryandelfin4196
    @ryandelfin4196 Před 3 lety +1

    This is Genius..

  • @kordaling
    @kordaling Před 2 lety

    This is exactly what Blender API needs, great job!
    I can't find detailed documentation with example to look for, not so easy without docs :/

  • @noc2_art
    @noc2_art Před 2 lety

    Hey there Curtis. Thank you so much for this beyond-awesome addon. I looked for mesh data shapekey operations bu tcouldn't find anything relevant. Have I missed it altogether or is that going to be supported?

  • @MphoVukea
    @MphoVukea Před 11 měsíci

    I love this is very similar to scripting in maya

  • @AnthonyAragues
    @AnthonyAragues Před 3 lety

    I learned stuff just by reading through the code :) it's a good reference even when not using it. There are a few things I've had to figure out recently that would make nice utility functions and a few others that I need and havent figured out yet. want PRs ?

    • @CurtisHolt
      @CurtisHolt  Před 3 lety

      Hey, if you want to help contribute, then feel free to come over to our Discord server - we've got a special text channel just for the project. I will read and respond to every pull request, but I won't accept them up-front because I will add all the changes myself just to make sure everything is consistent.

  • @juleswombat5309
    @juleswombat5309 Před 2 lety

    Looking really cool. Is there a Github page for this, so that you can attract and get more support to develop further ?

  • @myztazynizta
    @myztazynizta Před 3 lety

    Need inspection functions. A single object can be in multiple collections or multiple scenes. For various reasons sometimes you can delete an object from the 3d viewport but it continues to exist somewhere in the "blender file data". It would be nice to have functions that help to make sense of such things.

    • @CurtisHolt
      @CurtisHolt  Před 3 lety

      Okay cool idea, I will make a note of that.

  • @adamaleksander5226
    @adamaleksander5226 Před 3 lety

    Where do I put it on Linux? Just install it like an addon from Preferences?

  • @RajishVijayanCIT
    @RajishVijayanCIT Před 3 lety

    Great stuff. You should really start adding licenses to things you make.

    • @ewerybody
      @ewerybody Před 3 lety

      this is GPL3 🙂 github.com/curtisjamesholt/EasyBPY/blob/master/easybpy.py#L19

  • @kordaling
    @kordaling Před 2 lety

    I'm still looking for this on your website, Is there any doc ? thanks.
    *just found it , that that's a wip

  • @kimmolaine665
    @kimmolaine665 Před 6 měsíci

    Very nice! Any thoughts how to utilize easybpy with VS Code? I'm trying to set my system so that that I can edit blender python script in VS Code where I have the IntelliSense. Everything is working fine when using vanilla blender python modules, but VS Code doesn't seem to recognize easybpy module and shows warning when I'm trying to import it. It works fine when I'm using it in blender text editor/Serpens.

  • @shredmancer
    @shredmancer Před 3 lety +1

    I'm currently coding an addon and got stuck on part of the UI development. Perhaps you might know much about that area or be willing to provide a bit of time? I only have a few questions which could help me get to the next step. Mainly regarding pie menus and assigning operators at the moment.

    • @shredmancer
      @shredmancer Před 3 lety

      Also has Easybpy made it's way into ui/menus/pie menus/operators etc or just the things you mentioned mainly, are they written all out in plain english as well in some giant text document we can reference as well? The Blender api is great about having a visual way to see what's what but it's terrible about explaining how to rephrase what's what to work within the context of whatever exactly it is you're working with. Or so I've found thus far.

  • @mrNIK030896
    @mrNIK030896 Před 3 lety

    I love this, but can't install it on mac. Did anyone manage to run it on mac? Please help

  • @MusicAMG
    @MusicAMG Před 3 lety

    I am in the beginning process of checking this out and noticed that maybe it would be really great if you could include the the Blender API version in the Info.txt file. The Addon itself is probably a game changer py for me. lol

  • @Plrang
    @Plrang Před 3 lety +1

    Something like jQuery for JS, that should be incorporated in the core package, otherwise it may be hard to keep up with that open source way of doing things. Still lovely

  • @chriisduran
    @chriisduran Před 3 lety +1

    yeah yeah, this is what i want, how use more python with Blender!

  • @PatriceFERLET
    @PatriceFERLET Před 3 lety

    My god... I did my own module to make that and I wanted to release a version... You beat me for 1 month.

  • @davidcaro
    @davidcaro Před 3 lety

    Nice, but can we have more examples or tutorials of this?

  • @cgcube7342
    @cgcube7342 Před 3 lety +1

    Where can we get the documentation?

    • @CurtisHolt
      @CurtisHolt  Před 3 lety +2

      If you open the _readme file that can be downloaded with the python file, there is a list of all the available functions.
      We are working on more thorough documentation for the future.

    • @ewerybody
      @ewerybody Před 3 lety

      @@CurtisHolt Python is self documenting! ☝😉

  • @toapyandfriends
    @toapyandfriends Před rokem +1

    But c*** I just figured that out maybe I'm intermediate because if I use your ad on and get used to it I can't read python code that I'm trying to dissect like add ons and stuff

  • @piotr803
    @piotr803 Před 3 lety +1

    So you turned Python into Ruby! 😂👌

  • @syam.k.yenubari
    @syam.k.yenubari Před 3 lety

    I always want to make an add-on for 3d camera tracking but don't know where to start . And literally no one made one (free or paid)

  • @xxXm0RpH3usXxx
    @xxXm0RpH3usXxx Před 3 lety +1

    I believe you should market this differently. "EasyBPY" sounds kind of "noobish". I think its true potential is rather akin to Photoshops' "Actions", where you automate repetitive tasks to save a little time. I do not think it is a good idea to suggest people its a good first step into programming for blender, however, as one will not learn how to search the internet for the various problems that will arise, once one wants to go a step further and program a feature you did not yet implement into EasyBPY. (Think: If one doesnt get familiar with easy stuff like selecting a mesh, how will one find out how to properly bool two meshes together?)
    But I totally agree that Blenders API is frustrating at times and wish you all the best with this! :)

  • @JackSparrow-vh8zz
    @JackSparrow-vh8zz Před 3 lety

    for mesh in get_all_meshes():
    add_subsurf(mesh)
    This snippet not working it says "mesh" object has no attribute "modifiers"
    Please help, give any example to apply any modifier to all meshes in the scene

    • @CurtisHolt
      @CurtisHolt  Před 3 lety +1

      You'd want to look for objects, not meshes, as meshes are just data blocks for geometry, not the actual object. But you might accidentally select object types that don't have geometry. We have a function for grabbing all objects with mesh data, use this:
      select_all_meshes()
      for o in so():
      add_subsurf(o)

    • @JackSparrow-vh8zz
      @JackSparrow-vh8zz Před 3 lety

      @@CurtisHolt thanks for clarifying my doubt 😊👍, I have experience in Maya python but new to blender

  • @andrewogolo7257
    @andrewogolo7257 Před 3 lety

    I think someone made a game with bpy right?

  • @jackienp
    @jackienp Před 3 lety +1

    It should be the new standard for computer language.

  • @damienwise1626
    @damienwise1626 Před 3 lety

    Basically Skript but more professional