GstarCAD command

RULESURF command

Create a ruled mesh surface between two lines or curves, with mesh density controlled by the SURFTAB1 system variable.

Command
RULESURF
Alias
—
Tool group
3D
Level
Intermediate

What does RULESURF do?

RULESURF creates a mesh surface between two defining curves. It is useful for constructing simple transition surfaces, canopies, panels and other shapes where a surface needs to span directly between two boundaries.

The defining objects can be lines, arcs, splines, circles or polylines. The resulting mesh follows both curves, with corresponding vertices connected across the space between them.

How to use the command

  1. Draw the two curves that will form the boundaries of the mesh.
  2. If required, change SURFTAB1 to control the number of mesh divisions.
  3. Type RULESURF, then press Enter.
  4. Select the first defining curve near the end from which you want the mesh to begin.
  5. Select the second defining curve.
  6. GstarCAD creates the ruled mesh between the two selected boundaries.
Command: SURFTAB1 ↵
Enter new value for SURFTAB1 <6>: 12 ↵
Command: RULESURF ↵
Select first defining curve: select first curve
Select second defining curve: select second curve

Key RULESURF settings

RULESURF has no additional command-line options, but the selected curves and current mesh settings determine the result.

First defining curve
Defines one boundary of the ruled mesh and helps determine the direction in which the mesh is constructed.
Second defining curve
Defines the opposite boundary. If the first curve is closed, this boundary must also be closed.
SURFTAB1
Controls the number of intervals distributed along each defining curve. Higher values create a denser mesh.
MESHTYPE
Controls whether the command creates a traditional polygon or polyface mesh or a full mesh object.
Selection direction
The points used to select open curves influence how corresponding ends are connected and can affect whether the resulting mesh twists.

Practical example: create a curved canopy

Suppose you have two open arcs positioned parallel to each other and want to create a curved canopy between them. Set SURFTAB1 to 12 for additional mesh divisions.

Run RULESURF and select both arcs near corresponding ends. GstarCAD distributes vertices along each curve and connects them to form a ruled mesh spanning between the two arcs.

Tip

Select open boundary curves near corresponding ends. Selecting them from opposite ends can create a self-intersecting or twisted mesh instead of the expected surface.

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.