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
My opinion as well! Thanks @StefanThiede.
Technically, GDS references cells by name. So if two cells carry the same name you cannot decide which cell is targeted when a cell is instantiated.
The GDS reader initially joined cells with the same name…
Yes, exactly.
Hidden parameters are a way to store information persistently (i.e. inside GDS files). That is the only way to store information generated inside PCells. Everything else is "write only".
Matthias
Hi @sekigawa,
That is interesting, but it is kind of unintended ... I need to check myself why this is working. It may depend heavily on Python internals which is not good as it would change with other Python versions :(
Thanks,
Matthias
Hi @Peter123,
I am sorry, but that is not supported natively.
Unlike Unix, on Windows, a link (*.lnk) is not handled by the file system, but by the shell. A "lnk" file is a binary file, nothing more, so an application needs to be coded i…
Wow ... with cars! :)
I actually consider adding an option to "corners" so that you can say "take angle left or right", i.e. "corners(90.degree, both)". That may make thing easier. Right now, you need to check both 90 …
Hi @jiunnweiyeh,
This script changes what layer are displayed, not the layers themselves.
So you need to change both the layer number of the layer displayed and the layer number in the database:
mw = RBA::Application::instance.main_windowview = R…
Hi @Default,
thanks for the test case.
So to rephrase the problem: you want to find edges connected to an edge with length 1.0µm and forming angles other than 90 degree with that edge.
So like these corners:
(Image)
Right?
In order to find th…
So you mean you installed KLayout on some CentOS 7 on some local machine, simply from the RPM and it will crash on exit?
I mean that is exactly what I did, but with VirtualBox and starting with a plain CentOS 7 installation with Gnome. I don't see …
Because KLayout is not a Python interpreter. It only embeds one.
You have to use variables:
klayout -rd varname=value ...
Inside your script you can use the variable like this:
# prints "value":print(varname)
Matthias
Hi @wildwolfcj,
KLayout writes a very simplistic form of DXF. DXF writing is not in the scope of the KLayout project. I may improve that in the future, but I am not an AutoCAD user, nor do I have specific knowledge about DXF.
Apparently people hav…
Hi @Sepbe,
The solution gets somewhat difficult if you consider the case of array instances: if one instance of an array cross the polygon boundary, you first need to flatten the array.
Without considering array instances, here is some code. It us…
@Theo,
I tried a VirtualBox instance with CentOS 7 and the 0.29 version. Different combinations - RPM, unpacked RPM, self-built ... all appear to be working fine.
I also scanned with Valgrind and apart from the usual noise from Python and Ruby the…
You can get the dependencies with
rpm -qp klayout-xyz.rpm --requires
There is a flatpak version of KLayout: https://github.com/KLayout/klayout/issues/125. I have not tried myself, but may you are able to use that? It should avoid the dependencies …
@wildwolfcj The forum links changed from "DiscussionID=xyz" to "https://www.klayout.de/forum/discussion/xyz". So these links should lead you further: https://www.klayout.de/forum/discussion/195 and https://www.klayout.de/forum/di…
Hi @Vikram,
a single line with three backticks before after your code do magic. This forum provides Markdown - the same thing you use on GitHub to format code. Python is not readable without the indents.
From what I can guess, you should take a lo…
Hi @wildwolfcj,
first, please format your code with a single line with triple backticks before and after (Markdown notation, same as on GitHub for example). Specifically Python code is impossible to read otherwise.
Essentially the core functionali…
You can bind macros to menu items in the macro properties. This way, you can close the IDE and run the macro by selecting the menu. But if you disable debug, the effect should be the same.
Having debug mode on is not a potential crash risk - which …
I mean, you can try moving
mv ~/.klayout ~/.klayout-saved
This folder is where KLayout stores all scripts and downloaded packages. Maybe one script auto-executes and spoils your settings. That is possible and removing the folder makes sure there i…
I need some more details.
What OS are you on and how did you install KLayout?
If KLayout runs, the buddy tools should run too as they sit in the same directory and share the same shared objects.
Matthias
Hi @JieZ,
I did not even know KLayout can make a line this wide ... I have never seen that issue myself.
I'd suggest that maybe you clear your configuration and retry. I assume your configuration is spoiled for some reason.
The configuration is s…
Hi @Theo,
I am not sure if you can simply move the installation somewhere else. The RPM is built with RPATH and setting LD_LIBRARY_PATH may not have the desired effect of redirecting to the right libs.
I have never used a prepackage version in a d…
@sekigawa and @"Vincent Lin",
many thanks for your patience and many thanks for getting me to the point. I've added testing the .zip files to my release test procedure checklist.
I have updated the .zip files. No new release is needed - …
Hello @sekigawa,
You are right. Thanks for the debugging and the hint about the .zip file. I was only thinking of the installer exe.
The strange thing is that also cert.pem is missing and both pymod and cert.pem are included in the build scrip…
Hello @dai,
thanks for lot for the testcase. In my 0.28.17 I even get a crash :(
I think that is a delete-while-iterating issue. I need to debug the problem and this will take a little. I have created an issue for this problem: https://github.com/…
@Theo I can't say how your version was built. I assume that it is not the one from the public server. You can check what libraries the application pulls and whether these are the ones you have built for.
You can set LD_DEBUG=files to get a log of…
Hi Vincent,
No, there are no specific restrictions.
0.29.0 uses a different Qt version and there might be interactions with other versions.
I assume you run Windows. I have tested the installation on different Windows 10 machines without tr…
I just tried the 0.28.17 RPM from the download page on a CentOS 7 docker container.
I was not able to reproduce the issue with a simple editing session like the one sketched.
Matthias