Hello,
It has something to do with the internal behavior of float calculations (don't ask me why, I'm not an expert ;-). Just add ".round(8)" (Ruby) and it will round to the right value (8 decimals, much smaller than any DBU value)...
Ch…
Hi Sascha,
1) What I normally do before merging gds files is giving each one of them a unique prefix, like "DIE1_", "DIE2_", etc. using the rename all cells script (https://www.klayout.de/useful_scripts.html#rename_cells.lym). T…
Hello,
You can make a small drc script:
layer2 = layer1.raw.merged(2) # this will give you the overlaps
layer3 = layer1 - layer2
https://www.klayout.de/doc-qt5/about/drc_ref_layer.html#h2-1746
Cheers,
Tomas
Hello Matthias,
Thank you for the detailed explanation. It is clear to me now. :smiley:
For each iteration a new tile is generated, although TILE_T1 to TILE_T1$5 and TILE_T2 to TILE_T2$ are identical. This is not a problem, I can "clean up&qu…
Hello,
Here's another example (with attachment): I would like to fill layer 3/0 (green) with two different tiles T1 and T2 and one out of three needs to be T2 and the T2's need to be placed diagonally, like:
T2 T1 T1
T1 T2 T1
T1 T1 T2
One w…
Hello,
You first size by -1 dbu which will separate the "connected" polygons, then size by +1 dbu to go back to original dimensions, now they should be still separated. be cautious for sizing effects though.
Cheers,
Tomas
Hello IanD,
I did a quick test in the DRC environment, and indeed I get the same result, both when marked as clean and raw... (bug???)
1) when doing layer operations via the menu Edit > Layer > Boolean Operations make sure the "Minimum …
Hello Matthias,
I'm looking into the "heat map part" and added the code below to create a kind of rainbow map ranging from blue (0) <> cyan <> green <> yellow <> red (1):
datamapping = ImageDataMapping.newdatamapp…
Hello Hunter,
Indeed, that's it. In the screenshot below I opened the same file 3 times in the same panel... You can see the 3 cell structures on the left. I don't get why you have @5 instead of @3... If you have 3 layers in 1 design in the panel …
Hello,
This is supposed to be the layout index: when you open more than one layout in the same panel, the layers of layout 1 have a "@1" added, the layers of layout 2 a "@2" etc... (It's not the layer name, it's the layer_number…
Hello Matthias,
Thanks for the feedback! Indeed, the number of shapes is not a good idea...
For layouts without devices/netlists/texts/decent hierarchy (that's the kind of gds files I have to deal with ;-) I came up with the following flow:
1) Ad…
Hello Matthias, Stefan,
Thank you for the feedback!
1) I've tried to set up a simple technology as a test and it works fine, but I rarely have 2 layouts with the same technology so I don't bother too much about setting up a technology for each of …
Hi Matthias,
I've been using this for a while now and it works great!!! The only hassle (once in a while) is to pass on a (large) layer stack to someone else. The only option, besides re-inserting all the layers manually, is to copy the part from o…
Hello,
See here: https://www.klayout.de/doc-qt5/about/drc_ref_layer.html#h2-3079
If you don't want a "cut-off" of the corners, you have to change the mode:
l1.sized(1.um, 0.5.um, no_limit).output(2, 1)
The default mode is "square_…
Hello,
You can deposit a layer: deposit(height, lateral, options …), for example:
deposit(0.20, 0.20, :mode => :round)
you can define the width in Y (height), the width in X (lateral) and some options like rounding the corners for instance, bu…
Hi RawrRanger,
I can confirm that it works fine now on 0.28.17. Since my layer names in the test case were quite long I had to increase the setFixedWidth value to 250 to avoid having the layers names not fully displayed (and the sliding bar at the …
Hi Matthias,
I can confirm that it does only take a few minutes to add them again, so not a big issue :D
Just a minor note: for the existing "Ellipse" and "Box" rulers I always change the "Angle constraints" from &qu…
Hi Matthias,
The idea was indeed to be able to select it and undo all actions which are more recent as well, not just the selected one. The goal is to replace multiple undos done one by one (which can be cumbersome if there are dozens) by one step.…