viewport_screenshot
Captures the active Fusion viewport as a PNG and sets a chosen camera orientation and visual style so you can visually check the model.
Instructions
PNG picture of the active Fusion viewport, to check the model visually.
Sets the camera (and optionally the visual style) and leaves it there, so the user sees the same view. Size 64..2048 px. Returns an image and a JSON text with {"width", "height", "orientation"}.
Example: viewport_screenshot(orientation="top", visual_style="shaded_edges").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | Zoom to fit the whole model | |
| width | No | ||
| height | No | ||
| orientation | No | Camera direction; 'current' keeps the view | iso_top_right |
| visual_style | No | Change the display style; default: keep |