freecad_linear_array
Create a linear array of evenly spaced copies of an object along a specified direction in FreeCAD, defining count and X, Y, Z spacing components.
Instructions
Create a linear array (copies of an object spaced along a direction)
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": {
"objectName": "<objectName>",
"directionX": "<directionX>",
"directionY": "<directionY>",
"directionZ": "<directionZ>",
"count": "<count>"
},
"name": "freecad_linear_array"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name for the array | |
| count | Yes | Number of copies (including original) | |
| directionX | Yes | X component of spacing direction | |
| directionY | Yes | Y component of spacing direction | |
| directionZ | Yes | Z component of spacing direction | |
| objectName | Yes | Name of the object to array |