add_sketch_fillet
Rounds a sketch corner with a tangent arc of a specified radius between two adjacent lines, replacing the vertex with an arc for cleaner sketches.
Instructions
Redondeo de croquis — redondea una esquina del croquis con un arco tangente de radio dado entre dos líneas adyacentes. Reemplaza el vértice donde dos líneas se encuentran con un arco.
Uso típico CSWA Tool Block: las esquinas internas llevan redondeos "R3" (= radius_mm=3). Más limpio y exacto que dibujar el arco a mano con create_arc.
[en: Sketch fillet — rounds a sketch corner with a tangent arc of the given radius between two adjacent sketch lines. Typical for the CSWA Tool Block rounded corners.]
Args: line1_x_mm, line1_y_mm: A point that lies ON the first line (near the corner — SW picks the closest segment). line2_x_mm, line2_y_mm: A point that lies ON the second line. radius_mm: The fillet radius, in mm. z_mm: Z-coordinate of the points (default 0 — front-plane sketches).
Returns the fillet's metadata.
Requires the sketch to be in EDIT mode. The two selected lines must be ADJACENT (share an endpoint), else SW rejects the fillet.
Related: add_sketch_chamfer (45° corner cut); fillet (3D edge round).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z_mm | No | ||
| radius_mm | Yes | ||
| line1_x_mm | Yes | ||
| line1_y_mm | Yes | ||
| line2_x_mm | Yes | ||
| line2_y_mm | Yes |