据 AlphaMoat 统计,截至 2026-09,Image To Relief Stl 累计下载 3,690 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 2,925 位,在「设计创意」分类(512 个)中排名第 273 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 116 | 3,571 | 2 | - |
| SkillHub ↗ | 362 | 3,690 | 3 | — |
各平台的计数口径不同,统计时间不一致。
以栅格高度场把调色板颜色或灰度映射为高度,输出 ASCII STL,可选尽力生成 SVG 预览。纯色、清晰边缘、无渐变和阴影有助分割。需 Python、potrace 与 mkbitmap,像素大小影响细节和文件体积。应审查固定依赖;卡片指出预览路径存在代码执行问题,不可信路径应避免预览选项。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,690 | — | 3 |
| 2026-08 | 3,444 | +4.0% | 3 |
| 2026-07 | 3,311 | — | 3 |
| 2026-05 | 2,926 | — | 3 |
| 2026-03 | 2,549 | — | 2 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
name: image-to-relief-stl
description: 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.
metadata:
openclaw:
requires:
bins: ["python3", "potrace", "mkbitmap"]
install:
- id: apt
kind: apt package: potrace
bins: ["potrace", "mkbitmap"]
label: Install potrace + mkbitmap (apt)
- id: brew
kind: brew
formula: potrace
bins: ["potrace", "mkbitmap"]
label: Install potrace + mkbitmap (brew)
---
# 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
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
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 `--pixel` parameter controls resolution (smaller = higher detail, bigger STL).
ContextWeave 架构图一键生成
用 Nano Banana Pro 生成或编辑图片的脚本技能。
用 whisper 命令行在本地把音频转写成文字或做翻译的技能。
通过 MCP 服务生成与编辑图表的技能。
面向界面设计的思路与落地建议技能,覆盖布局、交互流程、设计令牌与前端改动。
面向多家视频模型 API 的 AI 视频生成与编排技能。
用 ffmpeg 从视频里取出画面帧,或生成便于快速查看的缩略图。
用本地 Whisper 把音频文件转成文字,模型下载完成后可完全离线运行。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。