Cleans up Blender files and exports optimized GLB for web delivery.
2.7K
Cleans up Blender/glTF files (
.blend,.glb,.gltf) and exports optimized glTF — GLB, glTF, or embedded — for web delivery.
uvx notso-glb [OPTIONS] FILE
uv tool install notso-glb
# Or install directly from GitHub:
uv tool install -p3.11 git+https://github.com/kjanat/notso-glb
then just run notso-glb from the command line.
uv tool upgrade notso-glb
Available from Docker Hub and GitHub Container Registry:
# Docker Hub
docker pull kjanat/notso-glb
# GitHub Container Registry
docker pull ghcr.io/kjanat/notso-glb
Mount your files directory to /data:
# Process a file (output to input_optimized.glb by default)
docker run --rm -v "$(pwd)":/data kjanat/notso-glb model.blend
# Specify output file
docker run --rm -v "$(pwd)":/data kjanat/notso-glb input.glb -o output.glb
# With options
docker run --rm -v "$(pwd)":/data kjanat/notso-glb model.blend --no-draco --no-webp
# Show help
docker run --rm kjanat/notso-glb --help
Optimizations:
TEXCOORD bloat)POT enforcement)Bloat Detection:
Experimental Auto-fix (--autofix):
See CLI.md
For local development, download the gltfpack WASM binary:
# Download latest WASM from npm
uv run scripts/update_wasm.py
# Or check current version
uv run scripts/update_wasm.py --show-version
# Download specific version
uv run scripts/update_wasm.py --version 1.0.0
The WASM binary (src/notso_glb/wasm/gltfpack.wasm) is not committed to git and
must be downloaded locally. CI/CD pipelines handle this automatically.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
This project uses Blender as a Python module (bpy), which is also GPL-3.0 licensed.
Content type
Image
Digest
sha256:e55264e71…
Size
532.6 MB
Last updated
3 months ago
docker pull kjanat/notso-glb