<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Hi,<br>
I think that Layers can only be used with Extrude Line to generate a
surface and <br>
Extrude Surface to generate a volume.<br>
<br>
To specify the number of elements on a line, you should may be use
Transfinite Line as shown<br>
in t6.geo tutorial file.<br>
<br>
Laurent<br>
<br>
<br>
Bondrea Catalin wrote:<br>
<blockquote type="cite"
cite="mid5.1.0.14.2.20030310104707.009f4820@robotics.ucv.ro"> Hello
GMSH user list<br>
<br>
I have a little small problem: <b>layers </b>command<br>
<br>
I try to see the gmsh mailing list on one hand and also the on-line
tutorial to the other hand.<br>
I really want to know how exactly works this command layers, if some
one want to tell me.<br>
Actually how I can use it in a small program like this:<br>
<br>
<font color="#0000ff">//<br>
P1x = 0.0 ;<br>
P1y = 0.0 ;<br>
delta = 0.00635 ;<br>
//<br>
<br>
Point(1) = {P1x, P1y, 0, 1};<br>
<br>
</font>//extrude the point one<br>
<br>
//Way one:<br>
<font color="#0000ff">Extrude Point { 1, {0, 3*delta, 0} };<br>
</font>//Now I want to define the layers after extrusion of one point<br>
<x-tab> </x-tab>//Layers {....... --> hear I don't know
how to use it<br>
<x-tab> </x-tab>// If I use in this way;<br>
<font color="#0000ff"><x-tab> </x-tab>Layers {0,4,0};<x-tab> </x-tab><br>
</font><x-tab> </x-tab><x-tab> </x-tab>//--> i have
this message error : parse error (Layers)<br>
<br>
//Way two:<br>
// in the way which work when I extrude a line<br>
<font color="#0000ff">Extrude Point { 1, {0, 3*delta, 0} }<br>
{Layers {0,4,0};};<br>
<br>
</font>// but the gmsh give to me two errors:<br>
<x-tab> </x-tab>// parse error ({)<br>
<x-tab> </x-tab>// parse error (})<br>
//Ok I will try to delete the {} and the syntax will be:<br>
<br>
//Way three <br>
<font color="#0000ff">Extrude Point { 1, {0, 3*delta, 0} }<br>
Layers {0,4,0};<br>
</font>//End I will have the same error message -->: parse error
(Layers)<br>
<br>
Please help me.<br>
Regards,<br>
Catalin<br>
<br>
<pre wrap="">
<hr width="90%" size="4">
_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/gmsh">http://www.geuz.org/mailman/listinfo/gmsh</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Laurent CHAMPANEY - UVSQ Dept de Mecanique
Laboratoire d'Etudes Mécaniques des Assemblages (CNRS-FRE2481)
RC 28 - Bat Descartes
45, av des Etats Unis - 78035 VERSAILLES Cedex
Tel 01 39 25 30 26 - Fax 01 39 25 30 15
</pre>
</body>
</html>