render-stl-png
Render an STL to a PNG from a nice, consistent 3D angle ("Blender-ish" default perspective) with a solid color.
Best use case
render-stl-png is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Render an STL to a PNG from a nice, consistent 3D angle ("Blender-ish" default perspective) with a solid color.
Teams using render-stl-png should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/render-stl-png/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How render-stl-png Compares
| Feature / Agent | render-stl-png | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Render an STL to a PNG from a nice, consistent 3D angle ("Blender-ish" default perspective) with a solid color.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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
- 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.Related Skills
pencil-renderer
Render DNA codes to Pencil .pen frames.
architecture-rendering
Generate photorealistic architectural renders and visualizations using each::sense AI.
renderkit
Render structured data as beautiful hosted web pages, and create hosted forms for data collection.
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
```markdown
# OpenClaw-Last.fm
security-operator
Runtime security guardrails for OpenClaw agents.
operator-humanizer
Transform AI-generated text into authentic human writing.
kit-email-operator
**AI-powered email marketing for Kit (ConvertKit)**.
agora
Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.