Why doesn't this work?<div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">x1[]=Extrude { {1,0,0},{0,0,0}, Pi/2} {Surface{4};}</font></div><div><font class="Apple-style-span" face="'courier new', monospace">x2[]=Extrude { {1,0,0},{0,0,0}, Pi/2} {Surface{ x1[0] };}</font></div>
</div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">The first extrude works fine. The second throws a syntax error. The GMSH user manual says that the </font><font class="Apple-style-span" face="'courier new', monospace"><i>string</i>[]</font><font class="Apple-style-span" face="arial, helvetica, sans-serif"> format is ok for use in expression lists, and x1[0] should be the top of the extrusion (i.e., the new surface) also according to the user manual.</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif">Keith Pickering</font></div>
<div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></div>