[Gmsh] [API] Get entities expressions

Christophe Geuzaine cgeuzaine at uliege.be
Thu Dec 27 20:42:35 CET 2018

> On 21 Dec 2018, at 14:58, Gwenaël Pallares <gwenael.pallares at gmail.com> wrote:
> Hi,
> I use the new API of Gmsh (v 4.0.7) to read and extract some
> information from a .geo file.
> I want to know if there is any way to gather the properties of an entity ;
> I saw the function gmsh.model.getType, that returns the type of the entity
> (like "Line","Circle",...) but I do not know how to get its algebraic equation
> (or its parametric equation if there exists).

No that's not supported - it's not easy, as each type of entity (for each underlying CAD kernel) has its own internal representation...


> Thank you for your help.
> Gwenaël Pallares
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

Free software: http://gmsh.info | http://getdp.info | http://onelab.info

More information about the gmsh mailing list