<div dir="ltr"><div>Hi Nico,<br><br></div><div>This is very good. I had been wanting to create something similar so that I could define curves based upon beginning and ending trajectories AND total arc length, but I was feeling too lazy to write all the necessary low level functions to build the more complicated ones...now I have a great starting point for that, in addition to the higher level geometry functions you created.<br>
<br></div><div>I will post my functions here if I finish them.<br><br>Thanks and cheers,<br><br>Trevor<br></div><div><br></div><div><br></div><div><br> </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
---------- Forwarded message ----------<br>From: "Nico Schlömer" <<a href="mailto:nico.schloemer@gmail.com">nico.schloemer@gmail.com</a>><br>To: "<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>" <<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a>><br>
Cc: <br>Date: Sun, 6 Oct 2013 04:02:02 +0200<br>Subject: [Gmsh] python4gmsh<br>Hi all,<div><br></div><div>for
a while now, I've been somewhat dissatisfied with Gmsh's scripting
interface and I finally took some time write a Python "interface",
python4gmsh <<a href="https://github.com/nschloe/python4gmsh" target="_blank">https://github.com/nschloe/python4gmsh</a>>.
I'm using quotes here since python4gmsh is really just a thin layer
that spits out Gmsh code which can be fed into Gmsh to create meshes. So
far it consists of a `basic` module that imitates Gmsh commands, and an
`extra` module that provides convenience functions for basic geometric
objects (balls, boxes, tori,...).</div>
<div><br></div><div>It's already been a considerable time-saver for me,
so I figured it might be for some of you as well. Feel free to fetch the
code from Github (about 300 lines total now) and play around with it;
comments, suggestions, and especially pull requests are welcome.</div>
<div><br></div><div>Cheers,</div><div>Nico</div>
<br>______________________________<div id=":20o">_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a></div></blockquote></div>