polysearch web page logo

Polygon Template Text Format

For applications where the user is synthesizing or otherwise generating polygon templates where GDSII is not easy to generate, Polysearch can take the template data as a text file.

Syntax

Number_of_Polygons        the number of polygons to follow
Vertices_in_Polygon       the number of vertices in this polygon
X Y                       X and Y coordinates in database units
X Y
X Y
X Y
X Y                       Note that the last vertex coord = first vertex coord
Vertices_in_Polygon       the number of vertices in this polygon
X Y
X Y
X Y
X Y
X Y
.
.
.

Sample File

The following template file has 4 rectangular shaped polygons in it. Note that the vertex count for each rectangle is 5 - that is because the GDSII convention is that the last vertex = first vertex coordinate.

4                       4 polygons
5                       this poly has 5 vertices
1303300 916150          X1 Y1
1323700 916150          X2 Y2
1323700 910800          X3 Y3
1303300 910800          X4 Y4
1303300 916150          X5 Y5
5
1316850 917750
1323700 917750
1323700 892450
1316850 892450
1316850 917750
5
1303300 901050
1323700 901050
1323700 895700
1303300 895700
1303300 901050
5
1303300 917750
1310150 917750
1310150 895700
1303300 895700
1303300 917750
GDSII representation of template text file



Examples Download Revision History Price