Useful scripts for creating animations with the Blender Python API (Blender 3.4.1)
convert_to_curve.py
Converts the meshes associated with muons, electrons, and tracks to curves and adds a material. Then they are visible when rendered.
change_background.py
Changes background color (to 0x202020
).
-
Open Blender
-
Import a
.gltf
or.glb
file exported from iSpy WebGL -
Select "Scripting" from the main menu
-
Select "Open Text" and select a python script
-
Then run using the "Run Script" button (or the "Alt P" shortcut)