Matthias

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

About

Username
Matthias
Joined
Visits
1,515
Last Active
Roles
Member

Comments

  • 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…
  • Hi Sean, 122GB for 8GB OASIS is pretty strange. It's bascially possible to have OASIS files with that data compression level, but I have not seen such a case myself (and I am viewing big OASIS files myself). I feel there is a general issue with mem…
  • "locale" is the language setting of the system. I assume the default is OK then. The commands narrow that down a little, but not much. A better option than a debugger is "valgrind" (a memory checker). I think you can install it…
  • Hi Laurent, there are ways to use the path of the layout you have loaded, for example report("My DRC", File.join(File.dirname(RBA::CellView::active.filename), "MyDRC.txt")) will use the path of the currently loaded file as the…
  • Hi James, I'm very interested in this testcase, but the URL you gave gives a timeout :-( Maybe you can send it to the mail address listed on Contacts page (as attachment, if not too big)? Thanks, Matthias
  • Thanks as well ... but this is really annoying. The stack trace still just tells the location I already knew - but in order to be useful it needs to continue. And since it stops that means the stack is corrupted :-( I'm also afraid that gdb won't p…
  • Hi baworth, currently the color information is parsed but not translated into a layer number. I'm depending on test data for the implementation. You can file a feature request for this on GitHub: https://github.com/klayoutmatthias/klayout. Please …
  • Hi enuinc, I'm running CentOS 7 in a Docker instance. Maybe that makes a difference (although I'm fairly sure this should not be an issue here). libc comes to mind. But I'm not aware of incompatibilities in our domain. The backtrace doesn't give m…
  • Hi Sean, did you use viewer mode? Run KLayout with klayout -ne ... to ensure it starts in viewer mode. If you're in editor mode (all the edit buttons are visible), the OASIS shape arrays will be expanded and the memory footprint will increase un…
  • Hi enuinc, I'm sorry, I can't easily reproduce the issue. I tried with a virgin CentOS 7 instance and did not see that issue. At least not with 0.25.2 which is the latest version. Maybe it's related to some packages or macros. Could you try to sta…
  • Hi Laurent, "errno=13" means "permission denied". So either the directory you're writing to does not have write permissions or the file is already there and owned by someone else. That's an error issued by the operating system.…
  • Hi Juras, thanks for this report. Your approach is the right one, but there is an issue with 64bit Python 3. The reason is that properties are basically strongly typed (for OASIS) and there is a distinction between 32bit and 64 bit integer keys. Py…
  • What do you mean by "all the polygons"? Extracting a layer as a whole? With hierarchy or flat? Matthias
  • Hi, there are many ways to achieve this. If your region is given in terms of coordinates, this is your code: import pya# Take polygons from layer 6/0 from the given search_region and keep as# a pya.Region in "touching"search_region = pya…
  • Hi Vikas, thanks for the test data. I have an explanation. I have tried to provide an image for a better description: (Image) The image shows an exaggerated view of the situation. The arrows indicate that there are actually positions where the d…
    in DRC Bug?? Comment by Matthias March 2018
  • Hi Vikas, you can send GDS and/or code to the mail address listed on the "Contact" page. Another channel is to [submit a GitHub issue here: https://github.com/klayoutmatthias/klayout/issues. Please don't send confidential data. Although …
    in DRC Bug?? Comment by Matthias March 2018
  • Hi Vikas, they don't event project ... I tried to reproduce the issue with two rectangles (0,-0.7,700,0) and (700,-6,1400,-5.15), but I could not find a way to get this error. Can you give the two polygons involved in this check? Thanks, Matthias
    in DRC Bug?? Comment by Matthias March 2018
  • Hi, first think I see is that there is an apparent lack of support for copying multiple cells of one layout to another ... the copy_cells function looks fairly complex. Nevertheless, the real issue is probably that you're iterating over the parent…
  • Hi Sophie, that explains it :-) I retired the SourceForge version now. It's available as package in KLayout 0.25 and above: Please manually remove the "xsection.rbm" file you downloaded from SourceForge. Use "Tools/Manage Packages…
  • Hi Rambir, that's the right way to do it. I'm interested to see what's wrong. You can provide a testcase * Through DropBox or other public web space: paste a link here * As attachment to the mail address mentioned under "contact" You c…