The Gmsh API Cookbook

This is a collection of short examples to get you started with the Gmsh API.

Geometry

RecipeConcepts
Embed a point in a curveBoolean operations, OpenCASCADE

Mesh

RecipeConcepts
Create a mesh of connected line segmentsCreating mesh elements by hand

Post processing

RecipeConcepts
Get the list of view namesInspecting Gmsh state, options interface

Gmsh is copyright (C) Christophe Geuzaine and Jean-François Remacle