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.
通过将颜色(或灰度)映射为高度,从输入图像生成防水、可打印的STL文件。
这是一个适合编排器的工作流程:
要求图像模型具备:
这样可确保分割的可靠性。
bash
bash scripts/imagetorelief.sh input.png --out out.stl \
--mode palette \
--palette #000000=3.0,#ffffff=0.0 \
--base 1.5 \
--pixel 0.4
bash
bash scripts/imagetorelief.sh input.png --out out.stl \
--mode grayscale \
--min-height 0.0 \
--max-height 3.0 \
--base 1.5 \
--pixel 0.4
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 image-to-relief-stl-1776373767 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 image-to-relief-stl-1776373767 技能
skillhub install image-to-relief-stl-1776373767
文件大小: 5.5 KB | 发布时间: 2026-4-17 13:55