feature_box
Creates an axis-aligned solid box or rectangular pocket in a Creo part using X, Y, and Z min/max ranges; set cut=true to remove material.
Instructions
Axis-aligned solid box (or rectangular pocket with cut=true) spanning x=(min,max), y=(min,max), z=(min,max) in the part's default csys. Needs the standard FRONT/RIGHT datums (model_new parts). One extrude feature (a rectangle extruded along +Z; without the sketch solver a thin extrude of a line), plus datum NAME_Z0 when z min != 0. A cut that removes nothing (box outside the solid) is an error.
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": {
"x": "<x>",
"y": "<y>",
"z": "<z>"
},
"name": "feature_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| cut | No | ||
| file | No | ||
| name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||