render_photoreal
Generate presentation-quality photorealistic renders of FreeCAD shapes using an external renderer like POV-Ray, with optional view, material, and size settings.
Instructions
Photorealistic render of a shaped object via the FreeCAD Render workbench (an external renderer, e.g. POV-Ray) — a presentation-quality "nice picture", unlike render_view's fast software-rasterized preview.
Requires the Render addon and a renderer binary to be installed (see docs/RENDER_WORKBENCH.md); raises with install guidance otherwise. Renders in an isolated temporary document, so the live model is never modified.
view: 'iso' | 'top' | 'bottom' | 'front' | 'back' | 'left' | 'right' | 'side'. material: optional Render material library card — e.g. 'Gold', 'Glass', 'Aluminium', 'GlossyPlastic', 'RoughPlastic', 'Iron', 'Brass'. Omitted gives a neutral default material; an unknown name raises with the full list. Returns {png_base64, png_path, renderer, view, material, width, height}.
Presentation-only: output is not bit-reproducible, so it is kept out of the reliability/golden tests. External renders can take seconds to minutes, so this call uses an extended worker timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | iso | |
| width | No | ||
| handle | Yes | ||
| height | No | ||
| material | No | ||
| renderer | No | Povray |