freecad_extrude
Create a 3D solid by extruding a 2D wire or face along a specified direction in FreeCAD. Provide the object name and direction vector to control the result.
Instructions
Extrude a 2D wire/face along a direction to create a 3D solid (Part Extrude, not PartDesign Pad)
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>"
},
"name": "freecad_extrude"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirX | No | X component of extrusion direction (default 0) | |
| dirY | No | Y component of extrusion direction (default 0) | |
| dirZ | No | Z component of extrusion direction (default 10) | |
| name | No | Name for the extruded object | |
| solid | No | Create a solid (default true) | |
| objectName | Yes | Name of the 2D shape/wire to extrude |