Tip: Converting a Script into an Add-on

In this Blender 2.5 video tutorial, we will convert one of our earlier python scripts (Adding Mesh Primitives from the Toolshelf) into an add-on. We will create a version for both the latest SVN revisions and the latest official blender build from blender.org.

What is covered in this tutorial:
- Converting a simple script into an add-on.
- The API changes and the differences between add-ons for the different blender builds.

Leave Comment

Discussion

16 Responses to “Tip: Converting a Script into an Add-on”
  1. Posts: 5
    Michaƫl Maex says:

    cool

  2. Posts: 83
    Ben Amend says:

    Cool!

    Oh, why do you keep changing the layout of the comments? I thought the one you had going for several months was the best…

    • Posts: 83
      Ben Amend says:

      Oh, and please create more of these scripting tutorials :) I’ve been looking for ages for tutorials like this, but they’ve never worked out in the end, or I don’t understand them. This has really helped, along with your tutorial for the script that we’re converting to an addon here, so keep ‘em coming!

      • Posts: 225

        Hey Ben,

        Glad you like the scripting tutorials; we definitely have more planned for the future! :) Also, I don’t know if you’ve seen it already, but the “Creating an FK/IK Rig” tutorial also has a Python potion it it, focusing more on custom values and Armature data.

        -Patrick

    • Posts: 2
      Lee says:

      +1 on the comment issue… Help us :)

  3. Posts: 8
    adam says:

    Quick, thorough, easy, and useful.
    I’m a huge fan of your tutorials, and love to see Blenders increasingly vast potential.
    I’m curious to know if you have any tutorials on Unity3d as well, I’m not as proficient with the languages they offer, but would like to create games using Unitys more user-friendly interface.

    • Posts: 225

      Hey Adam,

      Glad to hear you’re liking my tutorials so far – it means a lot! =) As for Unity tutorials: All we have up currently is exporting an object into the engine. You might want to keep an eye out for the future though! ;)

      -Patrick

  4. Posts: 66
    Moolah says:

    Patrick, this is a really great tutorial for all who wants to start with Python!
    Will you make more tuts on this? I saw some tuts on Python in Internet but I can’t remember where that was…
    So I’m on a halfway – I need more specific tools but I’m lazy (and don’t want to spend a lot of time to search all novice lessons for climbing on Python). It would be nice if you’ll show people how to easily use API docs, some easy lessons on simple maths, loops and functions, the common syntax and etc. I think that it will be interesting even for those people who see OOPL their first time because if they seats on BlenderCookie then they possibly will be interested about all things linked with Blender…

    • Posts: 225

      Hey Moolah,

      Cool to see you’re taking an interest in (Blender-)Python! We currently have a few tutorials up on scripting, with more to come in the future. I’d suggest starting out with the ‘Creating a Mesh Primitives Panel’ tutorial.

      -Patrick

      • Posts: 66
        Moolah says:

        That’s cool – I’ll be waiting for it! :) Thanks for your advice and I’ll try this soon.

  5. Posts: 8

    This is the perfect tutorial coming at just the right time for me. Thank you very much!

  6. Posts: 35
    iklsr says:

    Patrick. you are my hero. thank you!

  7. Posts: 1
    seo says:

    Howdy would you mind sharing which blog platform you’re working with? I’m going to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something completely unique. P.S My apologies for being off-topic but I had to ask!

  8. Posts: 1
    Bert Glogowski says:

    Notable article. Remember to keep up the very really good work.

  9. Posts: 1
    burberry wallets men says:

    LINK ONNNN!!!!!!

Leave a Comment

You must be logged in to post a comment.