Image To Relief Stl
VerifiedTurn 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.
$ Add to .claude/skills/ About This Skill
# 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).
Use Cases
- Convert images into 3D-printable bas-relief STL files
- Create 3D relief sculptures from photos and generated artwork
- Map color or grayscale values to height for dimensional printing
- Generate custom 3D relief art from AI-generated images
- Produce 3D-printable decorative pieces from 2D source images
Pros & Cons
Pros
- +Compatible with multiple platforms including claude-code, openclaw
- +Well-documented with detailed usage instructions and examples
- +Strong community adoption with a large number of downloads
Cons
- -No built-in analytics or usage metrics dashboard
- -Configuration may require familiarity with file & media concepts
FAQ
What does Image To Relief Stl do?
What platforms support Image To Relief Stl?
What are the use cases for Image To Relief Stl?
100+ free AI tools
Writing, PDF, image, and developer tools — all in your browser.
Next Step
Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.