Getting Started#

MyMesh is a Python package that can be used to write python scripts are be used interactively, for example in Jupyter Notebooks or other IPython environments. It can also be used in Matlab through Matlab’s Python interface (see Using MyMesh in MATLAB).

What do you want to do?#

There are a lot of different things you can do with MyMesh, depending on what you’re trying to do, there are different places to start.

What do you want to create a mesh from?

See also Mesh Generation Examples.

Functions, specifically implicit functions, can be turned into meshes using the implicit module.

A few pre-defined implicit functions are available in implicit, such as sphere(), torus(), and triply periodic minimal surfaces like gyroid().

See the user guide on Implicit Meshing for further explanation of what implicit functions are and how to pre-defined them, and the implicit mesh generation tools available in the implicit module: VoxelMesh(), SurfaceMesh(), TetMesh().