518 B
518 B
Here is a command to create a single glb:
blender-bin-5.0.0 --background --python create_glb.py -- \
/usr/local/src/Voron-Stealthburner/STLs/Stealthburner/'[o]_stealthburner_LED_carrier.stl' \
/tmp/out.glb
The git repository for Voron-Stealthburner was staged under /usr/local/src. The above command selects a specific STL and then places the STL under /tmp.
In a production mode, we want to be able to point to a directory tree of STLs and then generate glb equivalents in the similar tree structure.