[Gmsh] keeping entities in group after translation (self answer)
jean pierre aubry
jeanpierre at lamachine.fr
Wed Feb 24 17:58:59 CET 2010
hello
i am answering myself as nobody seems to be interested in that
problem!!!
i may help someone
I have found the following sequence does the job if inserted in the text
(.geo) file
Physical Line("potgc") = {582, 473, 460, 447, 434, 421, 414, 420, 432,
445, 458, 471, 484, 583};
Physical Line("potgc285") = {Rotate {{0, 0, 1}, {0, 0, 0}, -Pi/2} {
Duplicata { Line{582, 473, 460, 447, 434, 421, 414, 420, 432, 445, 458,
471, 484, 583}; }
}};
quite easy with cut and paste and then mixing the groups if necessary
that's quite useful in construction job of frame structures with many
translations, rotations and or symmetry
i may help someone!!
jean pierre aubry