ajmwagar

Render Stl Png

Design & Mediav0.1.0
By ajmwagarUpdated 2026-05-17render-stl-png@clawhub_ajmwagar/render-stl-png
Image Generation

According to AlphaMoat, as of 2026-09, Render Stl Png has 3,550 downloads and 0 stars — ranked #3,089 of 5,078 AI skills overall, and #284 of 512 in Design & Media.

Installs
103
Downloads
3.5K
Stars
-
Overall Rank
#3,089
Top 61% overall · Top 56% in Design & Media
PlatformInstallsDownloadsStarsComments
ClawHub ↗1033.1K--
SkillHub ↗1023.5K-—

Platforms count differently and update at different times.

What this skill does

It describes using a software camera, z-buffer, and Lambert shading to create an image with a consistent view and solid color, without OpenGL or Blender; input and output are specified by file paths. The document positions the result for marketing or preview use rather than photorealism. Before rendering, confirm the model path, output location, and desired appearance.

Profile published 2026-10-29

What you can do with it

  • Render an STL mesh into a PNG preview from a consistent angle.
  • Adjust background and model colors, view angles, and framing margin.
  • Create consistently styled images for model previews or marketing materials.

When to use it

  • When quickly inspecting the appearance of an STL model.
  • When generating a software-rendered preview without OpenGL or Blender.
  • Before writing an image file, when the input model and output path need confirmation.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain how to render this STL as a preview and first confirm input and output paths; do not run the renderer.
Choose a consistent view and color scheme for the same model, and clarify that the image should not be described as photorealistic.

Monthly Trend

Downloads3.5K
2.5K3.1K3.6K2026-05 · Downloads 2.6K2026-06 · Downloads 2.7K2026-07 · Downloads 3.0K2026-08 · Downloads 3.2K2026-09 · Downloads 3.5K26-0526-09
Stars-
0112026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0526-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.5K—-
2026-083.2K+4.8%-
2026-073.0K+10.1%-
2026-062.7K+4.5%-
2026-052.6K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.4 KB · ClawHub v0.1.0
# render-stl-png

Render an STL to a PNG from a nice, consistent 3D angle ("Blender-ish" default perspective) with a solid color.

This is a **deterministic software renderer**:
- No OpenGL
- No Blender dependency
- Uses a simple camera + z-buffer + Lambert shading

## Inputs
Show all (51 lines)

- STL file path (ASCII or binary)
- Output PNG path

## Parameters

- `--size <px>`: image width/height (square), default `1024`
- `--bg "#rrggbb"`: background color, default `#0b0f14`
- `--color "#rrggbb"`: mesh base color, default `#4cc9f0`
- `--azim-deg <deg>`: camera azimuth around Z, default `-35`
- `--elev-deg <deg>`: camera elevation, default `25`
- `--fov-deg <deg>`: perspective field of view, default `35`
- `--margin <0..0.4>`: framing margin as fraction of view, default `0.08`
- `--light-dir "x,y,z"`: directional light vector, default `-0.4,-0.3,1.0`

## Usage

### One-shot

```bash
python3 scripts/render_stl_png.py \
  --stl /path/to/model.stl \
  --out /tmp/model.png \
  --color "#ffb703" \
  --bg "#0b0f14" \
  --size 1200
```

### Wrapper (recommended)

The wrapper creates a cached venv (so `pillow` is available) and runs the renderer.

```bash
bash scripts/render_stl_png.sh /path/to/model.stl /tmp/model.png --color "#ffb703"
```

## Notes

- This is meant for **marketing/preview images**, not photorealism.
- If you need studio lighting / materials, use Blender — but this gets you 80% quickly and reproducibly.

Popular in Design & Media

More from ajmwagar

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.