8.1.11 Topology changing transformations

replic( n,step,dir=0)
Return a Formex with n replications in direction dir with step.

The original Formex is the first of the n replicas.

replic2( n1,n2,t1,t2,d1=0,d2=1,bias=0,taper=0)
Replicate in two directions.

n1,n2 : number of replications with steps t1,t2 in directions d1,d2.
bias, taper : extra step and extra number of generations in direction d1 for each generation in direction d2.

rosette( n,angle,axis=2,point=[0.,0.,0.])
Return a Formex with n rotational replications with angular step angle around an axis parallel with one of the coordinate axes going through the given point. axis is the number of the axis (0,1,2). point must be given as a list (or array) of three coordinates. The original Formex is the first of the n replicas.

translatem( *args)
Multiple subsequent translations in axis directions.

The argument list is a sequence of tuples (axis, step). Thus translatem((0,x),(2,z),(1,y)) is equivalent to translate([x,y,z]). This function is especially conveniant to translate in calculated directions.