Hello Alessandro, Have a look at the enclosed file for an example of what Christophe was mentioning. Also, I don't understand what you are trying to achieve "from the command line". Is it that you generate geometry as a physical entity in one .geo file and want to rotate it afterwards ? If that is the case, I don't think this can actually work because there is no input argument that you could use from the command line to specify with Physical Entity you wish to transform. This at least will have to be defined somewhere in a .geo file.
Guillaume DILASSER Doctorant SACM / LEAS CEA - Centre de Saclay - Bât.123 - PC 319c 91191 Gif sur Yvette Cedex - France - [email protected] -----Message d'origine----- De : gmsh [mailto:[email protected]] De la part de Alessandro Vicini Envoyé : lundi 6 février 2017 09:38 À : Christophe Geuzaine <[email protected]> Cc : [email protected] Objet : [Gmsh] R: Geometry modification on physical entities I'm afraid this is not clear to me, how can I use this feature from command line? Thank you. Alessandro -----Messaggio originale----- Da: Christophe Geuzaine [mailto:[email protected]] Inviato: domenica 5 febbraio 2017 10.34 A: Alessandro Vicini Cc: [email protected] Oggetto: Re: [Gmsh] Geometry modification on physical entities > On 3 Feb 2017, at 10:18, Alessandro Vicini <[email protected]> > wrote: > > > Geometry modifications (such as a rotation) can only be applied to elementary > entities? Is there a way to apply them on physical entities instead? Thank > you. No, but you can get all the elementary entities making up a physical group using e.g. "Physical Line {tag}" (it returns a list), which you can then use in the transformation commands. > > Alessandro > > > > > > _______________________________________________ > gmsh mailing list > [email protected] > http://onelab.info/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info _______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
RotatePhysEntity.geo
Description: RotatePhysEntity.geo
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
