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,
Below you find a sample a .lyp file. It's basically XML and in the simplest form it is composed of "..." sections, one per layer.
The colors are given in HTML notation (#rrggbb). The brightness values can be set to 0 if no brightness…
Hi Allen,
there is no general limitation, but the code adaptations required are somewhat more elaborate. First you have to save the layer map after each load (failing to do so gives the error message you observed). Then you need to reset the cell n…
Hi Peter,
after having a look at the code I am fairly confident that it should be possible to implement the usual booleans (AND, XOR, OR, NOT) for the conductor or via layers.
That would include an "inverse layer" option using NOT, provi…
Hi OkGuy,
that's actually a nice suggestion for a new feature :-)
right now it's possible to run an XOR on a subregion by creating clips and running the XOR on those clips.
This is fairly convenient by following this recipe:
* Start KLayout in e…
Hi robordo,
I am not familiar with Camelot so I can't tell much about that format. I assume that it's some kind of layer list but the term "technology file" suggests much more.
There is no generic way to import a layer table from CSV fil…
Hi Peter,
yes you're right. Under the assumption that there is "something" completely blocking the vias (or conductive shapes) the algorithm is much easier to implement. That could be a useful although less generic approach.
I am still h…
Hi Allen,
you're right. Apparently KLayout tries to bring up the progress bar and since that fails, it cancels the operation.
I'll try to fix that in the next version. There is a simple workaround: just don't use the -z option. In that case, KLayo…
Hi,
the list_layers script is actually a good starting point. You can modify the script to better suit your requirements.
First you can remove lines 52 to 70 because in that script, a ruler is used to define the search region. If you don't need a …
Hi Artem,
the first problem you have to solve is how to build a GUI of your own. It can be done pretty easily using the qtruby package (see http://www.klayout.de/rba_intro.html#qtruby for a description of how to bring together qtruby and KLayout).
…
Hi Peter,
you're right, there currently is no such option. I agree that it would be very useful and in fact the request is not a new one.
However, it's not straightforward to implement, because the net tracer uses a incremental scheme. That means …
Hi,
The layer is not a property of the object but rather a place it lives in. But moving an object to another layer is possible also.
Just select the objects that you want to move to another layer, select the target layer from the layer list and u…
Hi,
KLayout uses a very simple form of DXF. The start of the file looks like this:
0SECTION2HEADER0ENDSEC0SECTION2TABLES0TABLE2LAYER...
i.e. the header is empty. Maybe that is the reason why Adobe does not recognize it.
Since other tools includi…
Hi Darius,
although the line appears to be unnecessary, it it is actually quite useful, because otherwise, you can't write a layout file :-)
The problem is basically, that the major layout formats, GDS and OASIS do not support polygons with holes.…
Hi Allen,
That depends somewhat of the merge functionality. The feature available in "File->Import->Other File Into Current" is somewhat elaborate and is not easy to use inside a Ruby script.
A simple merge however can be achieved …
Hi chhung,
I have tried to reproduce the problem on 64bit Ubuntu 10.04 with ruby 1.8.7 and again it works for me. That is how I tried it:
I copied both code snippets above into two files: select.rbm for the first one and count.rbm for the second o…
Hi leeth,
there is a sample script in the "Useful ruby scripts" section which does a similar thing, namely dumping shapes as they would appear in the top cell: http://www.klayout.de/useful_scripts.html#dump_flat_shapes.rbm.
It can be mod…
Hi chhung,
I am using ruby 1.8.7 and 1.9.1 myself, but on 32bit. So it's likely not to be the ruby version you use. I can use it on a million shapes (although it's somewhat slow when selecting them).
It's also unlikely that "count = 0" i…
Hi chhung,
thanks for reporting that. Both problems are related. Apparently Ruby garbage collects the Proc objects used to bind the code blocks. I have found a fix for that and it will go into the next release.
Until then, I have changed the code …
Hi chhung,
thats a valueable feedback. In fact, enabling or disabling all shape types is tedious.
I'll consider that as a new feature. Here is a litte script that adds "Select All" and "Unselect All" to the Edit/Select menu:
#…
Hi Dan,
if I understand it correctly, the code from test.rb and xsection.rb gets mixed. In particular it seems that there is a problem with the MenuAction class which is defined in both files. It is possible that on version 0.21 the order of initia…
Hi Dan,
I was trying to reproduce the problem with the information and so far have not been successful.
Maybe I published the code for BoolProcessor before, but I admit I have forgotten when I did so ... Anyway, neither the current version of xsec…
Hi Dan,
thanks a lot for the analysis. The effect is somewhat strange because I'd either expect an error message or (if there is a memory issue for example) a crash of the program.
I'll try to reproduce it and come back here.
Thanks and best rega…
Hi Dan,
To me there is no reason why there should be a difference between using the line twice or just once. With the exception that there may be a difference in the input, i.e. that layer 2/0 is empty (which shouldn't be a problem either, but I am…
Hi Julia,
you can load two marker databases but you can't show them both currently.
If you need to compare two runs it's possible to export the markers to layout ("Export to Layout" from the "File" menu in the marker browser).…
Hi Dan,
On my installation it's working, so there does not seem to be a basic problem related to the new released.
Are you using the latest version from the link above? Could it be that it's simply not finding the .xs-File for the setup?
One poss…
Hallo,
basically thats possible by using "Select All", "Delete Layer View" and "Add Other Views" from the layer list's context menu (right mouse button) in that order. This will remove all entries first and create new …
Hi May,
I'm glad the problem is partially solved. Regarding the bug I can't reproduce it on my Ubuntu 10.04. Maybe it's related to the locale settings, but I don't see a reason why it should be a problem for the pixel size only. I'll try to reprodu…
Hi alf39,
isn't that already there? The coordinates shown in the lower right corder of the main window are measured from the the coordinate origin in units of micrometer ...
Matthias
Hi May,
is you image not showing up at all or is it just that you cannot adjust the size?
If it's not showing up, maybe there is something wrong with your file. Specifically, Qt installs a couple of decoders and it possibly there is none for your …