[Gmsh] A parse error

Yonli Zhan yonli.zhan at gmail.com
Fri Sep 14 14:28:34 CEST 2007


Hi, I am a Gmsh beginner,  the following is my first taste.
I want to get a sphere by using the Extrude.
But, there is a error message " Line 0: parse error (:)", and I can
not find what's wrong.
Hope somebody can do me a favor. Thanks!

====================================
lc=0.2;

Point(1)={0,-1,0,lc};
Point(2)={0,1,0,lc};
Point(3)={0,0,0,lc};

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

Line(2)={1,2};
Line Loop(1)={-1,2};

Plane Surface(1)={1};

Extrude {{0,1,0},{0,0,0},Pi/2} {Surface{1};};
===========================================

-- 
Best regard.

Yonli Zhan

Class B0602092,Shanghai Jiao Tong University
No.800,Dongchuan Road
Shanghai, 200240
P.R.China
Tel: +86-21-54743341