Some queries:
* Version 0.25.3 is over six years old. Is there any reason not to update to the latest version?
* Which binary distribution did you install, and on which OS?
* In what format did you save your layout design? GDS2, OASIS, or some …
Hi chrisl,
I hope the attached sample script from my toolbox will help you understand.
-----------------------------------------------------------------------------------------------------oas2png-new.py << To convert OASIS file(s) to PNG fi…
Hi @Ege_Bey,
KLayout 0.29.5 is out.
I've confirmed that the above forum2552-S.py script also runs as expected with klayout-0.29.5-cp311-cp311-win_amd64.whl.
Regards,
Kazzz-S
Hi @Ege_Bey,
Yes, we can run our script outside of the KLayout IDE.
However, we must install a patched *.whl (by pip) to address this issue.
I've run the below script with the (1) current release version and (2) locally built version of *.whl.
Plea…
Hi @Matthias,
Thanks for the quick fix.
I have tested the https://github.com/KLayout/klayout/tree/bugfix/issue-1799 branch.
All is OK on the three platforms. :smiley:
Platform OASIS = troublesome_taper.oas OASIS = troublesome_taper_ne…
Hi @Ege_Bey,
Thanks for testing.
I tried on Windows 10 Enterprise with...
(Image)
(Image)
(Image)
As you can see above, the results on Linux were reproduced. Are you using Windows 11?
I'll also try on Mac later today.
Regards,
Kazzz-S
Hi @Matthias,
I could reproduce this problem as follows.
Preparations
* I borrowed troublesome_taper.oas from https://github.com/KLayout/klayout/issues/1793.
* Using KLayout 0.29.4 (source build on Linux Mint 20.3), I saved it as troublesome_tape…
Hi Haruti,
Besides the above link, my essential reading includes
* https://www.klayout.org/klayout-pypi/* https://www.klayout.org/klayout-pypi/howtoreadtheref/
* https://www.klayout.org/klayout-pypi/overview/
* https://www.klayout.org/klayout-pypi…
KLayout >= 0.29.4
After a long gap (nearly four years), I needed to revise and modify the sample code for this post to work with KLayout >= 0.29.4 (the latest as of today), where
* Updated the PCell parameters
* Added one more cell hierarchy…
Cont.
3. Loading a DXF file
In contrast, the LoadLayoutOptions class provides many options for reading DXF files.
(Image)
The attached ZIP file contains the f2543-rev.py script, which reverse converts ringo-fruits.dxf to ringo-fruits.oas, where …
1. how to convert gds to dxf through a script
(I Know this is a duplicate question but, i want to know a brief example)
See, for example, https://www.klayout.de/forum/discussion/2514.
The attached ZIP file contains modified versions of Python scrip…
I've not fully digested what you want to do.
However, I hope the sample below is close to it.
Code
#----------------------------------------------------------------# Ref: https://www.klayout.de/forum/discussion/2539/# Sub: Add a layer parameter# P…
Hi @Matthias,
Thanks again for looking into this problem.
Between 23:42 and 23:45 (Munich time) 2024-06-24, I attempted twice and got two timeouts.
With the curl command,
: </salt-grain></salt-mine>curl https://sami.klayout.org/repos…
Hi @Matthias,
Thank you for looking into this problem.
With the 10s timeout, I frequently encountered the Case-A error.
I also got the Case-B problem thrice (in the last 3 hours; I do not remember exactly when).
I believe my home Internet environme…
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…