BlenderRAG

High-fidelity 3D object generation via retrieval-augmented Blender code synthesis

BlenderRAG is a Blender add-on that turns a natural-language description (e.g. “a modern wooden chair with armrests”) into an executable Blender Python script and runs it directly in the viewport. State-of-the-art LLMs frequently produce syntactically broken or geometrically inconsistent Blender code; BlenderRAG grounds generation in a curated multimodal dataset of 500 expert-validated examples (text, code, image) across 50 object categories.

Across four state-of-the-art LLMs, retrieval raises the compilation success rate from 40.8% to 70.0% and the CLIP semantic alignment from 0.41 to 0.77, without fine-tuning or specialized hardware.

The BlenderRAG pipeline: dataset construction with human correction, retrieval by embedding similarity, and LLM code synthesis.

How it works

  1. Embed the query with a Nomic-AI sentence-embedding model.
  2. Retrieve the top-_k_ most similar (description, code) pairs from a local Qdrant vector database.
  3. Synthesize a Blender Python script with a user-selected LLM (open or closed source), prompted with the retrieved examples.
  4. Execute the script in the active Blender session, leaving the mesh selected for further editing.

Links: Code · Paper (arXiv) · Dataset (Hugging Face) · Project page

Paper: (Rondelli et al., 2026)

References

2026

  1. BlenderRAG: High-Fidelity 3D Object Generation via Retrieval-Augmented Code Synthesis
    Massimo Rondelli, Francesco Pivi, and Maurizio Gabbrielli
    arXiv preprint arXiv:2605.00632, May 2026