Thank you, Dave, I have followed your answer and successfully get the result.
Because the description of the plugin is not clear in the software and manuscipt, I want to explain it here in case others may find useful. The transformation matrix [A11 A12 A13 A21 A22 A23 A31 A32 A33] is used to deform the view. In default it is an unit matrix so it won't deform. Tx, Ty, Tz mean Translations in x, y, z, I guess. SwapOrientation: I didn't try out its function, but I think it is used to change the element orientation? View: Which view to do the transform. The view can also be specified by selecting it in the view list. In this case, the View value should be -1. It should be noted that transformation through Tools->Plugins->Transform is based on the last transformation operation. Suppose I have two views 0 and 1, both at the same position (0,0,0). I have done one translation by (Tx=1, Ty=0, Tz=0), and now the transformed view 0 is at the position (1,0,0). Then select another view 1 and do the same translation. The new position of view 1 should be (2,0,0), not (1,0,0). Another way of transformation is in Tools->Options->View[]->Transfo. In this way, the (Tx,Ty,Tz) is absolute, and the new position of view 1 should be (1,0,0). I'm not sure if I've said it clear. 2011/8/25 David Colignon <[email protected]> > > On 25/08/11 16:01, 蔡园武 wrote: > > Hello, >> I have a view, which is a square with an ElementData. In my simulation, >> this square is periodic in XY directions, so I >> want to create a new view with an array of the original view. Is it >> possible in gmsh? >> Thanks! >> > > Hi, > > I think you should load several time the same view (which will be > superposed), then arrange them with > > Tools->Options->View[*]->**Transfo-> 1.0 0. 0. X + **** + 0. > > Regards, > > Dave > > -- > David Colignon, Ph.D. > Collaborateur Logistique du F.R.S.-FNRS > CÉCI - Consortium des Équipements de Calcul Intensif > ACE - Applied & Computational Electromagnetics > Sart-Tilman B28 > Université de Liège > 4000 Liège - BELGIQUE > Tél: +32 (0)4 366 37 32 > Fax: +32 (0)4 366 29 10 > WWW: http://www.ceci-hpc.be/ > Agenda: http://www.google.com/**calendar/embed?src=david.** > colignon%40gmail.com<http://www.google.com/calendar/embed?src=david.colignon%40gmail.com> > > > > >> -- >> >> Cai Yuanwu 蔡园武 >> Dept. of Engineering Mechanics, >> Dalian University of Technology, >> Dalian 116024, China >> >> >> ______________________________**_________________ >> gmsh mailing list >> [email protected] >> http://www.geuz.org/mailman/**listinfo/gmsh<http://www.geuz.org/mailman/listinfo/gmsh> >> > > -- Cai Yuanwu 蔡园武 Dept. of Engineering Mechanics, Dalian University of Technology, Dalian 116024, China
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
