Hi Nico, 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.
I will post my functions here if I finish them. Thanks and cheers, Trevor > ---------- Forwarded message ---------- > From: "Nico Schlömer" <[email protected]> > To: "[email protected]" <[email protected]> > Cc: > Date: Sun, 6 Oct 2013 04:02:02 +0200 > Subject: [Gmsh] python4gmsh > Hi all, > > 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 <https://github.com/nschloe/python4gmsh>. 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,...). > > 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. > > Cheers, > Nico > > ______________________________ > _________________ > gmsh mailing list > [email protected] > http://www.geuz.org/mailman/listinfo/gmsh >
_______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
