← 返回 Skills 市场
lzyling

Blender Render

作者 kelven.ling · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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.

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install blender-render
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /blender-render 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug blender-render
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。

如何安装 Blender Render?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install blender-render」即可一键安装,无需额外配置。

Blender Render 是免费的吗?

是的,Blender Render 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Blender Render 支持哪些平台?

Blender Render 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Blender Render?

由 kelven.ling(@lzyling)开发并维护,当前版本 v1.0.0。

💬 留言讨论