Creating a series of mounting slots by transforming an existing slot using a reposition matrix. This example also demonstrates the use of a single numerical array and subscripted variable names for the matrices.
$$
$$ Declarations
$$
ENTITY/LN(2),CR(3),PT(2),GRP(6)
NUMBER/MAT(4,12)
$$
$$ Geometry Definition
$$
CR(1)=CIRCLE/0,0,4
LN(1)=LINE/2,.25,3,.25
LN(2)=LINE/2,-.25,3,-.25
PT(1)=POINT/2,0
PT(2)=POINT/3,0
CR(2)=CIRCLE/CENTER,PT(1),RADIUS,.25,START,90,END,270
CR(3)=CIRCLE/CENTER,PT(2),RADIUS,.25,START,270,END,90
GRP(1)=GROUP/LN,CR(2..3),PT(1),PT(2)
$$
$$ Matrix Definition
$$
MAT(1,1..12)=MATRIX/TRANSL,-1,0,0
MAT(2,1..12)=MATRIX/XYROT,45
MAT(3,1..12)=MATRIX/MAT(1,1..12),MAT(2,1..12)
$$
$$ Transformation
$$
GRP(2)=TRANSF/MAT(3,1..12),GRP(1)
GRP(3)=GROUP/GRP(1..2)
$$
$$ Matrix Definition
$$
MAT(4,1..12)=MATRIX/XYROT,90
$$
$$ Transformation
$$
GRP(4)=TRANSF/MAT(4,1..12),GRP(3)
GRP(5)=TRANSF/MAT(4,1..12),GRP(4)
GRP(6)=TRANSF/MAT(4,1..12),GRP(5)
Repositioning of Objects