High-quality 2D mesh generator based on distmesh


dmsh: "The worst mesh generator you'll ever use."

Inspired by distmesh, dmsh is slow, requires a lot of memory, and isn't terribly robust either.

On the plus side, it's got a usable interface, is pure Python (and hence easily installable on any system), and if it works, it produces pretty high-quality meshes.

Combined with optimesh, dmsh produces the highest-quality 2D meshes in the west.

Example capabilities:
 * Primitives
  - circle, rectangle, polygon
  - halfspace
 * Combinations
  - difference
  - nonconstant edge length
  - union
  - intersection
 * Transformations
  - rotation, translation, scaling
 * Local refinement

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python3-dmsh