[Gmsh] Ellipse

David Colignon David.Colignon at univ.u-3mrs.fr
Thu Mar 13 13:46:37 CET 2003


A 13:28 13/03/2003 +0100, Alessandro Mori a écrit :
>Hi,
>
>I am a new user of gmsh. I need to know how to draw an
>arc of an ellipse. Somebody can help me?
>
>Thanks,
>
>Alessandro Mori
>_______________________________________________
>gmsh mailing list
>gmsh at geuz.org
>http://www.geuz.org/mailman/listinfo/gmsh
>
>


Point(1) = {0,0,0,1};

Point(2) = {10,0,0,1};

Point(3) = {0,4.6,0,1};

Point(4) = {5,4,0,1};

Ellipsis(1) = {2,1,2,3};

Ellipsis(2) = {2,1,2,4};

Ellipsis(3) = {4,1,2,3};

Point(400) = {5,2,0,1};

Ellipsis(100) = {2,1,2,400};

Ellipsis(200) = {400,1,2,3};

Point(300) = {-9,1,0,1};

Point(500) = {-1,4,0,1};

Ellipsis(300) = {500,1,2,300};



Dave



************************************************************
* David Colignon, Ph.D.                                    *
* LaGEM - Laboratoire de Genie Electronique de Marseille   *
* Universite d'Aix-Marseille III  -  Service A51           *
* Avenue Escadrille Normandie-Niemen                       *
* 13397 Marseille Cedex 20 - France                        *
* Tel: +33 (0)4 91 28 85 08  Fax: +33 (0)4 91 28 89 87     *
*      +33 (0)4 91 28 83 65  David.Colignon at univ.u-3mrs.fr *
************************************************************