Development version.
Forge is under active development and testing. APIs, behaviour, coverage and
verification results may be incomplete or change without notice; published
PASS results are not a support guarantee or production-readiness claim.
Shape.circular_pattern
Pattern an existing native history feature around a fixed axis.
Signature
Shape.circular_pattern(self, feature, *, count, axis=<Axis.Z: 'Z'>, angle=None, origin=None, alignment='right', reversed=False)Use when
Repeat an already-created native feature around an axis while keeping one editable SolidCraft circular-pattern history feature, for example a Hole-based bolt circle.
Limits
The source feature must already be part of this Shape. Axis values cover principal or fixed XYZ axes. Native construction-axis, edge-axis and face-axis selectors are not exposed yet.
Parameters
feature— Existing applied feature Shape, or a non-empty sequence of applied feature Shapes. Forge resolves each source to its native history feature.count— Total number of instances including the original. Use a positive integer or direct Parameter.axis— Rotation axis as Axis.X/Y/Z or a non-zero fixed XYZ direction. Defaults to Axis.Z.angle— Optional total pattern angle in degrees, as a fixed number or direct Parameter. Omit it for SolidCraft’s native 360-degree default.origin— Optional XYZ point for a shifted fixed axis. With an Axis value and no origin, Forge emits the native principal-axis name directly.alignment— Native alignment: “left”, “center” or “right”. Defaults to “right”.reversed— Reverse the native pattern direction. Defaults to False.
Example
flange.circular_pattern(bolt_cut, count=6, axis=Axis.Z)