transform_entities
Move, copy, rotate, scale, or mirror AutoCAD entities by handle or layer/type/area filters, returning new handles for edited or copied objects.
Instructions
Преобразовать объекты (handles или фильтр layer/entity_type/area). op: move (dx,dy), copy (dx,dy), rotate (angle° вокруг base_x,base_y), scale (factor от base), mirror (ось axis=[x1,y1,x2,y2]). copy=True: оставить исходные и изменить копии. Возвращает handle новых объектов.
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": {
"op": "<op>"
},
"name": "transform_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | No | ||
| dy | No | ||
| op | Yes | ||
| area | No | ||
| axis | No | ||
| copy | No | ||
| angle | No | ||
| layer | No | ||
| base_x | No | ||
| base_y | No | ||
| factor | No | ||
| handles | No | ||
| entity_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |