Simple description of a polyline, usable for polygons. Need to be a separate block because of the line length limitation vs. possible number of vertices.
A polygon consists of an ordered list of vertices. The block type is polyline and has the version v1. The block ID is used for referencing from various other tEDAx blocks.
A polyline is a named, ordered list of vertices specified in either CC or CCW. A polyline may not have self-intersections and must contain at least 3 vertices. Closing is automatic: the last vertex must not repeat the first.
Vertices are specified by the v command:
command | parameter names | explanation |
---|---|---|
v | x y | the next vertex of a polygon |
begin polyline v1 slash v 0.635 5.08 v 2.54 0.635 v 3.175 0.635 v 1.27 5.08 end polyline