The fully nearly planar pattern is obtained by copying the base module in two directions and shown in Figure 6.4. replic2() generates this pattern with
and
replications with steps
and
in respectively, the default X- and Y-direction.
# Create the full pattern by replication
dx = 4.
dy = 4.
F = (self.cell1+self.cell2).replic2(nx,ny,dx,dy)