fillet_all_edges
Apply fillets to all edges of a model, with adjustable radius and tangent propagation. Optionally filter by edge length or body, and include circular edges.
Instructions
Redondear todas las aristas — fillet every edge (linear and circular by default).
Universal edge softening for autoparts: cast/forged parts get transition radii (ISO 8062), structural brackets get stress-relief fillets, plastic injection-molded parts need rounded edges. This composite implements "redondea todo" in one call.
Args:
radius_mm: Fillet radius. Default 1.0mm — typical machined-edge
softening. Use 2-5mm for cast-part transitions, R = 0.5-1.5
× wall_thickness for plastic ribs.
tangent_propagation: If True (default), SW propagates the
fillet along tangent-continuous neighboring edges, producing
one smooth filleted region for rows of co-linear edges.
Pass False for strict per-edge fillets (each edge gets its
own region). True is what most "redondea todo" intents mean.
min_edge_length_mm: Skip linear edges shorter than this.
Default 1.0mm. Circular edges (arc / circle) skip this
filter — their length_mm is the chord length and isn't
meaningful for the softening decision.
body_name: If given, only fillet edges of that body.
include_arcs: If True (default), include arc and circle edges
in the fillet set. Required for round autoparts (rines,
cubos, discos de freno, engranes) where every edge is
circular. Set False for the legacy linear-only behavior.
Returns: { "feature": {"name": "Redondeo1", "type": "fillet", "dimensions": {...}}, "edges_filleted": int, }
Caveat: NOT parametric — re-radiusing requires deleting the feature. With tangent_propagation=True, SW collapses adjacent edges into one filleted region; the resulting feature may show fewer "branches" than edges_filleted in the SW UI tree.
Example — soften every edge of a bracket at R=1mm: fillet_all_edges()
Example — large R=5mm transition on cast housing, no tangent prop: fillet_all_edges(radius_mm=5.0, tangent_propagation=False)
Example — strict linear-only fillet (skip circular edges): fillet_all_edges(include_arcs=False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body_name | No | ||
| radius_mm | No | ||
| include_arcs | No | ||
| min_edge_length_mm | No | ||
| tangent_propagation | No |