Hi Antoine,
that issue is really old (almost exactly 2 years) :-)
Does this still happen with 0.25.3 (the latest version)?
If it does, please provide a testcase for the issue (code preferred).
Regards,
Matthias
Hi,
first, please use the ".rb" extension for your script - ".rbm" is deprecated.
You can use this script ("script.rb"):
layout = RBA::Layout::newlayout.read($infile)File.open($outfile) do |file| file.puts "Top…
Hi Laurent,
I tried the following:
* A simple layout with 15/0 for "Metal 1", 16/0 for "Via" and 17/0 for "Metal 2"
* I used labels on 15/1 and 17/1
with this layer connectivity definition:
15/0+15/1 - 16/0 - 17…
Hi Luciano,
there is a similar post here: https://www.klayout.de/forum/comments.php?DiscussionID=1062&page=1#Item_5.
Here is a similar example in Ruby:
layout = RBA::Layout::newlayout.read("/home/matthias/x.gds")puts "Top cell:…
Hi Steven,
currently there is no statistics about user properties. But if you select a shape and use "Edit/Properties", a dialog with the shape's properties opens. After clicking at the "User properties" button, you'll see the u…
Hi Laurent,
I'm not sure if I understand. Labels from a specific layer are taken to be the net name. Do you mean that it should be possible to specify a different layer as source for these labels?
Matthias
Hi Asharma,
In general, a cross-section script has to prepared differently when you want to show the process progress. The concept is currently to keep the computed material outline internally and visualize it in a final step. If you put the output…
Hi Steven,
Your numbers indeed show that there is an issue with the loading times. They should be about a tenth. The numbers are not
Here are some questions:
* If you save the file to OASIS and load it again - will the load times stay the same?
*…
Hi Dion,
this may be possible in some flavours of OASIS, but not in all of them: some OASIS flavours require tables to be built upfront, so you need to know the full file content before you can write it. One can overcome this by a two-pass approach…
Hi Muheng,
please use Markdown to format your code (four blanks in front of the line. Otherwise your code formatting does not become visible.
And please make yourself familiar with Python.
The code is:
import pyalayout = pya.Layout()layout.read(…
Hi Steven,
keeping things "compressed" in memory is already happening to some extend. But you cannot keep modal variables (they depend on sequence, so no random access), CBLOCK compression (also no random access) and you have to attach da…
Hi Steven,
no, no flattening happens.
As I said, OASIS is basically pretty compact (relative coordinates, modal variables, deltas, etc.). What's a 32bit coordinate in memory can be less than a byte in OASIS. Plus OASIS features built-in compressio…
Hi Steven,
What do you mean by "expanded"? Shape arrays are kept in viewer mode, but not in editor mode (you want to edit shapes, not the arrays). That makes a huge difference.
Multi-Threaded reading is not necessarily applicable - only …
Hi all,
Thomas suggestion is pointing the right way: if you strive for compatibility, remove the PCell information. KLayout annotates GDS in a special way so it can read back the PCell parameters.
However, I wonder about the cell name: the GDS cel…
Hi Steven,
OASIS is a very compact format. 6GB out of 700MB is not entirely unexpected. Typical values are around 3..4x times the size of the OASIS file. But it's hard to predict. If CBLOCK compression is involved, much larger factors are possible.…
Hi Qum,
use the DRC feature for this purpose. Select all texts with "A" (see http://www.klayout.de/doc-qt4/about/drc_ref_layer.html#h2-1893) and use "interact" to select the original shapes with these labels.
For an introductio…
Hi,
looks like your qmake tries to build static libraries. Maybe your qmake has somehow added "staticlib" to CONFIG?
Try "qmake -query" to see whether CONFIG shows something like "staticlib".
Matthias
Hi Theo,
hard to say - I don't do something specific for the style. That's why qtconfig-qt4 is working. It's supposed to act on all Qt applications, so saying it has an effect on KLayout, means KLayout behaves as it's supposed to.
I know that on G…
Hi Rambir,
thanks for the testcase - that was very helpful. I was able to identify the problem and provide a fix. It's going to be released with the next minor release.
Best regards,
Matthias
Hi Arjun,
When you're using rotated rectangles, some corners have - because of rounding - an angle of less than 90 degree. Such corner are considered "acute" and are subject to width checks.
You can mitigate this issue by reducing the ac…
Hi Theo,
you are always free to file an issue on GitHub at https://github.com/klayoutmatthias/klayout/issues. You can paste screenshots there among many other things.
I assume in your case Qt picks Windows style. Try "klayout -style CleanLook…
Hi enuinc,
Basically for your kind of application, the Python API should be available as a plain Python module. That's not my main scope and raises some license questions, so I have not provided such a module yet.
As of now, you can use the follow…
Hi James,
thank you for your testcase. I found the issue.
I wasn't a data loss. Instead, the bounding box of the PADFRAMESMALL cell wasn't computed correctly. The reason is a somewhat exotic case of indirect layer specialization of a cell. So when…