create_block
Creates a rectangular NX block from length, width, and height in millimetres at an origin corner, with optional boolean unite, subtract, or intersect against an existing body.
Instructions
Create a rectangular block. origin is the corner with the smallest x/y/z; the block extends length along +X, width along +Y, height along +Z. Units: millimetres (mm) and degrees.
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": {
"length": "<length>",
"width": "<width>",
"height": "<height>"
},
"name": "create_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | Size along Y (mm). | |
| height | Yes | Size along Z (mm). | |
| length | Yes | Size along X (mm). | |
| origin | No | Corner point. [x, y, z] | |
| target | No | Target body for the boolean (body name or feature name). Required when boolean is not 'none' and the part has more than one body. | |
| boolean | No | Boolean with an existing body: none = create a new body. | none |