P line
P lines are used in bracket type files in the bracket contour definition section #vorm to define a point. Each line defines one point.
Syntax:
P <X coordinate> <Y coordinate>
Example: Point definition at (x0,y200)
P 0 200
How the point is used depends on the preceding and subsequent shape lines. If the P line is the first shape line, no action is taken, and the system goes to the next line.
-
L line before the P line – If the line preceding the P line is an L line, a line segment is drawn between the end of the line and the point.
-
C line before the P line – If the line preceding the P line is a C line, the point is used as the end point of the arc.
-
P line followed by another P line – A line segment is drawn between the points.
-
The P line followed by an L line – If the next line after the P line is an L line , a line segment is drawn between the point and the line.
-
The P line followed by a C line – If the next line after the P line is a C line, the point is used as the starting point of the arc.
If the P line is used to create a line segment, a straight line is drawn if the Y coordinates of the point defined in the P line and the previous defined point differ. A curved line is drawn if the Y coordinates are the same. See also L line.
Point definitions PC1, PC2 or PC3 in combination with Construction lines can be used instead of P.