This (undocumented...) API will actually be remove quite soon, replaced by a much simpler, integer-based API that is very close to what is done in .geo files.
If you feel adventurous you can give it a try: cf. Geo/GModelIO_Geo.h (for the built-in CAD kernel) and Geo/GModelIO_OCC.h (for the OpenCASCADE kernel). Christophe > On 1 Jun 2017, at 12:29, Antonio Cervone <ant.cerv...@gmail.com> wrote: > > Hello, > when trying to use gmsh library API, I was not able to create ruled surfaces > when the edges are not properly oriented. At this link > > https://gist.github.com/capitalaslash/47c04578b8d34f42df5ff892b577b5be > > you can see an example that fails without the patch attached there. Is it the > correct way to do it? > Thanks, > > Antonio > _______________________________________________ > gmsh mailing list > gmsh@onelab.info > http://onelab.info/mailman/listinfo/gmsh -- Prof. Christophe Geuzaine University of Liege, Electrical Engineering and Computer Science http://www.montefiore.ulg.ac.be/~geuzaine Free software: http://gmsh.info | http://getdp.info | http://onelab.info _______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh