ajmwagar

Image To Relief Stl

デザイン・メディアv0.1.0
作者:ajmwagar更新日 2026-05-11image-to-relief-stl@clawhub_ajmwagar/image-to-relief-stl
画像編集ビジュアル素材

AlphaMoatによると、2026-09時点でImage To Relief Stlのダウンロード数は3,690、スター数は3で、AIスキル全体5,078件中2,925位、デザイン・メディアでは512件中273位です。

インストール数
362
ダウンロード数
3690
スター数
3
総合順位
#2,925
全体の上位 58% · デザイン・メディアの上位 54%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11635712-
SkillHub ↗36236903—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

色やグレースケールを高さに対応させるラスター高さ場から ASCII STL を出力し、任意の SVG プレビューも試みます。単色と明確な輪郭、グラデーションや影のない画像が分割に向きます。Python、potrace、mkbitmap が必要で、画素寸法が細部と容量を左右します。依存を確認して固定し、実行上の問題が指摘されたプレビューは不明なパスで使いません。

資料公開日 2026-10-27

できること

  • 単色・グレー画像から浅浮彫り STL を用意する

使う場面

  • 画像を決定的な手順で浮彫り形状へ変換したいとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

画像と依存を確認し、高さと解像度を選び、危険なプレビュー経路を避けて変換を準備して。

月次の推移

ダウンロード数3690
2458312037812026-03 · ダウンロード数 25492026-05 · ダウンロード数 29262026-07 · ダウンロード数 33112026-08 · ダウンロード数 34442026-09 · ダウンロード数 369026-0326-09
スター数3
2332026-03 · スター数 22026-05 · スター数 32026-07 · スター数 32026-08 · スター数 32026-09 · スター数 326-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093690—3
2026-083444+4.0%3
2026-073311—3
2026-052926—3
2026-032549—2

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

1.9 KB・ClawHub v0.1.0
---
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
すべて表示(全 68 行)
        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).

デザイン・メディアの人気スキル

ajmwagarのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。