<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="+1">I am trying to add various gmsh facilities to a
FreeCAD workbench.</font></p>
<p><font size="+1">One is a straight Tessellate of a FreeCAD shape
or mesh.</font></p>
<p><font size="+1">I think I have the meshing correct as if I save
the mesh of a Cube I get the attached file.</font></p>
<p><font size="+1">But I am having problems recreating a visual mesh
under FreeCAD.</font></p>
<p><font size="+1">To recreate the Facets I have a function that
does</font></p>
<p><font size="+1">nodes, coordLst, pcords =
gmsh.model.mesh.getNodes(2)</font></p>
<p><font size="+1"># should return nodes and coordinate<br>
</font></p>
<p><font size="+1">faceNodes =
gmsh.model.mesh.getElementFaceNodes(2,3,-1,True)<br>
# nodes, coords are numpy arrays</font></p>
<p><font size="+1">But don't seem to be retrieving the info for the
triangular faces in the mesh must<br>
be not understanding something.<br>
</font></p>
<p><font size="+1"><br>
</font></p>
<p><font size="+1"></font><br>
</p>
</body>
</html>