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