BasicTools.Bridges.gmshBridge module

BasicTools.Bridges.gmshBridge.CheckIntegrity(GUI=False)[source]
BasicTools.Bridges.gmshBridge.StlToMesh(stlmesh: UnstructuredMesh) UnstructuredMesh[source]

Fill 2D close surface with 3D elements. This functionality uses gmsh whit a external call

Parameters:

stlmesh (UnstructuredMesh) – a close mesh composed only by 2D elements.

Returns:

a mesh composed with by the 2D exterior mesh filled with 3D elements. The order of the 2D element (and nodes) is not necessarily preserved.

Return type:

UnstructuredMesh