Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.72 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.72 KB

Blextism - Blender + Extism

This repository provides three 🦀 Rust crates and two 🐍 Python modules:

  1. 🐍 A genschema.py module that uses Blender's RNA system to perform reflection, generating a schema file.
  2. 🦀 A bindgen crate that uses the schema to generate comprehensive Rust bindings to the Python Blender API.
  3. 🦀 A pdk crate that receives the bindings.rs generated by bindgen and combines them with some basic type definitions.
  4. 🦀 A plugin that acts as an example Blender Wasm project; it ports this demo from CG Python's Youtube video.
  5. 🐍 A run.py module that installs the Extism python-sdk, installs appropriate host functions, then runs the Wasm file generated by the plugin module.

The Demo Plugin

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.

License

BSD 3-Clause