Hello Kazz - San & Matthias
Thanks for sharing, I followed the hints from Matthias to solve this, but I was not lucky.
I have deleted all versions of binaries, and downloaded install-type for today's homework
it's great to know that install-…
Hello Matthias,
Ruby is cool ! But I am still far away from building it as a master. I start to do something by using above submenu code,
and wonder if I can get the submenu just launching Klayout, without running the code again ?
Maybe there…
Hello Wang,
I am 0.28.3 ( Binary ) user. I try to do it under my own understanding , and it works. Please refer to below
ly = RBA::Layout.newl1 = ly.layer(1, 0)l2 = ly.layer(2, 0)ly.dbu = 0.001top = ly.create_cell("TOP")shape1 = RBA::…
@rounak1068
The code from Matthias belongs to " Ruby "
if you are fan of Python, please try below
import pyalayout = pya.CellView.active().layout()# Box in micron units:clip_rect = pya.DBox(30.0, 30.0, 110.0, 110.0)# create a clip cell …
Hello rounak1068,
Never use script to re-name cell before, I made a trial to rename top-cell "M", it works and a new GDS also be created
import pyaKLAYOUT = pya.Layout()gds_files = ["a.gds"]for each_gds in gds_files: KLAYOUT…
Hello,
Modified the code a bit, it might be you want?
import pyaKLAYOUT = pya.Layout()gds_files = ["xyz.gds"]for each_gds in gds_files: KLAYOUT.read(each_gds) for top_cell_read in KLAYOUT.top_cells(): if top_cell_read.name != "…
It's fine 🙂
@dick_freebird Yes, just as you said, top-bottom verification is doable, that's why I think Klayout is powerful, nice weekend~
Best regards,
Vincent
Hello Matthias,
Before this, I always outputted netlist.l2n , then some excel job followed
now I have warrior to guard another door, thanks
Finally.. passed the test B)
Best regards,
Vincent
Hello Matthias,
Thanks for showing me the door :)
"blank_circuit" trick is great, although this package is die level, but the " black box magic " still workable.
Please see below image -- part of the package ( I called it &q…
Hello, Pradhi
By the way, if inner / outer radius feature is not enough, maybe you can try this one,
which provided by Matthias, it can select edges by angle, and works under DRC macro
original = input(...)patches = original.notch(1.um, angle…
Hello,
Maybe can refer to this first, this method round the stuff that you select only
https://www.klayout.de/forum/discussion/comment/9139#Comment_9139
Hello Matthias,
Thanks for the great favor to me
Maybe the layer propertyies issue comes from my weird computer,
* first, I made the setting here
(Image)
* second, restart Klayout will get this layer already, and
run the code, a…
Hello Matthias,
Happy 2023~
Hmm... set layer 8/0 in layer property file first, with the property what user like, ( color, stripe.. can keep the trait when restart klayout )
then, active the code, in my case, the box is not visiable on la…
Hello Matthias,
I deleted " klayoutrc " file, remade the setting, and the file was regenerated, but seems nothing changed.
Maybe something weird on layer property setting also. For a quick start, layer property usually will be set.
Us…
Hello @Matthias
Thanks for your time, please check the image as below, not sure it will be workable if change some simple setting .
My coding skill is not good, so I need this function to check code and understand it more.
Under Windows 11 & …
Hello @Matthias
Wow, best net friend is back, I should check the similar class first. Forgive me :p
feedback one thing more, not sure the enable/disable debugging button still workable or not,
Can not play the code step by step.
(Image)
Hello JW,
This topic interests me. The code insure the connection between 2 bumps if the distance under 600.
I imagine, maybe manually sorting can be skipped if the jugde condition be more solid. It will be fun if you
can share the criteria for bu…
Hello Matthias,
After trying, I found in Ruby:
Region::Metrics Projection
is equal to python
Region.Metrics.Projection
it works ! I think it's time for me to study " Ruby " thanks~
Sorry, I posted this new discussion under " Verification " when reading some case,
if so, there will be no topic categories to choose. Please help to re-align to " Python code " if possible, thanks..
Hello Matthias,
Try & error, come out below code, it seems work,
Thanks for your perfect reply and this creative tool :)
Vincent
from pya import *import mathcellview = pya.CellView.active()layout = cellview.layout()top = cellview.cellmetal…