add_extruded_slot
Create a stadium-shaped tab, lug or link by extruding a slot between two points and return its mass properties for parametric part building in SolidWorks.
Instructions
Extrude a stadium (rounded tab, lug or link) from point start_mm to end_mm ([x, y] mm).
The half-round ends are centred on the two points themselves; width_mm is the tab's width, depth_mm the extrusion along +Z. Volume = (width * length
pi * (width/2)^2) * depth. Returns mass properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Slot | |
| end_mm | Yes | ||
| depth_mm | Yes | ||
| start_mm | Yes | ||
| width_mm | Yes |