creo_create_safe_rectangle_extrusion_copy
Copies the active Creo part, then adds a solid rectangular blind extrusion from a centered sketch. Prevents overwrites by requiring a saved feature and a verified increase in solid volume.
Instructions
Copy the current Creo part and create one solid blind protrusion from a centered rectangular sketch only in the new copy. The operation refuses overwrite and succeeds only when the active feature is saved and solid volume increases.
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": {
"expected_model": "<expected_model>",
"copy_name": "<copy_name>",
"feature_name": "<feature_name>",
"width": "<width>",
"height": "<height>",
"depth": "<depth>"
},
"name": "creo_create_safe_rectangle_extrusion_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | ||
| width | Yes | ||
| height | Yes | ||
| copy_name | Yes | ||
| feature_name | Yes | ||
| sketch_plane | No | FRONT | |
| direction_side | No | Extrusion side. With the default FRONT sketch plane and TOP orientation plane, side 2 is +Z. | |
| expected_model | Yes | ||
| orientation_plane | No | TOP |