Thank you, Dave,<br>I have followed your answer and successfully get the result.<br><br>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.<br>
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.<br>Tx, Ty, Tz mean Translations in x, y, z, I guess.<br>SwapOrientation: I didn't try out its function, but I think it is used to change the element orientation?<br>
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.<br><br>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).<br>
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).<br><br>I'm not sure if I've said it clear.<br>
<br><br><div class="gmail_quote">2011/8/25 David Colignon <span dir="ltr"><<a href="mailto:David.Colignon@ulg.ac.be">David.Colignon@ulg.ac.be</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On 25/08/11 16:01, 蔡园武 wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
I have a view, which is a square with an ElementData. In my simulation, this square is periodic in XY directions, so I<br>
want to create a new view with an array of the original view. Is it possible in gmsh?<br>
Thanks!<br>
</blockquote>
<br></div>
Hi,<br>
<br>
I think you should load several time the same view (which will be superposed), then arrange them with<br>
<br>
Tools->Options->View[*]-><u></u>Transfo-> 1.0 0. 0. X + **** + 0.<br>
<br>
Regards,<br>
<br>
Dave<br>
<br>
-- <br>
David Colignon, Ph.D.<br>
Collaborateur Logistique du F.R.S.-FNRS<br>
CÉCI - Consortium des Équipements de Calcul Intensif<br>
ACE - Applied & Computational Electromagnetics<br>
Sart-Tilman B28<br>
Université de Liège<br>
4000 Liège - BELGIQUE<br>
Tél: +32 (0)4 366 37 32<br>
Fax: +32 (0)4 366 29 10<br>
WWW: <a href="http://www.ceci-hpc.be/" target="_blank">http://www.ceci-hpc.be/</a><br>
Agenda: <a href="http://www.google.com/calendar/embed?src=david.colignon%40gmail.com" target="_blank">http://www.google.com/<u></u>calendar/embed?src=david.<u></u>colignon%40gmail.com</a><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<div class="im"><br>
Cai Yuanwu 蔡园武<br>
Dept. of Engineering Mechanics,<br>
Dalian University of Technology,<br>
Dalian 116024, China<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/<u></u>listinfo/gmsh</a><br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Cai Yuanwu 蔡园武<br>Dept. of Engineering Mechanics,<br>Dalian University of Technology,<br>Dalian 116024, China<br>