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]

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