Hi chhung,
I understand your concerns regarding the layer mapping feature. In the next release there will be a technology manager that allows to switch, beside other features, the layer mapping file.
That way it should be possible to provide diffe…
Hi chhung,
this function already exists.
Open the reader options dialog (File/Reader Options). Uncheck the "Read all layers" checkbox and enter the following table into the list box below (you can import the table from a file):
1/1:5/12…
Hi Louis,
I think that is the issue we clarified by mail :-)
To all other readers: this was the culprit:
<source>13/@1</source>
the correct specification has to contain a numeric value after the slash for the datatype.
Matthias
Hi OkGuy,
from the explanation you gave initially I thought you might be interested in the density map. At least that is what the forum entry is about. Could you be somewhat specific what exactly you require? Do you need the total density? Do you n…
Hi OkGuy,
here is some derived script that adds some "user interface". It computes the density on the selected layer and asks for the tile dimensions in a input dialog. It will also use the cell's bounding box to derive the tiling area.
…
Hi chhung,
you're right, I can reproduce it.
What's even worse is that when you use a normal "Save", only the last cell saved with "Save Current Cell As" is saved. That is not intended in fact. Right now I don't even have a goo…
Hi Phung,
yes, that is possible: When editing open the editor options dialog with F3 or Edit/Editor options. In the "Snapping" group you can specify whether the vertexes would snap to other objects and/or to a grid and to which grid.
The…
Hi,
I guess with "layer name" you refer to the text shown in the layer list, which is basically just an alias. Currently, the shape does not know about this layer name. That is because the shape is part of the database and inside the data…
Hi JRO,
actually that's possible. I have included a script below which demonstrates that. The parameters of the density map are coded into the script currently. The script can be extended to read those parameters from a file or compute them from th…
Hi chhung,
strmclip does not extract layers but performs rectangular clips based on a marker layer. The call you mentions uses 100/0 for the specification of the clip regions. This utility does not filter layers as you expected.
The strmxxx utilit…
Hi zonin,
you can draw a background rectangle on a helper layer and use the boolean "NOT" function to subtract your layout from that rectangle in editor mode.
That will require a lot of memory for huge layouts, but for medium-sized layou…
Hi Joel,
I am currently implementing PCell's. It will be possible to write PCell's using the build-in Ruby language binding. A basic PCell library will be included that offers polygon texts and certain circular objects (arcs, circles etc.).
Right …
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…