transform
Rotate then translate FreeCAD objects using specified angles, axes, centers, and offsets; optionally create a new copy and keep the original for repeated parts.
Instructions
Rotate then translate an object (mm, degrees). Rotation is about rotation_axis through rotation_center
(default world Z through the origin), applied before the translation. With copy_as a new object is created and
the original stays where it is (use for repeated parts).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc": "<doc>",
"name": "<name>"
},
"name": "transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| name | Yes | ||
| copy_as | No | ||
| translate | No | ||
| rotation_deg | No | ||
| rotation_axis | No | ||
| rotation_center | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |