I am trying to add various gmsh facilities to a FreeCAD workbench.
One is a straight Tessellate of a FreeCAD shape or mesh.I think I have the meshing correct as if I save the mesh of a Cube I get the attached file.
But I am having problems recreating a visual mesh under FreeCAD. To recreate the Facets I have a function that does nodes, coordLst, pcords = gmsh.model.mesh.getNodes(2) # should return nodes and coordinate faceNodes = gmsh.model.mesh.getElementFaceNodes(2,3,-1,True) # nodes, coords are numpy arraysBut don't seem to be retrieving the info for the triangular faces in the mesh must
be not understanding something.
test.msh
Description: Mesh model
_______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh