set_view
Change the FreeCAD 3D camera to a standard orientation—top, front, rear, left, right, bottom, or isometric—with optional rotation and fit-to-screen zoom, without altering the model.
Instructions
Turn the FreeCAD 3D view like the navigation cube: top (plan view, the default), front, rear, left, right, bottom or isometric. rotation = extra turn in degrees in the screen plane (positive = the drawing turns counter-clockwise, i.e. to the left). fit=True also zooms to show the whole drawing. This only moves the camera; the drawing itself is unchanged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | ||
| rotation | No | ||
| orientation | No | top |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||