fem.gmsh.surface_stl

fem.gmsh.surface_stl(mesh)

A dual-contour :class:~cadjoint.meshing.Mesh as ASCII STL text.

ASCII rather than binary because the geometry crosses the tet_mesher plugin boundary as a string, and because binary STL stores float32 while the ASCII writer keeps eight significant digits.