← Back to Skills Marketplace
lzyling

Blender Render

by kelven.ling · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
41
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install blender-render
Description
Automate Blender headless previews for STL/OBJ/FBX/BIM and multi-part 3D-print models. Use for local-path model import, Workbench orthographic previews, stab...
README (SKILL.md)

Blender Headless Rendering Workflow

Use this skill when the user needs quick, reliable images from local 3D assets: STL/OBJ/PLY print models, multi-part model folders, or BIM/Revit FBX exports. For actual 3D-print splitting, clearance, 3MF validation, or assembly-fit debugging, use a dedicated 3D-print workflow instead; this skill only produces previews/renders.

Current operating assumptions

  • Prefer Workbench + orthographic camera for technical previews. It is fast, stable in headless mode, and shows geometry/part colors clearly.
  • Use Cycles only when the user specifically wants a nicer beauty render; it is slower and more sensitive to GPU/render settings.
  • Do not assume a fixed Blender version like 5.0.1. Use the installed Blender that works on the host, ideally current stable/LTS.
  • Do not install or upgrade Blender without explicit user permission.
  • Render previews are not validation. A pretty preview does not prove watertightness, printability, or physical assembly fit.

Blender executable

Resolve Blender in this order:

${BLENDER_BIN:-$(command -v blender || echo /Applications/Blender.app/Contents/MacOS/Blender)}

If that path fails, try command -v blender. If Blender is missing, ask before installing.

Workflow 1: multi-part STL/OBJ preview for print handoff

This is the preferred workflow for technical handoff previews: deterministic colors, orthographic front/iso views, optional exploded layout, and a contact sheet for chat/slicer review.

BLENDER_BIN="${BLENDER_BIN:-/Applications/Blender.app/Contents/MacOS/Blender}"
"$BLENDER_BIN" --background \
  --python scripts/render_stl_set_preview.py -- \
  --input /path/to/final_parts_dir \
  --output-dir /path/to/preview \
  --prefix model-preview \
  --explode 0.35

If the source format carries useful imported materials (for example OBJ+MTL), add --preserve-materials. For plain STL handoff previews, leave it off so the script assigns stable high-contrast colors. Contact sheets require Pillow (python3 -m pip install pillow) if it is not already available.

Then optionally create a labeled contact sheet:

python3 scripts/make_contact_sheet.py \
  --output /path/to/preview/model-preview-contact-sheet.png \
  --image /path/to/preview/model-preview-front.png --label 正面预览 \
  --image /path/to/preview/model-preview-iso.png --label 透视预览

Quality checks:

  • Parts are visibly separated or clearly color-coded.
  • Orthographic front view is not clipped.
  • Iso view shows the important interfaces.
  • File names and labels make the preview understandable outside this chat.

Workflow 2: standard single-mesh beauty render

For STL/OBJ models where the goal is a nicer preview with procedural material and lighting:

BLENDER_BIN="${BLENDER_BIN:-/Applications/Blender.app/Contents/MacOS/Blender}"
"$BLENDER_BIN" --background \
  --python scripts/render_standard.py -- \
  --input /path/to/model.stl \
  --output /path/to/output_prefix \
  --device auto \
  --samples 64 \
  --resolution 1400

This emits *_front.png, *_side.png, and *_top.png. Use --device cpu for portable smoke tests; use --device gpu only when GPU rendering is configured.

Workflow 3: BIM/Revit FBX fallback snapshot

BIM FBX often imports with hierarchy/material problems and may appear black in Cycles/Eevee. Use Workbench and force visibility:

BLENDER_BIN="${BLENDER_BIN:-/Applications/Blender.app/Contents/MacOS/Blender}"
"$BLENDER_BIN" --background \
  --python scripts/render_bim.py -- \
  --input /path/to/structure.fbx \
  --output /path/to/structure-preview.png

Recent lessons to preserve

  • Workbench first. For geometry review, Workbench/MATCAP or Workbench/STUDIO is more useful than photorealistic rendering.
  • Orthographic cameras beat perspective for judging part layout and dimensions.
  • Stable colors matter. Assign deterministic material colors per object/file for STL handoff screenshots; preserve imported materials only when the source format actually carries meaningful material data.
  • Exploded copies are previews only. Keep source objects hidden or untouched; render duplicated preview objects with offsets.
  • Large files should stay local. If chat upload is unreliable for large FBX/STL/3MF files, ask for a local absolute path copied from the OS file manager.
  • Do not confuse render with validation. For print/slicer handoff, pair previews with geometry/3MF validation reports from the relevant workflow.

Script maintenance smoke test

After editing bundled scripts, at least run:

python3 -m py_compile scripts/*.py

A real Blender render smoke test is better, but only run it when Blender is available and the user permits access to the chosen local model paths.

Usage Guidance
This appears safe for local Blender preview rendering. Before using it, make sure Blender and any optional Python packages come from trusted sources, provide only the local model paths you intend to render, and choose output paths carefully because the scripts will create or overwrite render image files there.
Capability Analysis
Type: OpenClaw Skill Name: blender-render Version: 1.0.0 The skill bundle provides a legitimate set of tools for automating headless 3D model rendering using Blender. The included Python scripts (render_standard.py, render_bim.py, and render_stl_set_preview.py) utilize the standard Blender API (bpy) to process STL, OBJ, and FBX files, while make_contact_sheet.py uses the Pillow library for image composition. The instructions in SKILL.md are focused on task execution and include safety-conscious guidance, such as requesting user permission before installing dependencies or Blender itself, with no evidence of malicious intent, data exfiltration, or harmful prompt injection.
Capability Assessment
Purpose & Capability
The stated purpose is local 3D preview rendering, and the included scripts import STL/OBJ/PLY/FBX files and write PNG renders. No network calls, credential handling, account access, or hidden endpoints are shown.
Instruction Scope
The instructions are scoped to user-provided local model paths and output paths, and SKILL.md explicitly says not to install Blender without user permission and not to treat previews as validation.
Install Mechanism
Metadata says there is no install spec and no required binaries, but SKILL.md relies on a local Blender executable and optionally Pillow via 'python3 -m pip install pillow'. This is documented and user-directed, but the dependency contract is under-declared.
Credentials
The skill runs local Blender/Python scripts against local files and creates output images/directories, which is proportionate for rendering but should be done with explicit input and output paths.
Persistence & Privilege
No background service, persistence mechanism, privilege escalation, credential storage, or autonomous recurring activity is present. File writes are limited to user-specified render outputs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install blender-render
  3. After installation, invoke the skill by name or use /blender-render
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial public release: headless Blender previews for STL/OBJ/PLY/FBX, stable part colors, material preservation, contact sheets, and smoke-tested render scripts.
Metadata
Slug blender-render
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Blender Render?

Automate Blender headless previews for STL/OBJ/FBX/BIM and multi-part 3D-print models. Use for local-path model import, Workbench orthographic previews, stab... It is an AI Agent Skill for Claude Code / OpenClaw, with 41 downloads so far.

How do I install Blender Render?

Run "/install blender-render" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Blender Render free?

Yes, Blender Render is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Blender Render support?

Blender Render is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Blender Render?

It is built and maintained by kelven.ling (@lzyling); the current version is v1.0.0.

💬 Comments