13 April, 2020

Blender Add-on: The Text Tool [Version 1.03]



In this video, I wanted to share with you the update for the Text Tool Add-on (v 1.03). You can download the updated Script here.

In this new version we have two new additions, The Radial Curve Tool and the Radial Border Tool. 


Radial Curve Tool

Just enter your text and the Radial Curve Tool will do all the work for you!.  You can set the Text Position to be wrapped around the top or the bottom.




By default the Bezier Curve is a Circle, though if you want you can enter edit mode and change the shape of your curve to fit your needs.













Radial Border Tool

The Radial Border Tool, will create a border based on the Selected Preset Style or you can Enter your own letter or character and create a Custom Radial Border.


These Features are not perfect and I have some Ideas already on how I want to improve it. That being said, I think it's a nice and quick way to add curved text or radial borders. If you have any suggestions be sure to let us know in the comments!.

I hope you find this update helpful!. As always, thanks for reading..

06 April, 2020

Blender Python Tutorial: Updated Registration Method - bpy





In this video, we will be taking a look at the updated Registration Method for our script(s) and add-ons. 

The updated or new way to register classes is much more convenient than it was before. 









 The "Old Way"

In order to register any new classes we have to copy and paste "bpy.utils.register_class()".

Then paste (or type) the name of our new Class. We then had to copy/paste it again for the Unregister.
 


 The "New Way"

We no longer have to copy and paste a whole bunch of stuff. 

When adding any new classes, we just simply add the class name,
in to the "classes" list (make sure you separate each class with a comma).
As far as I am aware, it has no bearing on performance. Meaning, you can still use the old way to register your classes and they will still work. This "new way", is far better for our workflow (especially when you are creating lots of Operators, Panels and so on).

You can modify your old scripts (as we did in the video). If you would like to use the template script and follow along, you can find the script here.

I thought it would also be helpful to upload just the new registration snippet. You can download the template snippet here and just past it into your new Scripts. Remember to add the names of your Classes to the "Classes" Variable.

I hope you find this video helpful and as always thanks for reading!..