cut_profile
Cuts polygonal pockets, slots, or windows from a part using supplied profile points, with optional face or plane placement, depth or through-all, rotation, and corner rounding.
Instructions
Cut a polygonal pocket, slot or window; the polygon is auto-closed.
Default: points_mm = [[x,y], ...] cut down from the +Z face. rotate_deg turns the profile about about_mm as for add_extruded_profile (notches at +/-60 degrees around a pivot).
face='+x' (or ...): points_mm = [[x,y,z], ...] on one face facing that way, found through them; for side pockets and cutouts.
plane='right' ('front' z = 0, 'top' y = 0, 'right' x = 0, or 'Plane1'): points_mm = 3D points ON that plane, cut symmetric about it. For shapes seen from the side: wedges, windows, symmetric recesses. keep_inside=True cuts away everything OUTSIDE the profile (through all): extrude the front view, cut the side view with keep_inside, and the part is the 3D shape both views agree on.
Blind by depth_mm (with plane=: in total, centred on the plane), or through all when omitted. corner_radii_mm rounds the corners as for add_extruded_profile. Returns mass properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | No | ||
| name | No | Cut | |
| plane | No | ||
| about_mm | No | ||
| depth_mm | No | ||
| points_mm | Yes | ||
| rotate_deg | No | ||
| keep_inside | No | ||
| corner_radii_mm | No |