add_box
Create a rectangular block in SolidWorks by extruding a width by height sketch to the given depth, returning dimensions and mass properties.
Instructions
Add a rectangular block: sketch width x height on the first plane, extrude by depth.
Dimensions are in millimetres. Returns the created feature name, the
addressable depth dimension ('D1@'), dimensions (width, height,
depth; for set_dimension) and the resulting mass properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | BlockExtrude | |
| depth_mm | Yes | ||
| width_mm | Yes | ||
| height_mm | Yes |