Skip to main content
100%

Generic server listener for Blender

✓ Published0🌍 Public
Aandybak
Last edited Dec 16, 2024
Created on Dec 16, 2024

This example demonstrates a Blender add-on that runs a local HTTP server to receive 3D model import requests from an external source. It shows how Blender can act as a live listener, accepting OBJ or GLB file URLs via POST requests and queuing them for import. The code uses Python’s `http.server` and `socketserver` for the network layer, with a background thread processing a `queue.Queue` of incoming model URLs, while also tracking recent imports to prevent duplicates and exposing `/ping` and `/status` endpoints for monitoring.

AI-generated description

Similar vizzes