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
This means that OpenGL is not good enough. GLSL 1.5 is only supported from OpenGL 3.2 on.
I have a NVIDIA T1200 with Ubuntu 22 and my version is:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
I do not fully under…
That is not difficult but you need:
* The path to the first file (target)
* The path to the second file (source)
* A list of source and target cell names (where to copy from, where to copy to)
* The name of the output file
The script is:
# targe…
Hi @Stephan_Kohler,
to emulate the "import layout" behavior you need to first read the DXF file and then copy over the content to the target layout.
Like here:
dxfPath="path/to/dxf"tmp = pya.Layout()# Define the load optionslo…
Hi @cadnav,
GLSL 1.5 comes with OpenGL 3.2 which dates back to 2009. I intentionally used an old version to stay compatible with older platforms. What is glxinfo | grep "OpenGL version" saying on your system?
I for myself never had issue…
Hi @dick_freebird,
unlike the .lyp, the mapping file is based on LEF/DEF layer/purpose pairs, so there is no direct way to translate .lyp to the mapping file.
And yes, a warning is issued if layers are encountered that are not listed in the file.
…
Hi @mliberty,
I suggest that maybe you use a .map file. That is much easier to use than the layer map specification inside the .lyt file. The original idea was to supply some pattern-based layer generation with additional translation, but I guess I…
Hi @mikamar,
you have a misconception of the XSection abilities. It is NOT a 3d technology simulator. It is a simplistic implementation and cannot capture effects from structures left or right of the ruler line.
You can capture the effect to some …
Hi @woelt,
It's not common to store a script file next to a layout as scripts are meant to be universal. Scripts are configuration and layout is data. The idea is to keep these things separate and there is no provision for dynamic script locations …
Hi @mtnhomecad,
I tried your script and can see the effect you mention.
But it is hard to understand what you're trying to do and where the actual bug is.
I'd start with structuring the code with functions - there are too many loops nested into o…
Actually the extractor normalizes the shape, but the display is wrong. The marker needs to be moved back to the original location.
I have fixed that now (-> see issue above). During the testing I found a small bug in the resistor extraction code…
@sekigawa Cool! Thanks for this feedback :)
You're always welcome!
It was much easier to implement in C++ - this is a spot where scripting will not really help as it conflicts with the internal logic.
I'll put that into 0.28.16. 0.29 will need a l…
Hi @sekigawa,
I have added some feature (branch "tech-specific-grids"). It allows specifying a grid list per technology:
(Image)
In addition, grids less than 0.5µm are shown in nanometers.
I can include that in the next minor release.…
Holy cow!
@jiunnweiyeh You like these kind of puzzles do you? :)
From the academic viewpoint that looks like a variant of the path finding problem (see https://en.wikipedia.org/wiki/Pathfinding). "A*" is an algorithm often used in router…
Hi @rrzzxx22,
why not opening a new discussion?
I don't know what you are trying to do. I assume (but cannot confirm) that you can configure KLayout as Python interpreter inside PyCharm (using 'klayout -r xyz.py' to run a Python script). However, …
Hi @Dunkelwind,
I agree with @dick_freebird that you should first target a clean layout through DRC coverage. "bad devices" should be detected by DRC in the first place.
Still, the "error" feature should work. Maybe the resisto…
"..." just indicates that "sel" is an array. If you try to expand the tree node, it should expand to nothing.
Looks like you have not selected anything, right?
Matthias
Hi @sekigawa,
I though about the problem and I basically think it will be very hard to override the "Grid" menu behavior. This is because this menu is updated occasionally by the system with it's own rules and it is hard to predict when.
…
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 …