I rebuilt a MacOS binary by changing the timeout from 10 to 20 seconds.
Now it works! But I encountered Case-B three times.
I may have to complain to my ISP about the slow connection. :wink:
Sorry for my noisy posts.
* 2024-06-20: Case-B two time…
Your requirement doesn't seem to fall under the special terminology of resizing in photomask manufacturing.
If you could provide a more detailed explanation, you'd get proper help from the community.
My questions include: do you only need to compute…
Unfortunately, Manage Packages ends with errors on macOS, as shown below.
This function previously worked fine. I ran klayout 0.29.2 with -d 100.
Case-A happened most of the time, and Case-B happened only once for now.
In Linux Mint 21.3 (source b…
Cont.
Suppose f2514.py converted ringo.gds to ringo-A.dxf; similarly f2514b.py to ringo-B.dxf.
As seen in the images below, the coordinate values in the former DXF are 1000 times as large as the latter.
However, if the coordinate unit in the forme…
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.
(…