Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
kevinbadi avatar

Blender Threejs Export

  • 1 installs
  • 50 repo stars
  • Updated April 4, 2026
  • kevinbadi/blender-skills

Export the current Blender scene to GLB plus a standalone Three.js HTML viewer with orbit controls and studio lighting.

About

blender-threejs-export is a Node-driven agent skill workflow for developers and small teams who model in Blender and need a fast path to a shareable web preview without hand-rolling exporters. The script connects to a local Blender MCP listener, runs embedded Python to write a GLB into your chosen directory, and emits a named HTML file that loads the model with Three.js, orbit navigation, and configurable background color. Flags let you disable auto-rotation, pick output names, and choose embedded versus standalone viewer layouts—useful for portfolio pieces, game asset checks, marketing demos, and prototypes. You need Blender with MCP reachable on the configured port and Node available to run the export script. It complements general 3D skills in the same repo by narrowing focus to the Blender-to-browser handoff rather than rigging or shader authoring inside Blender alone.

  • Exports current Blender scene as GLB via Blender MCP execute_code over localhost socket
  • Generates standalone Three.js HTML with orbit controls and studio lighting
  • CLI flags: --output, --name, --port, --no-rotate, --bg color, --embed
  • Default MCP port 9876 with 120s socket timeout for export operations
  • Optional embed mode for dropping the viewer into an existing page

Blender Threejs Export by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,914 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/kevinbadi/blender-skills --skill blender-threejs-export

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars50
Last updatedApril 4, 2026
Repositorykevinbadi/blender-skills

What it does

Export the current Blender scene to GLB plus a standalone Three.js HTML viewer with orbit controls and studio lighting.

Files

SKILL.mdMarkdownGitHub ↗

Blender Three.js Export

Exports the current Blender scene as a compressed GLB and generates a standalone HTML file with a Three.js viewer. The viewer includes orbit controls, studio lighting, auto-rotation, and responsive sizing — ready to drop into any website.

Prerequisites

  • Blender (4.x+) running with the Blender MCP addon active on port 9876
  • A scene loaded in Blender (e.g. after running blender-product-polish)

How to Run

node skills/blender-threejs-export/scripts/blender-threejs-export.js --output ~/Desktop/my-product

Options

OptionDescriptionDefault
--outputOutput directory for the GLB + HTML filesrequired
--nameFile name (without extension)model
--portBlender MCP port9876
--no-rotateDisable auto-rotationfalse
--bgBackground color hex#111111
--embedBase64-embed the GLB into the HTML (single file)false

Output

output-dir/
  model.glb          # Compressed GLB export from Blender
  model.html         # Standalone Three.js viewer (CDN imports, no build step)

Viewer Features

  • Orbit controls — click and drag to rotate, scroll to zoom, right-click to pan
  • Auto-rotation — slow spin to showcase the product (disable with --no-rotate)
  • Studio lighting — 3-point light setup matching the Blender polish look
  • Responsive — fills container, works on mobile
  • Zero dependencies — uses Three.js from CDN via import maps, no npm/build needed
  • Drop-in ready — open the HTML directly or embed in any page

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.