Select Git revision
ACISVertex.cpp
Forked from
gmsh / gmsh
Source project has a limited visibility.
-
Christophe Geuzaine authoredChristophe Geuzaine authored
aneurysmBL.py 520 B
from dgpy import *
GmshSetOption('General', 'Verbosity', 99.0)
GmshSetOption('Mesh', 'SaveAll', 1.0)
GmshSetOption('Mesh', 'Algorithm', 1.0)
g = GModel()
g.setFactory('Gmsh')
g.load("aneurysm.stl");
g.createTopologyFromMesh();
face = g.getFaceByTag(1);
newface = g.extrudeBoundaryLayer(face, 4, 0.5, 0, -1)
newface2 = g.extrudeBoundaryLayer(face, 4, -0.5, 1, -1)
print "*** face = %d " % face.tag()
print "*** new face = %d newface2 = %d " % (newface.tag(), newface2.tag())
g.mesh(2)
g.save("aneurysmBL.msh")