;
PolyCAD

Creates a polyline.

Usage:

Polyline ObjectName
  X1 Y1 Z1 The three coordinates of the points separated by spaces, the z coordinate may be omitted creating a polyline on the x/y plane
  X2 Y2 Z2  
  X3 Y3 Z3  
  ... ... ...  
  Xn-1 Yn-1 Zn-1  
  Xn Yn Zn  
  CLOSE Including the optional command CLOSE creates a closed polyline.
End

Example:

polyline marginline

  0 0 0
  1 2 3
  2 4 9
  3 6
  10 1 6
  20 3 6
End