GstarCAD command

TABSURF command

Create a tabulated mesh by sweeping a line or curve along a straight direction vector with controlled mesh density.

Command
TABSURF
Alias
—
Tool group
3D
Level
Intermediate

What does TABSURF do?

TABSURF creates a tabulated mesh surface by sweeping a line or curve along a straight direction vector. It is useful for creating mesh forms such as curved roofs, extruded profiles and other surfaces that maintain the same cross-section along a straight path.

The direction vector determines both the direction and length of the resulting mesh, while SURFTAB1 controls the number of divisions along the source curve.

How to use the command

  1. Draw the curve that will define the shape of the mesh.
  2. Draw a line or open polyline to define the sweep direction and distance.
  3. If required, change SURFTAB1 to increase or decrease the mesh density.
  4. Type TABSURF, then press Enter.
  5. Select the path curve and then select the direction vector.
  6. GstarCAD creates the tabulated mesh along the specified direction.
Command: SURFTAB1 ↵
Enter new value for SURFTAB1 <6>: 24 ↵
Command: TABSURF ↵
Select object for path curve: select arc
Select object for direction vector: select line

Key TABSURF settings

TABSURF has no additional command-line options, but the selected geometry and mesh system variables control the result.

Path curve
Defines the profile of the mesh. Supported objects include lines, arcs, circles, ellipses and 2D or 3D polylines.
Direction vector
Defines the straight sweep direction and distance. A line or open polyline can be used.
SURFTAB1
Controls the number of divisions along the path curve. Higher values create a denser mesh.
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.
Vector direction
The point used to select the direction vector determines which direction the mesh extends.

Practical example: create a curved canopy

Draw a semicircular arc with a radius of 50 units and a straight line 200 units long perpendicular to the arc. Set SURFTAB1 to 24 for a smoother curved profile.

Run TABSURF, select the arc and then select the direction line. GstarCAD sweeps the arc along the full 200-unit vector and creates a semi-cylindrical mesh suitable for a simple canopy or tunnel shape.

Tip

If you use an open polyline as the direction vector, only its first and last points define the direction and length; intermediate vertices are ignored.

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.