cut_profile
Cuts polygonal pockets, slots, or cutouts from the +Z face using millimeter point coordinates, with optional depth, corner radii, and rotation; returns mass properties.
Instructions
Cut a polygonal pocket/slot from the +Z face: points_mm = [[x,y], ...] in mm.
Auto-closed polygon, cut blind by depth_mm or all the way through when depth_mm is omitted. For pockets, slots, cutouts. corner_radii_mm rounds the corners and rotate_deg turns the profile about about_mm, as for add_extruded_profile (notches at +/-60 degrees around a pivot). Returns mass properties.
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": {
"points_mm": "<points_mm>"
},
"name": "cut_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Cut | |
| about_mm | No | ||
| depth_mm | No | ||
| points_mm | Yes | ||
| rotate_deg | No | ||
| corner_radii_mm | No |