solid.Shape.polararray
solid.Shape: C = polararray (S, N, ANGLE)
solid.Shape: C = polararray (S, N, ANGLE, AXIS)
solid.Shape: C = polararray (S, N, ANGLE, AXIS, P)
solid.Shape: C = polararray (…, 'Rotate', TF)
Copies of a shape round an axis, united.
C = polararray (S, N, ANGLE, AXIS,
P) places N copies of the shape round the axis through the
point P in the direction AXIS, the z axis through the
origin by default, the first where the shape is and the rest turned on
by the right-hand rule, the other way for a negative ANGLE. A
whole turn, ANGLE of 360, spaces them evenly ANGLE /
N apart; a part of a turn puts one at each end, ANGLE
/ (N - 1) apart. It returns them as one shape, as
solid.Shape.copy does.
Each copy is turned as it goes round, as the holes of a bolt circle,
the teeth of a wheel or the blades of a fan are. With
'Rotate' set to false each copy keeps the shape’s own
direction, moved as the centre of its bounding box moves.
## A flange of diameter 60 with six bolt holes of 6 on a circle of 40 H = polararray (translate (solid.cylinder (3, 8), [20, 0, 0]), 6, 360); F = subtract (solid.cylinder (30, 8), solid.cylinder (10, 8), H); |
See also: solid.Shape.copy, solid.Shape.rectarray, solid.Shape.rotate
Source Code: solid.Shape