Hi Jim,
you can use master or any other branch, but without warranty.
The usual approach (and the one favoured by GitHub) is: features are developed in branches. When they are considered stable enough they are integrated into the master (pull request). Hence the master is kind of "latest greatest", but with a certain risk of being spoiled. There are also forks from other user with their own masters and branches. Don't confuse them with the ones from the KLayout project.
But eventually, when the master is considered to have a sufficient quality, a release is made by creating a release tag (https://github.com/KLayout/klayout/releases). A release is a snapshot which is then turned into Windows binaries, Linux packages, PyPI wheels etc. This this is a lengthy process and I don't want to do this too often.
Matthias
Hi @hieund,
In order to properly debug the issue, the PDF is not good. We would need the DXF file.
Usually these problems come from interpretation issues of POLYLINE entities. KLayout is not made for DXF, it is made for GDS2 and to match this form…
Best is, you start with an exported ASCII techfile.
I don't know exactly what you are trying to import. This appears to be something binary or maybe it is a Skill-enhanced techfile.
Matthias
Hi @sekigawa,
you deserve a break! Thanks a lot for your support! :)
To @jamesryan:
I could make the error go away by inserting this line:
...insts=filter(lambda i: target_cell.name in i.cell.name, top_cell.each_inst())sorted_insts=sorted(insts,…
Hi @billlch,
actually you're not quite right. Turning a rectangular selection into a cell is not something that is easily achieved by the UI function. It will only turn the selected objects into a cell. These do not necessarily form a rectangular r…
Hi @sekigawa,
thank you very much for providing these scripts! It is very much appreciated :)
Just for my understanding - the fatal bug is not something inside KLayout, isn't it?
Thanks,
Matthias
Hi @lmz,
I'm afraid this file is broken an cannot be repaired.
But don't close the program while saving is in progress. Later versions of the tool will write the file to a temporary file first and only replace the original file with the new versio…
I'd advise to use the Python module. It provides a stripped-down version of the LayoutView class which can render OASIS to PNG without a graphics device.
Just do
pip install klayout
There is a demo web component (https://pypi.org/project/kweb/) t…
But they are on the same layer, right? Otherwise "drc(space)" does not make sense.
By "polygons" I mean "merged polygons". As soon as they touch, they become one polygon and the space becomes a notch case.
If you want…
Hi Brian,
yes, you can use MainWindow#set_config to configure the Marker Browser behavior.
The configuration keys can be found in the "klayoutrc" file. They are called "rdb-...".
For example, to configure the marker color to b…
Hi @wsteffe,
Maybe you can check if these key bindings are set:
(Image)
If "Ctrl+D" does not work for some reason, maybe you can try binding it to "X" for Cadence feeling.
However, before you use this function, may sure you …
Hi Brendan,
So it does not seem to be related to the monitor.
But I think I understand what you mean.
Some time ago, for the 0.28 version and for the enabling of high-DPI monitors, I changed the oversampling in a way that it would enhance the qua…
Hi Brendan,
I think for some reason you monitor is recognized a "high-DPI" one.
You can restore pixel-fine rendering with this option:
(Image)
Another way is to start KLayout with the QT_SCALE_FACTOR environment variable set to "…
You're right. Looks like "select_all" does not really select "all". I need to debug this. If you like, you can raise a ticket on GitHub: https://github.com/KLayout/klayout.
Till then, I suggest to use
mw.cm_select_all()
which …
Yes, there is.
You can use "KLAYOUT_PYTHONPATH" to point KLayout to the virtual environment. This replaces the standard "PYTHONPATH" variable.
BUT: this will only switch the libraries. As KLayout is already built against a cert…
Hi @dai,
we tried doing GDS to DEF export, but that is impossible in the general case.
First, you need net information. You can get that if you have an extraction script which is basically LVS without without the netlist compare part.
But then it…
Hi @wsteffe,
for this problem, the solution is "Descend", aka "Edit in place". For Cadence lovers: bind this to the "X" key ...
By default it is bound to "Ctrl+D". You use it by selecting one shape in the ce…
Hi @dick_freebird,
You mean, when building KLayout from sources?
I am afraid there is no common recipe and KLayout already has as few dependencies as possible.
I am trying to document the required Linux packages here: https://www.klayout.de/build…
Hi @HWY,
"import" statements are always only executed once and then never again, until you close KLayout.
This is quite a common issue as it seems, so there are solutions. See for example here: https://stackoverflow.com/questions/684171/…
There is a related discussion ongoing: https://www.klayout.de/forum/discussion/1711/screenshot-with-all-the-layer-and-screenshot-only-one-layer#latest
From there you can learn a lot about Python coded image generation scripts and it has a fancy ver…
Hi @ashkan,
if I understand correctly, essentially you are using
layer.drc(space(projection) < min_space).output("ERROR_s: Space violations on #{message} layer")
on the "GC1" layer.
"projection" is not filtering…
Dear all,
I have merged to master already.
There are some wheels generated by GitHub here: https://pipelinesghubeus6.actions.githubusercontent.com/68A5NMsc4y2EbEDz38t9o9oKwhP9UxXzHEMhZ2QXBXaztmOIqM/_apis/pipelines/1/runs/1685/signedartifactsconten…
Do you have an application that really needs that?
Basically, such a thing is scary. Stream writers, in particular OASIS, benefit a lot from having all the knowledge about the layout and hierarchy at hand. For example, if cell2 is a child cell of c…
Very good. Thanks! :)
But even better: in case you need a real quick fix, you can pull the fixed sources from here: https://github.com/KLayout/klayout/tree/bugfix/issue-1799 and build a fixed version yourself. Difficult on Windows, easy on Linux :)…
I am not sure if you are using the layer numbers correctly. I don't see the whole script.
But here is a hint: "_drl_lay" has number 102, but it is not layer "102/0".
When you use:
_num_lay = _layout.layer(100,0)
then _num_la…
No, you can't.
PCells are context agnostic. The client layout sees the PCell, but the PCell does not see the client. It runs in a sandbox environment without access to the client layout. The layout you see in the PCell is not the client one but the…
Just watch it ... it is already fixed. It is going to go into the next minor release.
The problem was an issue with the OASIS reader in certain cases.
Matthias