# 3DMESH Command
[GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [3D](%283D%29.md)
## Function Description:
> Create a free-form polygon mesh
**Menu:**
> Draw\>Modeling\>Meshes\>3D Mesh
**Command Entry:**
> 3DMESH
**Command Prompt:**
> Number of vertices along primary mesh axis (between 2 and 256):*Enter a value between 2 and 256*
>
> Vertices along secondary mesh axis (between 2 and 256):*Enter a value between 2 and 256*
>
> The location of each vertex in the mesh is defined by *m* and
> *n*, the row and column indices of the vertex. Defining vertices begins with vertex (0,0). You must supply the coordinate locations for each vertex in row
> *m* before specifying vertices in row *m* \+ 1\.
>
> Vertices may be any distance from each other. The *M* and
> *N* orientation of a mesh depends on the position of its vertices.
>
> 3DMESH polygon meshes are always open in both *M* and
> *N* directions. You can close a mesh with PEDIT.
## Other versions with matching text
[GstarCAD 2012](../../../2012/Commands/3D/3DMESH%20Command.md)