render_preview
Renders six-view PNG previews (iso, top, front, right, below, bottom) of 3D-printable parts or assemblies so you can inspect geometry before export.
Instructions
Render six views (iso, top, front, right, iso from below, bottom) as a PNG image. parts: comma-separated part names from build() (several are laid out side by side; only those are built), 'assembly' (assembled position with stand-ins), or omit: the assembly if the script has one, else every printable part side by side. One variant (default: the first). size: 'normal' or 'small' (~800 px wide, cheaper). inline=False returns only the file (over HTTP: its download link), not the image itself. Uses the pieces cached by an earlier build; fresh=True builds them again. Remote server (HTTP/SSH): the files stay on the server, as a temporary working copy deleted when unused; bring the part home with download_part (one zip in the parts// layout). Never use ssh, scp or a shell on the server: there is none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| size | No | normal | |
| fresh | No | ||
| parts | No | ||
| inline | No | ||
| variant | No |