Interoperability with other packges

General

MeshProcessing.loadmeshFunction
mesh::TriMesh, mobj = loadmesh(filename[, typ=Float64])

Load triangle mesh from file, e.g., in OFF format using FileIO and GeometryBasics

mobj is the mesh as defined by GeometryBasics and can be used for rendering. coordinates(mobj) and faces(mobj) provide Vectors of vertex positions and triangle indices, respectively.

See also readoff

source
MeshProcessing.meshobjFunction
mobj = meshobj(mesh)
mobj = meshobj(mesh; uv=..., normals=...)
mobj = meshobj(x, t; ...)

Convert mesh or equivalently triangulation x, t to mesh as defined by GeometryBasics, which can be used for rendering, e.g., with Makie (see Makie.mesh). Texture coordinates uv are passed as matrix columns or as a function that maps vertex positions. Normals are passed as a matrix. They are estimated if either :auto or an empty matrix is passed.

source

Plots recipes