cut_profile
Cuts a polygonal pocket or slot from the +Z face of a SolidWorks part, with optional depth, corner radii, and rotation.
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.
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 |