/install image-to-relief-stl
image-to-relief-stl
Generate a watertight, printable STL from an input image by mapping colors (or grayscale) to heights.
This is an orchestrator-friendly workflow:
- Use nano-banana-pro (or any image model) to generate a flat-color image.
- Run this skill to convert it into a bas-relief model.
Practical constraints (to make it work well)
Ask the image model for:
- exactly N solid colors (no gradients)
- no shadows / no antialiasing
- bold shapes with clear edges
That makes segmentation reliable.
Quick start (given an image)
bash scripts/image_to_relief.sh input.png --out out.stl \
--mode palette \
--palette '#000000=3.0,#ffffff=0.0' \
--base 1.5 \
--pixel 0.4
Grayscale mode
bash scripts/image_to_relief.sh input.png --out out.stl \
--mode grayscale \
--min-height 0.0 \
--max-height 3.0 \
--base 1.5 \
--pixel 0.4
Outputs
out.stl(ASCII STL)- optional
out-preview.svg(vector preview via potrace; best-effort)
Notes
- This v0 uses a raster heightfield meshing approach (robust, no heavy CAD deps).
- The
--pixelparameter controls resolution (smaller = higher detail, bigger STL).
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install image-to-relief-stl - 安装完成后,直接呼叫该 Skill 的名称或使用
/image-to-relief-stl触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Image To Relief Stl 是什么?
Turn a source image (or multi-color mask image) into a 3D-printable bas-relief STL by mapping colors (or grayscale) to heights. Use when you have an image from an image-gen skill (nano-banana-pro, etc.) and want a real, printable model (STL) via a deterministic pipeline. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2491 次。
如何安装 Image To Relief Stl?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install image-to-relief-stl」即可一键安装,无需额外配置。
Image To Relief Stl 是免费的吗?
是的,Image To Relief Stl 完全免费(开源免费),可自由下载、安装和使用。
Image To Relief Stl 支持哪些平台?
Image To Relief Stl 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Image To Relief Stl?
由 ajmwagar(@ajmwagar)开发并维护,当前版本 v0.1.0。