geom_transform
Move, copy, rotate, scale, mirror, array, or rigidly transform COMSOL geometry objects by specifying operation, translation vectors, axes, angles, scale factors, and array sizes.
Instructions
Move, copy, rotate, scale, mirror, array or rigidly transform objects.
Args: operation: Move | Copy | Rotate | Scale | Mirror | Array | RigidTransform. objects: object names to transform (e.g. ["blk1"]). displ: translation vector for Move/Copy/Array, e.g. ["0.1","0","0"]. pos: center point for Rotate/Scale/Mirror, e.g. ["0.05","0.025","0"]. axis: axis/normal vector for Rotate/Mirror, e.g. ["0","0","1"] or "z". rot: rotation angle in degrees (Rotate/RigidTransform). factor: scale factor (Scale), scalar or [sx,sy,sz]. size: array size (Array): integer (linear) or [n1,n2,n3] (rectangular/3D). properties: extra COMSOL properties (e.g. {"keep": "on"}). tag: feature tag (None = automatic, e.g. mov1). label: display label. build: build after creation (default true). geometry: geometry sequence tag (default "geom1"). component: component tag (None = auto). model: model name/tag (None = current model).
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": {
"operation": "<operation>"
},
"name": "geom_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pos | No | ||
| rot | No | ||
| tag | No | ||
| axis | No | ||
| size | No | ||
| build | No | ||
| displ | No | ||
| label | No | ||
| model | No | ||
| factor | No | ||
| objects | No | ||
| geometry | No | geom1 | |
| component | No | ||
| operation | Yes | ||
| properties | No |