feature_rib
Adds a rib (thin stiffening wall) from open sketch curves and joins it to the target body to reinforce housings, brackets, and bosses.
Instructions
Add a rib (a thin stiffening wall) from open sketch curves, joined to the body it meets - gussets in housings, brackets, bosses.
Units: thickness and depth.distance are in units (default mm), a string is a
Fusion expression ("wall"). Refs: open sketch curves from sketch_draw (a line or arc
drawn in a sketch on a plane cutting the body, e.g. a construction_plane through the
corner); circles and closed splines are refused. The rib is always joined to
target_body (no operation parameter); without it, to the one solid body of the
curves' component that a curve touches.
Errors: closed curve, wrong thickness_location or depth -> INVALID_PARAMS (nothing changed); no target_body and the curves touch no body or several -> INVALID_PARAMS with details.candidates (body refs to pass as target_body); thickness_location "side2" is not available in the current Fusion API (FUSION_API_ERROR, no change): use "side1" with the curve drawn the other way; a Fusion API version without rib features -> FUSION_API_ERROR "not available" with no change (use execute_python then); a rib Fusion computes with an error -> FUSION_API_ERROR and the timeline is rolled back.
Returns {"feature": {ref, type, name}, "health": {"state": ok|warning|error|unknown, "message"}, "created_bodies": [...], "modified_bodies": [{ref, type, name}] (the body the rib joins), "removed_bodies": [...]}.
Example: feature_rib(curves=[], thickness=3)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flip | No | Grow the other way from the sketch plane | |
| depth | No | {"type": "to_next"} (default, up to the next face) | {"type": "distance", "distance"} | |
| units | No | Unit of plain-number lengths and points | mm |
| curves | Yes | Open sketch curve refs (sketch_draw), drawn on a plane through the body, ending at or near its walls | |
| thickness | Yes | Rib thickness | |
| target_body | No | Body the rib/web is built on and joined to; default: the one solid body the curves touch | |
| thickness_location | No | symmetric (default) about the curves, or side1 / side2 of them | symmetric |