Hi Jim,
you can use master or any other branch, but without warranty.
The usual approach (and the one favoured by GitHub) is: features are developed in branches. When they are considered stable enough they are integrated into the master (pull request). Hence the master is kind of "latest greatest", but with a certain risk of being spoiled. There are also forks from other user with their own masters and branches. Don't confuse them with the ones from the KLayout project.
But eventually, when the master is considered to have a sufficient quality, a release is made by creating a release tag (https://github.com/KLayout/klayout/releases). A release is a snapshot which is then turned into Windows binaries, Linux packages, PyPI wheels etc. This this is a lengthy process and I don't want to do this too often.
Matthias
Yes, new thread please. This is entirely unrelated.
But I'd take the warning serious. Maybe you can share a sample file that produces the warning, and I can help debugging. With sane OASIS files, no warnings should be seen.
And maybe you can share…
It is, but this is a non-scaling font, nor does it rotate.
"Default" font is good when you try to identify single labels in top level view because the labels don't shrink to nothing. On the other hand, with many labels the image gets clut…
Hi,
the "margin" option related to "enhanced fill mode".
It will do the following:
Consider a skinny fill region like this with a normal fill. All cells are on a fixed raster which renders poor fill performance, as all fill ce…
Hi Casper,
I assume that @1 or @2 have multiple top cells as the message says.
The problem is actually some kind of bug and should not happen as @1 or @2 already specify a certain cell. I have created a ticket for that: https://github.com/KLayout/…
Thanks, that is easy ...
Please see this line in "create_char":
pg0 = pya.DPoint( pair[0] * Dbu, pair[1]* Dbu )
You are using the DPoint object to create a Polygon object. Basically Polygon (integer-unit p…
Hi @wsteffe,
well, yes. News is that GitHub now shut down their SVN bridge forever and the convenient "tags/xyz" thingy no longer works.
I assume you wanted to register tag v0.4.2. In that case the URL is:
git+https://github.com/wsteffe…
Hello @mtnhomecad,
No, actually it is the other way round. "Trace Net" in "All Nets" mode will use l2n to trace the nets.
If you refer to single net tracing: that is a different algorithm and it only offers limited support for …
Understood and thanks for the link!
Give me a little time for the grown-up KLayout version that supports quality tessellation.
For now, KLayout can offer trapezoid decomposition which in my experience can be digested in many cases but some slicers…
Hi @mtnhomecad,
thanks for the explanation about IPC2581.
I don't want to spoil the fun, but your explanation sounds interesting enough so I think it makes sense to implement IPC2581 natively. But that will be a long-term goal. I won't rush, so yo…
@Jamboneil I did not know that there such a thing as a ultra hi-res printer ... do you have some more details about this?
Anyway, I wrote a STL producer script myself some time ago - although for low-res printing :) It can take layers from a layout…
@Giovanni I need more information about this. The message says, that you are giving some parameters to the Polygon constructors that are not exactly matching one version of the initializer, but there is a choice and there are multiple candidates.
I…
Hi @RawrRanger and @jiunnweiyeh,
your collaboration is amazing ... I really appreciate this, specifically the nice visualizations of @RawrRanger!
I just wanted to come back to @jiunnweiyeh 's comment at Jan 8:
(Quote)
The rules by which the round…
Cool, thanks for the link :)
The document does not mention a license so I take it for public.
I checked one of the public samples and the IPC-2581C version is much larger than the RS274X one (5 times). Looking at the file, the XML format is very b…
Interesting point. I did not know about IPC-2581. I checked for public specs, but all I could find was a version behind a paywall. Usually that means the spec isn't made for open source implementation (as this would disclose the actual spec in a way…
Wow ... @RawrRanger I need to digest this first.
But a brief comment: There is the "Radius Ruler" type. It can measure a radius when you provide three points (clicks):
(Image)
The measurements are precise only to the actual values wh…
Hi @BillG,
if your ruler shows arrows, then maybe you have a special style configured. The "Ruler" thing shouldn't display arrows, but a ruler with ticks and labels.
You can review your settings here: Edit/Ruler and Annotation Setup. The…
Hmm ... the script still works for me :(
But anyway, there is the Angle ruler now (finally in 2023):
(Image)
It needs three clicks: first point, common point (of both arms) and second point.
Matthias
Hi @thor,
thank you for your feedback.
By coincidence (?) a similar problem got reported by "shipfire" (https://www.klayout.de/forum/discussion/comment/10562#Comment_10562).
The problem with your case is that "PC_real" is a co…
Hi @dick_freebird,
You can use $KLAYOUT_PATH. This path lists the package folders that KLayout looks for components.
"Package folders" means there is a predefined substructure, so there is one path for different components. "Compone…
@rrzzxx22 Which version are you using? I have not found any version that features an assertion at the line you give. Clip function support for polygons with holes should be there since version 0.28.10.
Matthias
Hi @RawrRanger and @jiunnweiyeh,
That is correct, but actually the first "add_layer" would automatically imply "deselect_all_layers". So it is needed if the condition never matches. Maybe there is no layer "152/1" (or …
Very good, thanks @RawRanger!
Instead of triggering a specific action, you can also use the canonical ways - i.e. "set_config" and "switch_mode". This may be a slightly more portable:
def activateRuler(i = 1): pya.MainWindow.i…
@shipfire First, please open a new discussion for such questions. This discussion is already old. Second, please use MarkDown for marking code. A line with triple backticks before and after the code works wonders (same as on GitHub for example).
Re…
@BillG and @sekigawa "strm2txt" may not work as it reads the file before writing it as text and the reader will fail already.
For the purpose of debugging file issues I created a direct conversion tool (https://github.com/klayoutmatthias/…
@wsteffe Thanks, but I have a branch already (windows-build-ucrt64) which contains some more changes which I think are needed. Maybe you want to take a look at that.
Matthias
@sekigawa Thanks for mentioning XlsWriter. There is this ticket (https://github.com/KLayout/klayout/issues/1494) and there are two requests, one from you :)
I will try to include the XlsWriter package in the next release.
I am generating Excel she…
The pure Python way is to create a Region object and use "area" to get the area.
But in general the more efficient way is DRC script:
deep # hierarchical mode for best efficiencyin = input(1, 0) # layer to compute area fromputs in.…