I have some Intel graphics card on a bare-metal computer. Never installed any other graphics driver than supplied by Debian 10. I also think it is some version mismatch or configuration but I also have zero experience with OpenGL and Qt.
Thank you Sebastian, this did the job!
Now I have the 2.5d View option. However, I get an error:
Shapes vertex shader compilation failed:0:1(10): error: GLSL 1.50 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES
It…
Hi Sebastian,
Thanks for the hints! I found out that I always compiled with qt4, qt5 somehow fails with errors like 'error: ‘QtInfoMsg’ was not declared in this scope'. Think will have to try harder. Or maybe I'll just set up a Debian 11 and give it…
Hi Matthias,
That's actually the main suspect. On Debian 10 it looks like I can install Qt libraries with OpenGL, but I did not yet figure out how I can then build KLayout with those.
Thanks for the video! I cannot see the 2.5D view entry in the Tools menu. I build KLayout from the master branch. Do I miss some dependency like OpenGL?
Hi Matthias,
So cool! I just compiled KLayout from the master branch to give it a try. Can you give me a hint how to set-up the 3D view? I could not find it in the GUI.
Thanks!
Hello Matthias!
No problem ! :smiley:
Thanks for the hint! Just changed my code and now do it that way by deleting all non-used circuits. Works fine! :)
Bests,
Thomas
Hi Matthias,
I found out what causes my problem but I don't know yet what happens exactly.
In the example above I forgot about a detail: The netlist I load contains possibly many circuits but I'm interested only in one. The extracted layout also c…
Thanks Matthias for answering!
Unfortunately, in my case combine_devices()` seems to have no effect on the reference netlist. But on the extracted netlist it does.
I'm using the Python API.
The following code shows how I extract the netlist (all t…
Thanks Matthias!
Setting the library did not work, so I did the following:
#app.set_config("edit-inst-cell-lib-name", "MeepLib") app.set_config("edit-inst-lib-name", "MeepLib")
This now works as inten…
Thank you so much Matthias! Worked out of the box.
In case somebody also needs it for Python:
class MOS4To3NetlistSpiceReader(db.NetlistSpiceReaderDelegate): """ Read SPICE netlists and convert 4-terminal MOS into 3-terminal …
Thanks Matthias! Do you have an example on how DEF net names are translated into properties? I did not play around with DEF import yet, but it could become interesting.
Thanks for the extensive answer! Yes, for now by best guess is to geometrically relate the pin labels (text objects) with metal shapes. The easiest way is to check which shapes touch a certain pin label.
Hi Matthias,
Is it possible to efficiently get all the data of a db.Image? Something like get_data without polling get_pixel?
I would like to create a bitmap as shown in this posts but in a numpy array such that I can feed it directly into the 'meep…
For now I assume you have one cell in your layout. If you have a more complicated layout and cells might overlap, then I think it is easiest to flatten the layout first.
So here is what I would try:
import klayout.db as dblayout = db.Layout()layou…
Overlap area? This really sounds like something that KLayout can do for you and I guess there is no need for exporting to txt-gds. What kind of overlap? Different layers or polygons on the same layer?
KLayout supports Boolean operations on polygons.…
What do you mean with 'save .txt'? You want to save the layer names or the geometries?
For the rest I suggest making a Python script like:
from klayout import dbimport sysfilename = sys.argv[1] # Get filename from commandline argumentlayout = db.L…
Hmm... Somehow it does not yet work for me. Neither from within the Klayout console nor the Python API. Did you push everything? Maybe it's just too late night now and too much wine while waiting for gcc ;)