Learn · Scripting
Scripting lessons
Automate ToolBox3D with Python. Each lesson builds one small, useful tool and explains the parts of the toolbox3d package it uses. Work through them in order, or jump to the one you need.
- 01Build a fence with PythonCreate objects with operations, place them, group them and keep the build as one undo step.
- 02Edit a mesh with numpyRead every vertex as an array, change it in one step and write it back as a single operation.
- 03Batch-convert models with tbpyConvert a folder of OBJ files to GLB from the command line with the editor's own readers and writers.
Reference
Look it up.
The scripting guide, the generated API reference and the example scripts cover everything the lessons touch.
Scripting guide