# EDGESURF Command [GstarCAD 2020](Help%20System/GSTARCAD/2020/Index.md) → [Commands](Help%20System/GSTARCAD/2020/Commands/(Commands).md) → [E](Help%20System/GSTARCAD/2020/Commands/E/(E).md) Create a three-dimensional polygon mesh. Command Access: > **Menu:** Draw \> Modeling \> Meshes \> Edge Mesh > > **Command entry:** EDGESURF Command Prompts: > Select the first of four connected entities for edge surface: > > You must select the four adjoining edges that define the mesh patch. The edges can be lines, arcs, splines, or open 2D or 3D polylines. The edges must touch at their endpoints to form a topologically rectangular closed path. > > You can select the four edges in any order. The first edge determines the *M* direction of the generated mesh, which extends from the endpoint closest to the selection point to the other end. The two edges that touch the first edge form the *N* edges of the mesh. ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/E/EDGESURF%20Command--23fd92d6c07e.md) · [GstarCAD 2015](../../../2015/Commands/E/EDGESURF%20Command--23fd92d6c07e.md) · [GstarCAD 2016](../../../2016/Commands/E/EDGESURF%20Command--23fd92d6c07e.md) · [GstarCAD 2017](../../../2017/Commands/E/EDGESURF%20Command--23fd92d6c07e.md) · [GstarCAD 2021](../../../2021/Commands/E/EDGESURF%20Command--23fd92d6c07e.md)