Meshers
xfea meshes with Gmsh: lines, surfaces and solids, from xfea’s geometry or a STEP file.
Gmsh runs as a program of its own, the Gmsh worker (xfea-gmsh-worker, under the GNU GPL), started by xfea when a part
is meshed. It is installed by xfea-mcp and by pip install "xfea[all]"; on its own, pip install "xfea[gmsh]".
xfea meshersIt lists gmsh once xfea is installed. If the worker itself is missing, meshing a part says so and how to install
it.
A meshing plugin of your own registers under the xfea.meshing entry point: see Plugins.
With more than one installed, name the one to use, part.mesh(..., algorithm="gmsh"), or set it once,
xfea.meshing.set_algorithm("gmsh").
Meshing shows lines, surfaces and solids being meshed.
© 2026 Francesco Ranaudo · Text and pictures CC BY 4.0 · Code Elastic License 2.0 · how to reuse them