sebastian

About

Username
sebastian
Joined
Visits
18
Last Active
Roles
Member

Comments

  • Of course it will still require certain qt libraries, the build still runs qmake, so I am quite sure you still need some basic qt libs to compile, that doesn't mean that the endproduct uses them. Build requirements vs used libs.
  • The last error (21) indicates that something in your path structure is a directory instead of whatever you want to do and it's an illegal operation for a director. I assume you expect to write something to a file that is actually a directory. POSIX …
  • @atork have you tried using klayout with the cmd-line arguments? you can run klayout without loading the frontend with klayout -zz -r <script-name>? If you want to have klayout completely without qt, you can compile it without qt. I.e. with sh…
  • By shared folder, I assume you mean a network drive? Yes that works, but I found it cumbersome and version control is not nicely possible. But it is possible, then you need urls like file:///
  • Hi, My guess is this part is the problem https://IP address. Unless you have an internal certificate installed on all machines to recognize this as a valid certificate. If you have an internal certificate: I don´t think KLayout can do any authent…
  • @Rakesh Did you read the error message? Where is KLayout supposed to store the file? The notation you used means (in unix and I think even POSIX) use the current folder, which under windows would (most likely) be C:\Program Files\KLayout\t.gds if e…
  • I would suggest taking a look at the debian wiki: https://wiki.debian.org/Mesa and https://wiki.debian.org/GraphicsCard#Intel And from there the glxinfo for my pc: $ glxinfo | grep OpenGLOpenGL vendor string: NVIDIA CorporationOpenGL renderer stri…
  • No worries ^^. I also think overlapping is not clearly defined in daily speech, so you may very well be correct. Regions were confusing when I started with KLayout, so I wanted to point out that there are fancy options in the regions included that m…
  • Yes and no. Multiprocessing in python came from the neverending story about the Global Interpreter Lock (GIL). Since python cannot do true multi-threading (since only every one thread can be active due to the lock). Warning the next part is my unde…
  • If I understand @ahmedo correctly he said not overlapping, so instead of outside = r2 & r1 it should be not_outside = r2.select_not_outside(r1) and then topcell.shapes(output).insert(not_outside) r1 & r2 will cut parts of boxes that are o…
  • Thanks Matthias, That makes sense. I will take a look at doing it with XOR. Is there an option to do the same thing as the GUI XOR in the API, i.e. either the layout directly or for multiple layers? I have to say, I didn't use the drc engine much y…
  • This might be related to your graphics driver. Are you using the open source video driver? I am using the proprietary (I know, I know, I hate it to) Nvidea driver because some things just don't work on nouveau. For AMD there are open source drivers …
  • Don't do multiprocessing in KLayout ;). I fought through this until I realized Qt is safeguarding against it and I don't think there is an easy way out. Simply put Qt won't let you just spawn chilprocesses this way. Reason is simple: multiprocessing…
  • The fill_cell_index is the cell.cell_index() where cell is the pya.Cell object you want to use for filling. And of course it is possible to instantiate other cells within a PCell, where would the fun be without that possibility ;) (you can even inst…
  • Hey Thomas, It should work perfectly fine on Debian 10 (I did qt5 compile on Debian 10 before, also in a VM). I think the main problem was trying to force it to use qmake for qt5 propely (I printed qmake version to debug this in build.sh). So make s…
  • Hi Thomas, I have KLayout compiled from master-branch on debian 11 and I see the 2.5D viewer :wink: . I am also not entirely sure which libraries are necessary for it, but my suspects are libqt5opengl5{,-dev} qml-module-qtgraphicaleffects. Most lik…
  • Hi @Matthias, How can I ensure that the cell is the same? That is essentially what I want to ensure with my black box extractor, as in ensure that geometries in the cell and the reference cell are the same (and of course not overlayed with other ge…
  • Hi @Ege_Bey I quickly checked on my end whether I can reproduce the error. I cannot. For reference I used the following code import pyalayout = pya.CellView.active().layout()cell = layout.top_cell()layout_dbu = 10000layout.dbu=1/layout_dbulayer = l…
  • Hi @tagger5896 , As I mentioned before, KLayout doesn't use the exact same stuff as pyqt. It is more close to the C++ Qt. Therefore you have to change some stuff in your code. You can get a running example as follows. The GroupBox is quite differen…
  • Hi @tagger5896 , Maybe I can help you with your struggle. Could you quickly explain what you are trying to accomplish with the click? I am not exactly sure what you are trying to accomplish, but the text is in first.text or second.text from your e…
  • I think as for the protocol, I would like it a lot to have it open so that it can be managed through python or ruby. I agree about ftp, that seems just outdated. My favorites would be http(s) with recursive download of a folder (i.e. the saltmine i…
  • You can add the default repository of KLayout to your own respository.xml if you add <include>http://sami.klayout.org/repository.xml</include> to the <salt-min>...</salt-mine> in your repository. Also, I tried to use my own …
  • Hi, Not a rookie question in my opinion :smile: . It is not always that easy to find out how to do it, since there are usually multiple different ways to do it with any projects. Maybe I can show you how I do it: First obviously git clone the rep…
  • Hi Matthias, I wanted to know whether the "Macro" Class can modify the <autorun>true</autorun> part of the .lym file like it can modify the "show_in_menu" for example. But from your answer I think the answer is no. …
  • Hi, In the BASIC library there is the ROUNDED_PATH which uses this feature. It is further described on this page https://klayout.de/doc/manual/create_instance.html. On my machine it crashes with a bad alloc though. Hope this is what you were lookin…
  • I think I finally understand what you mean. You mean the this view, right? (Image) And then by drag&drop you move the cell into the layout? You can just drag&drop the cell multiple times, it will create an instance each time. The cell will…
  • If you don't want to directly insert them, then just create the cell array instance (pya.CellInstArray) and place it with the drag&drop handling. If I understand you correctly, you want a similar functionality like the Instance button (but with…
  • Hi Chris, The reason you don't get two cells is that the create_cell function creates a PCell variant. If I understand the KLayout concept of PCells enough, there can only be one PCell variant for a given set of parameters. The PCell variants are c…