Linear Pattern
linear_patternRepeats a PartDesign feature linearly along an axis or edge, setting total length and occurrence count to create patterned copies in FreeCAD.
Instructions
Repeat a PartDesign feature linearly along a direction.
direction: 'X'|'Y'|'Z' for body origin axes, or {handle, edge: tag|'EdgeN'} for an edge-aligned direction. length: total span (mm) covered by the pattern. occurrences: number of copies (>=2). Includes the original.
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": {
"feature": "<feature>"
},
"name": "linear_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | LinearPattern | |
| length | No | ||
| feature | Yes | ||
| reversed | No | ||
| direction | No | X | |
| workspace | No | Run this call in this named workspace | |
| occurrences | No |