What does 3DPOLY do?
3DPOLY creates a 3D polyline consisting of connected straight-line segments. Unlike a standard 2D polyline, its vertices can have different X, Y and Z coordinates, allowing the polyline to extend freely through 3D space.
All segments remain part of a single object, making 3DPOLY useful for creating 3D paths, routing lines and other geometry that changes elevation. A 3D polyline can contain straight segments only, not arc segments.
How to use the command
- Type
3DPOLYor its shortcut 3P, then press Enter. - Specify the starting point of the 3D polyline.
- Specify the next endpoint using a picked point or X, Y and Z coordinates.
- Continue specifying additional endpoints as required.
- Press Enter to finish, or choose Close to connect the final point back to the starting point.
Command: 3P ↵
Specify start point of polyline: 0,0,0 ↵
Specify endpoint of line or [Undo]: 100,0,0 ↵
Specify endpoint of line or [Undo]: 100,50,30 ↵
Specify endpoint of line or [Close/Undo]: 150,50,30 ↵
Specify endpoint of line or [Close/Undo]: Enter
Key 3DPOLY options
The command has two main options for controlling the polyline while it is being drawn.
Practical example: create a 3D routing line
Suppose a route starts at 0,0,0, runs 100 units horizontally, rises to an elevation of 30 units and then continues another 50 units.
Run 3DPOLY and enter the points 0,0,0, 100,0,0, 100,50,30 and 150,50,30. GstarCAD creates one continuous 3D polyline connecting all four points.
Tip
Use 3DPOLY when the vertices need different Z coordinates. For a conventional polyline drawn in one plane with straight and arc segments, use PLINE instead.