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.
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 |