[Gmsh] Bundary layer extrusion in Python

Mikko folke.mam at gmail.com
Wed Apr 3 11:54:36 CEST 2019


Hi all,

I'm trying to extrude boundary layer using the Python interface. I would
achieve this .geo command:
Extrude {
Curve{1};
Layers{{1,1},{0.001,0.0022}};
Recombine;
}
which should be in Python:
gmsh.model.occ.extrude([(1,1)], numElements = [1,1], heights = [0.001,
0.0022], recombine = True)
but the extrude command requires also the translation parameters dx, dy,
dz. Is this function still missing from the Python API?

Thanks, Mikko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20190403/41ffdbe0/attachment.html>


More information about the gmsh mailing list