render
Visualize a field from your simulation file and output a customizable PNG screenshot. Adjust colormap, camera, resolution, and timestep to capture the exact view you need.
Instructions
Render a field visualization and return a PNG screenshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to simulation file | |
| field_name | Yes | Name of the field to visualize (e.g., "p", "U", "T") | |
| association | No | "POINTS" or "CELLS" | POINTS |
| colormap | No | Color map preset (e.g., "Cool to Warm", "Viridis", "Jet") | Cool to Warm |
| camera | No | Camera preset — isometric, top, front, right, left, back | isometric |
| scalar_range | No | [min, max] for color scale, None for auto | |
| purpose | No | Resolution preset — "analyze" (480p), "preview" (720p), "publish" (1080p) | analyze |
| width | No | Override width in pixels (must set both width and height, or neither) | |
| height | No | Override height in pixels (must set both width and height, or neither) | |
| timestep | No | Specific timestep, "latest", or None for first | |
| blocks | No | Multiblock region names to include | |
| output_filename | No | Output PNG filename (e.g., "snapshot_press.png") | render.png |