Hi Miro, sorry about giving you the wrong info. <div>I’ve still got a lot to learn about Gmsh.</div><div><br></div><div>Thanks,</div><div>Max<br><br>On Friday, September 27, 2019, Miroslav Kuchta <<a href="mailto:miroslav.kuchta@gmail.com">miroslav.kuchta@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Perfect, thank you.</div><div><br></div><div>Miro<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 27, 2019 at 8:48 AM Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 26 Sep 2019, at 17:21, Miroslav Kuchta <<a href="mailto:miroslav.kuchta@gmail.com" target="_blank">miroslav.kuchta@gmail.com</a>> wrote:<br>
> <br>
> Hi Max,<br>
> <br>
> what I am trying to accomplish is the ability to call something like `model.save('foo.geo')`<br>
<br>
Use gmsh.write("foo.geo_unrolled")<br>
<br>
Christophe<br>
<br>
<br>
<br>
> in the attached script. I am only beginning to explore the API and this would allow me to <br>
> create part of the model in python, save it and optionally continue in gmsh language. I guess <br>
> this would be useful if not all of the API is exposed.<br>
> <br>
> Thanks, Miro<br>
> <br>
> On Thu, Sep 26, 2019 at 4:23 PM Max Orok <<a href="mailto:morok@mevex.com" target="_blank">morok@mevex.com</a>> wrote:<br>
> Hi Miro, <br>
> <br>
> I don't think so. Can you tell us more about what you are trying to accomplish?<br>
> The tutorials have many examples of equivalent functionality between geo and python (c++, julia, etc.)<br>
> <br>
> Geo examples: <a href="https://gitlab.onelab.info/gmsh/gmsh/tree/master/tutorial" rel="noreferrer" target="_blank">https://gitlab.onelab.info/<wbr>gmsh/gmsh/tree/master/tutorial</a><br>
> Equivalent API examples: <a href="https://gitlab.onelab.info/gmsh/gmsh/tree/master/demos/api" rel="noreferrer" target="_blank">https://gitlab.onelab.info/<wbr>gmsh/gmsh/tree/master/demos/<wbr>api</a><br>
> <br>
> Sincerely, <br>
> Max<br>
> <br>
> On Wed, Sep 25, 2019 at 4:20 PM Miroslav Kuchta <<a href="mailto:miroslav.kuchta@gmail.com" target="_blank">miroslav.kuchta@gmail.com</a>> wrote:<br>
> Hi,<br>
> <br>
> is there a way to write as geo file the model constructed using python API?<br>
> <br>
> Thanks, Miro<br>
> ______________________________<wbr>_________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br>
> <br>
> <br>
> -- <br>
> Max Orok<br>
> Contractor<br>
> <a href="http://www.mevex.com" rel="noreferrer" target="_blank">www.mevex.com</a><br>
> <br>
> <br>
> <foo.py>______________________<wbr>_________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br>
<br>
— <br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science <br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer" target="_blank">http://www.montefiore.ulg.ac.<wbr>be/~geuzaine</a><br>
<br>
<br>
<br>
</blockquote></div>
</blockquote></div><br><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Max Orok</div><div>Contractor<br></div></div><div dir="ltr"><a href="http://www.mevex.com" target="_blank">www.mevex.com</a><br><br><img src="https://docs.google.com/uc?export=download&id=1fHTIiW4OMUjQr1iOkspQ7wiEsxunoOs0&revid=0B6x5w-5zVaEjSkpwbm5oY29jbG1XMzJoYldXTmJpNGFtb3dVPQ" width="164" height="42"><br></div></div></div></div></div><br>