A quick and dirty script shelf for Blender.
This add-on may run any Python script within a given folder without any checks. Use at your own risk.
Please thoroughly analyze any script before adding it to your directory.
- Install the add-on.
- Open the 3D view side panel.
- Click
Add Shelf
. - Navigate to a directory containing Python scripts.
- Run your shelf made scripts in any file!
- Rename & re-order your shelves & scripts, set icons for them.
- Set column counts & button sizes of your shelves.
- Choose which shelf is visible in which editor.
- Run any other text datablock (ending in
.py
) from the Local Scripts panel. - Edit your scripts directly in the Blender text editor.
- Save any text directly to one of your shelves from the text editor.
- Run adjusted local copies from the Local Scripts panel.
- Save edited scripts back to their source.
Module | Description |
---|---|
__init__.py |
Add-on initialization |
catalogue.py |
Decorator & class for handling automated bpy class registration |
draw.py |
All draw functions for panels |
ops.py |
Multitude of operators to set up, organize and customize shelves and scripts |
panels.py |
Panel classes: Local Shelves, as well as base Shelves and their space-based children |
preferences.py |
Add-on root class holding settings and shelf objects |
shelf.py |
Shelf & Script class definitions |
utils.py |
Additional utilities, mostly UI goodies |