Mesh Surface โ
Meshes surfaces and polysurfaces for ASD Shell, with gmsh: quads by default, or triangles. The elements are smaller where a Mesh Refinement asks, the mesh has a node at every point you give it, and a line of nodes along every curve. Faces that touch share their nodes where they meet.
๐ง Grasshopper component โ

BrepsSurfaces or polysurfaces to mesh, as one mesh, sharing nodes where they touch.
m, one for each Brep; the last one is used for the rest.RefinementsWhere the elements are to be smaller.
PointsPoints the mesh must have a node at, such as point loads and columns.
CurvesCurves on the surfaces the mesh must have a line of nodes along, such as walls and beams.
MeshThe mesh, joined into one, each element facing the way its surface does.
Right-click menu โ
| Item | Does |
|---|---|
| Quads | The default. gmsh meshes in triangles laid out in pairs, and joins them into quads. Where the mesh grades round a refinement, a few triangles are left; ASD Shell takes them too. |
| Triangles | Triangles only. They grade evenly round refinements and tight curves. |
The component shows which one is on under its name.
๐ When to use it โ
Use it when
- A slab, a wall or a shell needs smaller elements in places: round columns, openings and point loads, and larger ones elsewhere.
- Columns, supports or point loads must sit on a node: give their points to Points.
- Beams or walls stand on a slab along a line: give the line to Curves, so they share its nodes.
Do not use it when
- You want quads only and the same size everywhere โ Mesh Brep gives pure quads, smoothly laid out by Rhino's QuadRemesh.
- The body is solid โ Mesh Solid.
๐ก What it does โ
Mesh Surface writes the Breps to STEP files, has gmsh mesh them, and reads the mesh back. gmsh is free, and you install it yourself, as you do OpenSees: see Setup. gmsh cuts the Breps into pieces where they touch, and cuts the points and curves into them, so the mesh is one, with a node at each point and element edges along each curve. A shell takes its local axes from the way its element faces, so each element is turned to face the way its Brep face does.
Warning
Set Assemble Model's Tolerance below the smallest element. Its default, 1 cm, welds nodes nearer than that together. Mesh Surface's remark gives the shortest edge: set Assemble Model's Tolerance below it.
Note
Mesh Surface runs every time an input changes, however many elements it is asked for. Press Escape to stop gmsh.
โ ๏ธ Messages โ
| Message | What it means |
|---|---|
| Alpaca4d meshes with gmsh โฆ It found none | gmsh is not installed, or not where Alpaca4d looks. See Setup. |
| Point โฆ is on none of the surfaces | It is left out. |
| Curve โฆ does not lie on the surfaces | It is left out. |
| โฆ elements, โฆ of them triangles where the quads could not all pair up | A remark: ASD Shell takes both. |
| The shortest element edge is โฆ | Set Assemble Model's Tolerance below it. |
| The worst element is shaped โฆ | An element is nearly flat: stresses next to it are unreliable. A smaller Size, or a refinement there, helps. |
| gmsh made no mesh โฆ Its script is โฆ | gmsh failed. The message has its own words, and the folder its script and the geometry are in: open the script in gmsh to see where it stops. |
๐ก Examples โ
- The Slab with Openings meshes a flat slab with a node on each column, finer round the columns and along a stair opening and a shaft.
- The Free-form Canopy meshes a doubly curved NURBS surface with two holes, a node on each column and a line of nodes along two curves.
