# RULESURF Command
[GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [R](%28R%29.md)
Create a ruled mesh between two curves.
Command Access:
> **Menu:** Draw \> Modeling \> Mesh \> Ruled Mesh
>
> **Command entry:** RULESURF
Command Prompts:
> Select objects to define first end:
>
> Select objects to define other end:
>
> The objects you select define the edges of the ruled mesh. The objects can be points, lines, splines, circles, arcs, or polylines. If one of the boundaries is closed, then the other boundary must also be closed. You can use a point as the other boundary for either an open or a closed curve, but only one of the boundary curves can be a point. The 0,0 vertex is the endpoint of each curve nearest the point you used to select that curve.
>
> If the curve is a circle, the ruled mesh begins at the 0-degree quadrant point, as determined by the current X axis plus the current value of the system variable SANPANG. For closed polylines, the ruled mesh starts at the last vertex and proceeds backward along the segments of the polyline. Creating a ruled mesh between a circle and a closed polyline can be confusing. It might be preferable to substitute a closed semicircle polyline for the circle.
>
> The ruled mesh is constructed as a 2 by N polygon mesh. Half the mesh vertices are placed at equal intervals along one defining curve, and the other half are placed at equal intervals along the other curve. The number of intervals is specified by the system variable SURFTAB1. The distance between the vertices along the two curves differs if the curves are of different lengths becuase the number is the same for each curve.
>
> The N direction of the mesh is along the boundary curves. If both boundaries are closed, or if one is closed and the other is a point, the resulting polygon mesh is closed in the N direction and N equals SURFTAB1. If both boundaries are open, N equals SURFTAB1 \+ 1, because division of a curve into n parts requires n \+ 1 tabulations.
>
> If you select objects at the same ends, a polygon mesh is created.If you select objects at opposite ends, a self-intersecting polygon mesh is created.
## Other versions with matching text
[GstarCAD 8 (2013–2014)](../../../2013/Commands/R/RULESURF%20Command--3d9cea6c4b82.md)