Location of the three files
* KazzzS-KL2158A.py
A brief usage is given in the script, as shown below.
(Image)
If you are using KLayout on Window, the right place would be:
C:\Users\YOUR_USER_NAME\KLayout\pymacros\
* avatar.png
Any place. However…
OK. Then, the attached solution of mine will help.
But you need to modify the lines shown below to reflect your environment.
(Image)
Good luck!
Kazzz-S
As Matthias mentioned above, I could successfully build KLayout from its source using Anaconda3 on macOS(Catalina, Big Sur, Monterey) and Linux Mint 19.
Please refer to the following for the more detailed environments.
I hope this info helps you.
K…
Hi,
Can you remove the hatching patterns in the original DXF? Then,...
(Image)
Different DXF reader options
(Image)
(Image)
DXF reader options and the original DXF file with hatching patterns
(Image)
(Image)
(Image)
Kazzz-S
Hi @Vlad,
I have rebuilt the DMGs, which will be published by Matthias shortly.
If you are in a hurry, you can download it from my Dropbox.
The directory contains the first build on macOS Monterey (Intel Mac VM) as a trial.
Kazzz-S
Hi @Vlad,
Thanks for reporting this problem, which I could reproduce on Catalina and BigSur (Intel Mac).
Sorry about the inconvenience caused.
It looks that this issue is specific to the setuptools module in the HW*.dmg packages.
Another LW*.dmg pa…
Hi,
Yes, you can automate the auto measure. :smile:
Please refer to the following URLs.
1) https://www.klayout.de/forum/discussion/1310/ruby-python-automation-of-auto-measure
2) https://github.com/KLayout/klayout/issues/333
3) https://github.co…
Hi Matthias,
It's ready. I have added a comment to the closed ticket: https://github.com/KLayout/klayout/issues/844#issuecomment-879853650 , and sent you a separate mail.
It is in https://www.dropbox.com/sh/l6jin4ggqsm4am1/AAD5kLFVG0QhQVTG6GT2MWtw…
I have rebuilt the second DMG for Big Sur + Anaconda3 (LW-klayout-0.27.2-macOS-BigSur-2-qt5Ana3-Rana3Pana3.dmg), which will be published soon.
(Image)
Kazzz-S
The DMGs (for Catalina and Big Sur) with Anaconda3 bind both Python 3.8.x and Ruby 2.5.x.
So you need to install Ruby by:
$ conda install ruby
When installing the Ruby package, Python is downgraded from 3.8.10 to 3.8.2.
Kazzz-S
Hi Mike,
Thank you for posting this issue.
It might be an issue with Python version compatibility.
I expect that your Python 3.8.10 can work with the published KLayout binary.
But it does not work actually; weird :s
[1] My "anaconda3" en…
Hi,
I suppose you have tested ST-klayout-0.26.8-macOS-Catalina-1-qt5MP-RsysPsys.dmg with BigSur.
I have experienced the same (maybe) issue as you.
It looks like a Qt (5.14.2 from MacPorts)-related issue.
I have found a workaround, and a new version…
Hi,
I suppose you have tested ST-klayout-0.26.8-macOS-Catalina-1-qt5MP-RsysPsys.dmg with BigSur.
I have experienced the same (maybe) issue as you.
It looks like a Qt (5.14.2 from MacPorts)-related issue.
I have found a workaround, and a new version…
Hi klaybur,
Regarding the "exception," let's examine the code "KazzzS-2809_Coord_Angle.py" line-by-line.
A corresponding line number is indicated by [L-nnn].
* To start with, our script does not know anything about "what t…
Hi dsenuka,
Thank you for your feedback. Hope the performance is enough for you.
In my guess, you are going to finish up the layout by referring to the present quarter piece four times with 0-, 90-, 180-, and 270-degree rotation.
You can also achi…
Hi klaybur,
I should have mentioned about the [Ignore] option in debugging even though you may know about it.
(Image)
If we choose this option, the debugger does not stop on the exception.
This option is convenient if we have two or more kinds of…
Hi klaybur,
Nice to hear that the new script serves for you.
About one hour after submitting the No.2 ZIP file, I revised some source code comments and reattached the ZIP.
Please update with the present one. Sorry for the inconvenience caused.
Kaz…
Hi klaybur,
From the above-attached files, I could get a clear idea about what you want to do.
Please refer to the files in the attached ZIP file. The modified PYA is KazzzS-2809_Coord_Angle.py.
I believe the new script is more in-line with your re…
Hi dsenuka,
It's weird!
For a quick testing, on my Linux, I have created a new directory $HOME/KLayout/Forum1642x/, which holds only RealKL1642.csv to start with.
After the new script KazzzS-RealKL1642.py ran, I got RealKL1642.gds in the same dire…
Hi dsenuka,
Even with the given real-data Excel sheet, I do not fully understand your real-life problem.
However, if my assumptions are correct, you are trying to layout about 1.4 million circles in the quadrant-I.
Then, my main interest has moved …