UpdateRun: Debug & Programme

FAQ

The .zip doesn’t install in Blender

  • Please un-zip the archive and install the .py script.

How do I activate an addon?

VIDEO DOCUMENTATION

DOCUMENTATION

Location

Panel > Text Editor

Actions

Run
This runs the script just as in default Blender. However, if the Run button is red, it means Blender is using an outdated version of the script. Pressing Run will first ‘reload’ the script and then run the new version.

If the script is only local (saved in Blender and not referencing a file saved on the disk) this button will operate the same as in default Blender

Settings
Inside the ‘cog wheel’ icon to the right of the Run button

Clear Terminal
When true, the system terminal linked to Blender will be cleared every time the script runs

Print Name
When true, the name of the script being ran will be displayed on the system terminal linked to Blender

Print Time
When true, the time the script was ran will be displayed on the system terminal linked to Blender in an ‘hh:mm:ss’ format

Print Finished
When true, the system terminal will display when the script has finished its operation

Update Run Plus, Benchmark

Start Benchmark
This starts the process of benchmarking/profiling Blender’s processes. When benchmarking is active, the ‘Benchmark’ drop-down changes from a drop-down to an illuminated button. Clicking this ends the process. Depending on your other settings, this may then open SnakeVis or print the result to the system terminal

Console-Print Result
This will print any benchmarking/profiling data to the system terminal

Run SnakeVis
This will open any benchmarking/profiling in SnakeVis. If SnakeVis is not installed to Blender’s version of Python, it will attempt to install it

Update Run Plus

Revert
If true, the Blender save file will be reverted each time the script is run. This is the same as pressing the ‘Revert’ button in ‘File > Revert’. This can be useful if a script you’re testing destructively change the scene. This will not happen if the file has never been saved. The file will be reverted before the script is run.

Protect State
If true, several things in the scene will be protected from change, which can be useful if a script you’re testing changes things. It will protect the active object and what objects are selected and the interaction mode you are in. It will also protect the Editor Type (3D view, NLA, Properties) from being changed

Update Run Plus, Benchmark

Print benchmark
If true, the result of a benchmark will automatically be sent to the system terminal when benchmarking has been stopped

Open SnakeVis
If true, the result of a benchmark will automatically be opened in SnakeVis when benchmarking has been stopped. If SnakeVis is not installed, it will attempt to install it