mirror of https://github.com/KLayout/klayout.git
10 lines
234 B
Plaintext
10 lines
234 B
Plaintext
|
|
|
||
|
|
# some prep steps
|
||
|
|
ly = RBA::Layout::new
|
||
|
|
ly.create_cell("TOP")
|
||
|
|
l1 = ly.layer(1, 0)
|
||
|
|
ly.top_cell.shapes(l1).insert(RBA::Box::new(0, 0, 1000, 2000))
|
||
|
|
l2 = ly.layer(2, 0)
|
||
|
|
ly.top_cell.shapes(l2).insert(RBA::Box::new(500, 500, 1500, 2500))
|
||
|
|
|