API Reference
GmshSTL.GmshSTL_dir Method
GmshSTL_dir()Return the root directory of the GmshSTL.jl package.
sourceGmshSTL.gmsh_mesh_stl Method
gmsh_mesh_stl(F, V, algorithm3d, min_length, max_length,
optimize_netgen, quality, msh_version,
angle_tol, verbosity, output_path)Create a 3D volumetric mesh from a surface mesh (F, V) using Gmsh and save it to output_path.
Arguments
F: face connectivity, triangles indexing intoVV: vertex coordinates, points in 3Dalgorithm3d: Gmsh 3D meshing algorithm:1: Delaunay4: Frontal7: MMG3D
min_length: minimum characteristic mesh sizemax_length: maximum characteristic mesh sizeoptimize_netgen: enable Netgen optimization:0: off1: on
quality: Gmsh mesh quality metric type, usually2msh_version: output.mshversion, for example2.2or4.1angle_tol: tolerance for detecting overlapping facetsverbosity: Gmsh verbosity leveloutput_path: path to save the generated mesh file
Notes
(F, V)must define a closed watertight surface.The surface is internally written to a temporary STL file.
A tetrahedral 3D mesh is generated inside the enclosed volume.