Hello,<br><br> I am looking within GMSH API (2.7.0) to use transfinite lines/surfaces to generate quadrangular mesh.<br> I see this link (<a href="http://www.geuz.org/pipermail/gmsh/2011/006803.html">http://www.geuz.org/pipermail/gmsh/2011/006803.html</a>) from Takuya OSHIMA oshima at <a href="http://eng.niigata-u.ac.jp">eng.niigata-u.ac.jp</a> and i used this .CPP until the line of "writeMSH".<br>
<br> And i changed in .CPP code:<br>    //Mesh.RecombineAll=1;<br>    GmshSetOption("Mesh", "RecombineAll", 1.);<br><br> Now i want define with API the transfinite line/surface and the double value.<br>
Transfinite Line {1,3} = 3 Using Progression 1.000000;<br>Transfinite Line {2,4} = 3 Using Progression 1.000000;<br>Transfinite Surface {1} = {1,2,3,4};<br><br> In this link (<a href="http://www.geuz.org/pipermail/gmsh/2008/003276.html">http://www.geuz.org/pipermail/gmsh/2008/003276.html</a>) from Prof. Christophe Geuzaine cgeuzaine at <a href="http://ulg.ac.be">ulg.ac.be</a> his mentioned about the function F_Transfinite() in Mesh/meshGEdge.cpp.<br>
 The method is not public and i didn't see any example in other place.<br> Could anyone suggest the correct way to do this declaration?<br><br>att.<br>Bruno Correia<br><br><br><br>