cut_profile_on_face
Cuts a polygon pocket or slot on any planar face of a SolidWorks part, using 3D points on that face. Cut blind to a set depth or through when depth is omitted; optional corner radii.
Instructions
Cut a polygon pocket/slot on ANY planar face: points_mm = [[x,y,z], ...] in mm.
The 3D points must lie on one face facing face ("+x"/"-x"/...), which is
found through them; cut blind by depth_mm or through when omitted. For side
pockets/cutouts. corner_radii_mm rounds the corners as for
add_extruded_profile. 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>",
"face": "<face>"
},
"name": "cut_profile_on_face"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | Yes | ||
| name | No | Cut | |
| depth_mm | No | ||
| points_mm | Yes | ||
| corner_radii_mm | No |