Matthias

About

Username
Matthias
Joined
Visits
16
Last Active
Roles
Member

Comments

  • Hi Michael, I'm a bit confused now ... I was referring to your remark (Oct-8): (Quote) By "currently" you did not mean 0.24.2, but 0.24.1? Matthias
  • Hi dion, here are the details: KLayout detects the file format looking at the first four bytes: * GDS: 0x00, 0x06, 0x00, 0x02 * OASIS: 0x25, 0x53, 0x45, 0x4d The Linux "file" tool is able to detect GDS2 and OASIS files as well (I have …
  • Hi, it's entirely sufficient to read the first few bytes. OASIS and GDS have a specific signature. I'll give you more details if you like. Matthias
  • Hi Michael, I'm running Gnome, but the effect you describe is probably related to Qt. I'll try to reproduce it. Matthias
  • Oops ... something wrong here? This is how it's supposed to be: klayout_vo.exe is a pure viewer application. Save functions are disabled and you cannot switch it to editor mode. This binary is not installed in the start menu but you can create you…
  • Hi Micha, there is a known compatibility issue with existing Python installations. Please check whether an environment variable called PYHONPATH is set. If so, try to remove it from your system and try again. Matthias
  • Hi Michael, I am running Ubuntu 14 myself, but I don't see this issue. I'll try to reproduce it, but maybe you can try removing or renaming $HOME/.klayout/klayoutrc to start with a fresh configuration. If that problem is still there after having r…
  • Hi Michael, there is a reason for the load time difference: in viewer mode, the database will store compact shape arrays from OASIS files as such while in editor mode they are expanded. Shape arrays are no suitable basis for editing, hence editing …
  • Hi, There is no easy way currently, I'm afraid. Except this one: take the source code and add this feature. It's open source, folks! Matthias
  • Hi satya, Thanks for your suggestions and your support. I want to try another option which is to enable Python 2.6. But I'm kind of busy rightno so that will have to wait a little. Thanks, Matthias
  • Hi Satya, I have published the CentOS 6 RPM's on the downloads page in between for version 0.24.2. The OSC branch has expired in between, so please use the download links from there. But please note that the RPM provided there does not feature Pyt…
  • Oh yes, I see. That's inconsistent. The property should be integer, not bool. I'll fix that in the next minor release. Thanks for mentioning this, Matthias
  • Hi Masaki, yes, "oasis_write_std_properties" is a boolean property, so opt = pya.SaveLayoutOptions()opt.oasis_write_std_properties = True should work. Doesn't it? Matthias
  • Hi, I don't know why (it's working for me) ... but "#include " is missing in pyaUtils.cc. Put it right after "#include " and your build should do. I'm sorry I can't give you a link to any Ruby RPM. But building Ruby usually is …
  • Hi satya, thanks for providing this RPM. I assume that you are building against Ruby 1.8 since only with this combination, node.h is present twice. However, I recommend to use 1.9 and later. It's very difficult for me to maintain compatibility wit…
  • Hi mprott, "Viewer mode" is not just a user interface option - in viewer mode, the database organisation changes from an editable representation to a compact and efficient memory model. For example, OASIS shape arrays are kept as such whi…
  • Hi, I guess your build directory is messed up. Please delete the "build.linux-64-gcc-release" directory and start over again. Please also check whether /usr/include really holds the Qt4 headers. Usually that is /usr/include/qt4 or simila…
  • Hi Masaki, thank you :-) Regarding the OASIS topics: 1.) This can happen if the tables are empty. In that case, the start position of the table and the start position of the next table are identical since the table does not contain any records. …
  • Hi, you can obtain the precise dimensions of the window displayed by typing this command into the "Console" line of the "Macro editor IDE" (Macros/Macro Development): RBA::LayoutView::current.box The coordinates printed will g…
  • Hi Lou, to be frank, the LIBNAME property has not received much attention so far. It's a single (and somewhat limited) property. There is no such feature in OASIS and other formats, so it did not make it into the layout attributes. It's not even pr…
  • Hello, no, no need to recompile. You'll find a lot of documentation about using and writing scripts here: http://www.klayout.de/doc/programming/index.html. Matthias
  • Hi, I see your point. I'll try to fix that in the next minor version. I should not be a big issue. Here is a script to disable some save functions: mw = RBA::Application::instance.main_windowmenu = mw.menumenu.action("file_menu.save").v…
  • Hi Thomas, In general cells (or PCell's) can be instantiated from within PCell's. But creating them would result in a pretty mess. Basically, the tool needs to be able to track the PCell variants and remove unused ones. Without telling which cell b…
  • Hi mprott, you're right, the klayout_vo.exe magically lost it's "viewer only" properties ... I'll fix that in the next minor release. Since that is I have not considered "save" a "modifying" operation, so it's there i…
  • Hi, I think that request is feasible, but to be frank, I have neglected the bookmark feature somewhat, so there is not quite a lot support for it. Specifically there is no command line option for that feature right now. The reason is that there are…
  • Hi Thomas, I did not intend to scare you with my comment about PCell's ... :-) What I wanted to say is that if you have a PCell and you want to detect duplicates that might mean you can test their PCell parameters to check whether they are identic…
  • Hi Elias, You can turn a Shapes container into a Shape array with a loop: shape_array = [] # will become and array of Shape objectsshapes = ... # a Shapes objectshapes.each { |s| shape_array << s } But this is not really efficient…
  • Hi Thomas, I missed the part about PCell's - this will complicate things since maintaining their instances is more tricky. Are your duplicates PCell actually instance duplicates? Regarding the $ suffixes: they are created when KLayout encounters i…
  • Hi David, thanks for this hint. Sorry again for messing things up ... Matthias
  • Hi, I'm afraid the font is really just an index ... I see some issues when a new font is added to the system. In that case, it's not guaranteed that the font will be added to the end and the indexes will shift. So what I am going to do is to add a…