Cont.
4. Using gds2png.py
I have modified the oas2png-new.py tool attached to Forum-2563 and wrote this tool.
If the -l <LYP file> option is not used, LayoutView.get_pixels_with_options_mono() is used internally, and the output image will be…
Cont.
3. Using Forum2568_KazzzS.py
While running the original script in the IDE, I found some points and modified the script accordingly.
Please note that I have not fully digested your intentions.
However, at least I could avoid the Runtime Erro…
Cont.
2. Using the original bug_repro.py script
> import os> os.chdir("/Users/sekigawa/GitWork/ForumKLayout/Forum/Forum2568/")> os.getcwd()'/Users/sekigawa/GitWork/ForumKLayout/Forum/Forum2568'Running macro /Users/sekigawa/.klay…
Hi jamesryan,
1. Intro.
I'm studying this case out of curiosity.
I could reproduce your problem with KLayout 0.25.9 on Linux Mint 20.3 and macOS Monterey.
If my understanding is correct, you want to:
* Remove all references to a particular cell (…
Hi @Matthias,
The bug was not inside KLayout; I misused an API function.
Incorrect:
: cellview.set_cell(topcellIdx) layoutview.max_hier_levels = layoutview.max_hier_levels + 1 <=== # layoutview.max_hier_levels is not automatically set by …
Cont.
I found and fixed a fatal bug (cell hierarchy level is not checked), then re-attached the ZIP file (2024-08-07).
Sorry about the inconvenience once again.
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…