Patterns (Linear & Polar)
LinearPattern(shape, direction, count, spacing) repeats a solid along a
direction; PolarPattern(shape, count, angle=360) repeats it around an axis
(Z through the origin by default — set axis_origin / axis_direction). The
first copy is the original, so add only the pattern to the part.
Patterning a cutting feature patterns the cut: the six bolt holes above are a
single Extrusion(..., cut=True) inside a PolarPattern. With the default
angle=360 the copies are spread evenly; with a smaller angle the first and
last copies sit at 0° and angle.
These are 3D patterns of solids. To repeat 2D shapes inside a sketch, see Sketch operations.