Загрузка...

Blender Python Tutorial: The REDO Operator [learn python for beginners]

In this Blender Python Tutorial, we will be taking a look at how we can add the Redo Function to our add-ons.. *Spoiler Alert* - It's super easy!.. Looking to learn Python for beginners? You are in the right place. Be sure to check out the Scripting Playlist!.

The Redo Operator Panel is a fantastic little addition to any add-on, it gives the user more control of the Operator (after Execution). For this example I will be using a Template Panel and Operator. You can find the Template script in our blog here: https://darkfallblender.blogspot.com/2021/03/blender-python-tutorial-redo-operator.html

I add a cube and change the location (though this could be any function or action you want). Then by adding some BL info in the operator we can add our Redo Panel. Once we have it working we can then make it look better by turning the Operator into a Pop-up Dialog Box (which is something we covered in a previous video). We can also make it look pretty by defining the draw method (again something we covered in a previous video) Be sure to check out the scripting playlist.

I hope you find this Blender Python Tutorial helpful and I hope you guys are enjoying the series so far!. As always, thanks for watching!..

Видео Blender Python Tutorial: The REDO Operator [learn python for beginners] канала Darkfall
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки