preview
Render a PNG of your OpenSCAD model and return it as an image for visual inspection. Adjust camera, projection, or full render to see export-ready geometry.
Instructions
Render a PNG of the model and return it as an image.
camera is OpenSCAD's own string. Seven numbers are gimbal style, translate x,y,z then rotate x,y,z then distance, for example "0,0,0,55,0,25,400". Six numbers are eye x,y,z then centre x,y,z. Leave it unset and viewall frames the object automatically. projection is "o" for orthogonal or "p" for perspective. Set full_render to evaluate the real geometry rather than the preview approximation. It is slower but shows what will export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| camera | No | ||
| source | No | ||
| defines | No | ||
| imgsize | No | 800,600 | |
| viewall | No | ||
| timeout_s | No | ||
| projection | No | o | |
| colorscheme | No | Tomorrow | |
| full_render | No |