Move/Copy Body
move_copy_bodyMove or copy bodies in an active SolidWorks part by translating in mm and rotating in degrees about a chosen point, with up to 50 copies.
Instructions
Beta: new: checked on SolidWorks by a scratch run, not yet by a live demo.
Move bodies of the active part by a translation and a rotation, or copy them up to 50 times.
Translation is in mm, rotation in degrees about the model's x, y and z
axes through rotation_point. With as_copy, copy n sits n times the
translation away. Fails, changing nothing, when a name is unknown, the
move is by nothing, or the bodies didn't move or copy. Needs: a part
with the bodies (list_bodies). Changes: adds a Body-Move/Copy
feature. Returns: move with name, the body names, counts and
volumes before and after.
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": {
"input_data": "<input_data>"
},
"name": "move_copy_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | `bodies`, and `translate` and/or `rotate`; `as_copy` and `copies` to copy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||