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
- Draw the curve that will define the shape of the mesh.
- Draw a line or open polyline to define the sweep direction and distance.
- If required, change
SURFTAB1to increase or decrease the mesh density. - Type
TABSURF, then press Enter. - Select the path curve and then select the direction vector.
- 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.
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.