This repository provides three 🦀 Rust crates and two 🐍 Python modules:
- 🐍 A
genschema.py
module that uses Blender's RNA system to perform reflection, generating a schema file. - 🦀 A
bindgen
crate that uses the schema to generate comprehensive Rust bindings to the Python Blender API. - 🦀 A
pdk
crate that receives thebindings.rs
generated bybindgen
and combines them with some basic type definitions. - 🦀 A
plugin
that acts as an example Blender Wasm project; it ports this demo from CG Python's Youtube video. - 🐍 A
run.py
module that installs the Extismpython-sdk
, installs appropriate host functions, then runs the Wasm file generated by theplugin
module.
newest.mov
This library is demo-quality. It is missing aspects that would make it production-grade. Most notably, it handwaves around errors thrown by the host.
BSD 3-Clause