GDSIIΒΆ

Learning targets

  • Import polygon from GDSII file

This example shows how to import a structure from a GDSII file.

_images/ex2d_gdsII_mesh.png

The polygon definition in layout.jcm contains a section GDS2 with a reference to a GDSII file (Filename). All GDSII structures from the specified layer are imported.

.jcm Input File

  • layout.jcm [ASCII]

     1Layout2D {
     2  Name = "Layout3D_with_GDSII"
     3  UnitOfLength = 1e-9
     4  Objects {
     5    Polygon {
     6      Name = "GDSPolygon"
     7      GDS2 { 
     8        Filename = "gds_example.gds"
     9        ScalingFactor = 0.05
    10        Layer = 1
    11      }
    12      DomainId = 2
    13    }
    14    
    15    Parallelogram {
    16      DomainId = 1
    17      Priority = -1
    18      BoundingBox {
    19        Offset = [2 2 2 2 ]  
    20        Parent = "GDSPolygon" 
    21      }
    22    }
    23  }
    24}