Cont.
If you assume DXF's coordinate is in [mm], you must provide some more parameters to the SaveLayoutOptions object like:
: so = db.SaveLayoutOptions() so.format = "DXF" so.dbu = 0.001 # [um] so.scale_factor = 0.001…
Hi,
How did you get the above strings?
Basically, a DXF file is unitless.
(Image)
The UNITS in the sample GDS2 files are:
#------------------------------------------------------------------------------------# Regarding the "dump_gds2"…
Hi @wildwolfcj,
(Quote)
You need neither klayout_app.exe nor klayout_vo_app.exe as long as you use the KLayout Python Module ===> https://www.klayout.org/klayout-pypi/.
It is a different product from the KLayout GUI application.
(Image)
If yo…
Hi,
The environment settings shown in the attached document (thanks to ChatGPT) are required to run a Python script on a Windows terminal.
Just for your information.
Kazzz-S
Cont.
In the second half, you try to execute the script by running the KLayout GUI application in batch mode. In fact, this is not required for your application, as I mentioned above.
I found your script can run if the arguments "123 456"…
Hi,
(Quote)
OK. f2514.py already assumed these requirements. To run f2514.py in a terminal, you need to install:
1. an ordinary Python3 (I'm using 3.11.x) ===> https://www.python.org/downloads/
and
2. The klayout Python Module ===> https://w…
Cont.
The attached Python script f2514.py has the following options.
--------------------------------------------------------------------------------- f2514.py To check the number of top cells in given GDS/OASIS file(s) option & argument :…
Hi,
Automatically detecting the multi-top cells is easy.
But I do not understand what you mean by merge multiple top cells into one.
At least, it should be very risky because merging can easily destroy the designer's intentions.
A designer (providi…
Hi @smadhv,
Matthias resolved this issue in the 0.29.1 version. Thanks a lot :smile: (Image)
See https://github.com/KLayout/klayout/issues/1700 for details.
Different macOS DMGs incorporating the changes will be published shortly.
Regards,
Kazzz…
Hello @Matthias,
Oops, it's my mistake. My above description was incorrect. Sorry about that.
I placed pylnk3.py in the system's Python library, as shown below.
(Image)
I assumed pylnk3.py needed to be treated as a part of the system's Python.
I…
Hello @Matthias,
Thank you for the info. I learned a new technique today :smiley:
I found I should copy pylnk3.py into c:\users\your_name\KLayout\lib\python3.11\.
(Image)
Kazzz-S
cont.
(Image)
# https://www.klayout.de/forum/discussion/2490/problems-when-using-drc-script## File: Forum2490/Kazzz2.drc## While traveling along the edges clock-wise, at each right angle,# Turn Right => -90.degree# Trun Left => +90.de…
Hi @Default ,
I hope this is the output you want.
(Image)
report("w")layer22 = input(2, 2)edges_with_length_1um = layer22.drc(length == 1.um)corners_90degree = layer22.corners(+90.degree, as_boxes) + layer22.corners(-9…
Hi Vincent,
The changelog says:
(Image)
Even though I think Matthias will soon update the binaries, I attached a ZIP file containing the pymod I built for Windows 64 (MinGW64).
Regards,
Kazzz-S
Hi Matthias,
Thanks for the new major release 0.29.0 :smiley:
Release work is always hard :-(
On Windows 10, I usually install the *.zip package, and I am facing the same problem.
Before unpacking the ZIP, I completely delete previous binaries.
(…
cont.
I did some experiments by modifying src/plugins/tools/view_25d/lay_plugin/layD25ViewWidget.cc, where I forcibly set #version 120 (other details are omitted).
Linux Mint 20
kazzz-s@Mint20:~ (1)$ glxinfo | grep "OpenGL version"OpenG…
cont.
Hi,
I have been doing some research.
Any macro that sets the version will not work because the #version 150 statements are embedded (hardcoded) in src/plugins/tools/view_25d/lay_plugin/layD25ViewWidget.cc.
In MacOS, the OpenGL version seems…
Hi,
This is an open known issue in macOS.
* https://github.com/KLayout/klayout/issues/941
* https://github.com/KLayout/klayout/issues/1124
Thanks
Kazzz-S
Hello @MickM,
I'm sorry that I cannot provide the ARM version binary.
Please try building KLayout from the source if possible.
Hi @StefanThiede,
Thanks for your comments.
A recent KLayout version needs one more dependency.
brew install libgit2 …
Hello @Matthias,
Wow, thanks a lot for the new feature proposal :smile:
I've built the branch on my Mac and tested the new feature as shown in Fig.A-00 through -06 and Fig.B-00 through -06.
This is exactly what I wanted :smiley:
Best regards,
Kaz…
Hello @Matthias,
Thank you for your consideration. I understand the difficulty.
I can compromise by preparing a different pymacro for each favorable grid set using method=2, such as [tech-A.lym, tech-B.lym, ..., default.lym], and calling them manu…
Qt 5.12.8 and Clang-17 on Linux Mint 20.3
Supplemental:
I have also confirmed that this patch is required in the above-said environment.
That is, in a relatively old Qt and relatively new compiler (clang) combination.
The build was done in expert …
Hi @BillG,
I assume you are expecting the reading to float (hover) along with the dashed arrow before you click the left button. As @RawrRanger explains above, this is not possible.
I made an animation to improve my IT skills :smile: I'll also conf…