GstarCAD command

EDGESURF command

Create a 3D mesh surface from four connected boundary curves such as lines, arcs, splines or open polylines.

Command
EDGESURF
Alias
—
Tool group
3D
Level
Intermediate

What does EDGESURF do?

EDGESURF creates a 3D mesh surface bounded by four connected curves. Unlike RULESURF, which spans between two curves, EDGESURF uses four adjoining edges to define the complete boundary of the mesh.

The boundary objects do not have to lie in the same plane, making the command useful for creating curved panels, transition surfaces and other irregular mesh forms.

How to use the command

  1. Create four boundary curves whose endpoints meet to form a closed four-sided loop.
  2. If required, adjust SURFTAB1 and SURFTAB2 to control the mesh density.
  3. Type EDGESURF, then press Enter.
  4. Select the first boundary curve. This selection helps establish the mesh direction.
  5. Select the remaining three connected boundary curves.
  6. GstarCAD creates a mesh fitted between all four edges.
Command: EDGESURF ↵
Select first boundary: select first curve
Select second boundary: select second curve
Select third boundary: select third curve
Select fourth boundary: select fourth curve

Key EDGESURF settings

EDGESURF has no additional command-line options, but the boundary geometry and mesh system variables determine the resulting surface.

Boundary curves
Four adjoining lines, arcs, splines or open 2D or 3D polylines define the perimeter of the mesh.
Connected endpoints
Each boundary must meet the next one at its endpoint so that the four objects form a closed loop.
SURFTAB1
Controls the mesh density in one direction. Higher values produce more divisions and a finer mesh.
SURFTAB2
Controls the mesh density in the other direction and can be increased when a smoother surface representation is required.
MESHTYPE
Controls the type of mesh created. A value of 1 creates a full mesh object, while 0 creates a traditional polygon or polyface mesh.

Practical example: create a curved roof panel

Suppose you have two curved arcs forming the front and rear edges of a roof panel, connected by two straight side edges. Make sure all four objects meet exactly at their endpoints.

Set SURFTAB1 and SURFTAB2 to 20, then run EDGESURF and select the four boundaries. GstarCAD creates a mesh that follows the curved perimeter, producing a smooth 3D roof panel between the four edges.

Tip

The four boundaries can be non-coplanar, but their endpoints must connect correctly. If the mesh appears twisted, check the boundary connections and the order and location at which the edges were selected.

All commands Updated 14 October 2026
Continue learning
View all commands

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.