view_set
Set the Gmsh viewer camera to a preset orientation (front, back, left, right, top, bottom, or isometric). Optionally fit the model with orthographic framing without changing geometry or mesh.
Instructions
Select a camera preset in the open Gmsh viewer without changing geometry or mesh. Front/back look from +Z/-Z, right/left from +X/-X, top/bottom from +Y/-Y. Isometric looks from (+X,+Y,+Z). fit=True uses orthographic projection and resets pan/zoom to frame the rotated model; fit=False preserves pan/zoom. The viewer must have a displayed checkpoint. This is a display change and does not increment the authoritative session revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | ||
| preset | No | isometric | |
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||