Hello,
You don't have anything drawn under ruler 2, so you only see the bulk all the way along ruler 2, you don't have any (transitions to) material 1 here, hence you only apply material 2 (0.1) all the way along ruler 2...
Cheers,
Tomas
Hello,
It's easier to make a DRC script using the area method (layer.area): https://www.klayout.de/doc-qt5/about/drc_ref_layer.html#h2-128
Here's an example:
# layer inputslayer_DIE_EXTENTS = input("1/0")layer_1 = input("2/0")…
Hello,
The "Fill cell margin" field in the "Fill Cell" tab defines the minimum space (margin) between first and second order fill cells. The "Fill cell margin" field in the "Options" tab doesn't seem to do an…
Hello,
I installed the windows master "klayout-master-win64-c64-install.exe" in a new folder "KLayout64bc" but got the following error when running the app:
(Image)
What could be the issue? The regular version (0.28.11) insta…
Hello,
I found the script below years ago, don't remember where...
It adds a menu entry: Tools > Export > Hierarchy To Text
It opens up in a Browser window...
Cheers,
Tomas
Hi Matthias,
I noticed that a new line "\n" in the string "text" parameter results in a space making the "line_spacing" parameter kinda obsolete (at least in version 0.27.13). Can you verify?
Cheers,
Tomas
Hello Matthias,
I've added a new font type (gds file) in the fonts folder.
Now I would like to instantiate the "TEXT" pcell with this new font type via script.
This works well via the parameter "font", using 1 instead of 0.
But …
Hello,
Just tested: it works via the menu "Tools > gros_die" but not from within the "Macro Development" window...
Can you try?
You can also try the attached version: menu entry is "Tools > Generate > Wafer Map Ca…
Hello,
The script below will add a "cross ruler" in the bbox center of each selected object. It can then be used to start your measurement from, or for instance, manually add a label (Text) in a I/O pad center or manually route (Path) fro…
Hi Matthias,
I'm using 0.27.13 on Windows...
1) White background: selected layer and cell are highlighted in gray, layer/cell under the cursor in blue
(Image)
2) Black background: selected layer and cell are not highlighted, layer/cell under th…
Hi Matthias,
Thanks for the info!
It works when placing the cursor on top of a shape or shapes and press the "T" key...
The menu entry "Edit > Selection > Tap" doesn't do anything though (probably because your cursor is …
Hello,
The height of the processing window is 2um by default. You can increase it by adding the next line at the top of your script:
height(10) # 10um, or more if needed...
Cheers,
Tomas
Hello,
I made a little script (attached) which loads a layout and image (.lyimg) simultaneously.
1) first, create a .lyimg file: Edit > Add Image > fill in parameters > Save As... > .lyimg file
(preferably, save it in the same folder a…
Hi Matthias,
Thank you for the source!
As I had the same issue as listed above so I just removed the line "eng._finish" and it worked fine without errors. Are "eng._start" and "eng._finish" really necessary?
cheers,
…