polar_array

Generate polar array of shapes.

Parameters

shapes : ShapeList
List of shapes
axis_origo : array
Origin of rotation axis
axis_dir : array
Direction of rotation axis
angle : float
Total angle in degrees
N : int
Number of copies

Examples

model2d.add_rectangle([2,0],[4,2])
f = model2d.select([3,1], types='face')
model2d.polar_array(f, axis_origo=[0,0], axis_dir=[0,0,1], angle=360, N=6)