circular_pattern
Repeat selected features around a defined axis to create evenly spaced patterns like bolt circles or fan blades. Supports full circles or partial arcs with adjustable spacing.
Instructions
Circular pattern (patrón circular) — repeat features around an axis.
Standard autoparts use: bolt circles on flanges, fan blades, gear teeth blanks, dial markings. Always preceded by a create_reference_axis call to define the rotation axis.
Args:
feature_names: Names of features to pattern. Pass exact names from
get_active_part_info — e.g. ["Cortar-Extruir1"] for one hole.
axis_name: Name of the axis to rotate around. Use the "Eje1"-style
name returned by create_reference_axis.
count: Total number of instances INCLUDING the original (>= 2).
For 6 holes around a bolt circle, pass count=6.
total_angle_deg: Total angular span in degrees. Default 360
(full circle, evenly distributed). Pass smaller values for
partial arcs (e.g. 180 for a semicircle pattern, 90 for a
quarter, 120 for three instances spread over a third turn).
equal_spacing: When True (default), total_angle_deg is the
total span and instances divide it equally. When False, it's
interpreted as the angle BETWEEN consecutive instances —
useful for "every 30 degrees, count=N" use cases.
reverse: Flip rotation direction (clockwise vs counter-clockwise
when viewing along the axis).
Returns the new pattern Feature with name (e.g. "CirPattern1").
Example — bolt circle of 6 evenly-spaced holes around an axis through a hole's center: eje = create_reference_axis("Cara<3>@Cortar-Extruir1") circular_pattern(["Cortar-Extruir2"], eje["name"], count=6)
Example — 3 ribs over the top half of a flange (180° arc, equal spacing): circular_pattern( ["Saliente-Extruir1"], "Eje1", count=3, total_angle_deg=180.0, )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| reverse | No | ||
| axis_name | Yes | ||
| equal_spacing | No | ||
| feature_names | Yes | ||
| total_angle_deg | No |