Three.js Stage
PLUGINLive three.js r187 scenes and GLB, GLTF, STL and OBJ models in Ulpi chat.
by tuancookiez-hub · v0.1.0
What it does
Live three.js r187 scenes and GLB, GLTF, STL and OBJ models in Ulpi chat. Ulpi calls one tool, three_scene, with scene code or a model file.
Ulpi draws the result as an interactive card with orbit, zoom, fullscreen, restart, screenshot and Ask Ulpi to change this, and other surfaces get a standalone HTML file. With Desktop open, each scene is dry-run in a hidden frame before the tool returns, so a crash or a blank render reaches Ulpi in the same turn.
Disclosure — scene code written by the model runs in Desktop inside a sandboxed iframe (opaque origin, scripts only) whose content security policy blocks all network requests; three.js r187 is bundled (MIT). The exported HTML file loads three.js from cdn.jsdelivr.net when opened in a browser.
Given a model path, the tool reads that file and the.bin,.mtl and image files it references in the same folder (50 MB limit) and copies them to plugin storage; scenes, screenshots and delivered files are stored under plugin-data/threejs-stage and cache/generated/threejs-stage on this machine. The dry run makes the tool wait up to 2.5 s for Desktop and up to 16 s for the result, and can be turned off (verify_scenes).
Fix with Ulpi and Ask Ulpi to change this each send one ordinary chat message. No API keys, no telemetry, no background processes, no self-update.
Tools it adds
The tools an agent gets once this plugin is installed.
- three_scene
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve