Hi Laurent,
maybe that GDS does not have any shapes on these layers? Basically, a GDS file does not "contain layers", it just contains shapes. If there are no shapes (or texts) on a layer, the layer will not be there.
A solution is to pr…
Hi ata,
I think that is either a bug. Given the bad documentation quality of DXF my interpretation may also be incorrect.
Are you able to send a simple testcase (with and without dimension marker) to the mail address mentioned on the Contact page …
Well, bitmaps for visualization do not reflect pattern densities - the focus is on showing "something". Hence a pixel is set if some shape is on that pixel, but the pixel does not say much about the density at this point.
If you want a bi…
Hi David,
brief update: the recipe given above also works on Windows 7 SP1 - when closing and opening again, the layout is updated. What are the exact steps you take?
Best regards,
Matthias
Hi Brendan,
I'd expect record-breaking, unmatched performance of course :-)
No frankly - performance was not the ultimate goal in the DRC engine. It uses a pretty simple flat approach and the main targets are small to medium sized layouts. And I a…
Hello,
the answer depends on your application. The approach is suitable to create bitmaps for visualization purposes. If you want to feed the bitmaps into some mask writer tool for example, you may require a higher quality output.
You can set the …
Hi David,
I hope I won't cause frustration again: this is how it worked for me:
* Create A.gds
* Save & close KLayout
* Open KLayout again
* Edit the library
* Save & close again
* Open KLayout once again
* Open A.gds
KLayout won't refres…
Hi David,
readonly parameters are intended for exactly this case.
They can be modified - the TEXT PCell for example uses this feature to display the effective line width and text height from the character cell's dimensions and the magnification.
…
Hi all,
since 0.23.x there is a method Layout#convert_cell_to_static which converts a PCell to a static cell. It takes the cell index of the proxy cell (that is a representative of the PCell in the layout) and creates a new cell which is basically …
Hi Nicolas,
thank you for your feedback.
Regarding the extraction of big nets: it's a known limitation of the net tracer implementation. The net tracer implements uses an incremental approach to extract a net - using the shapes already found it lo…
Well ... 0.23.3 32bit and 64bit ... all working as expected.
Your list of observations indicate it's related to the window management and window activation/deactivation. Do you use some special settings on the desktop or some special configuration …
Hi David,
I tried my best, but I still cannot reproduce it. I'm using Windows 7, 64bit SP1. But I'm using KLayout 0.23.4 - I'm not aware of anything that I changed related to the macro IDE, so it should behave the same way than 0.23.3.
Here's how …
Hi David,
thanks for your efforts to trace down the issue. I'll try my best to reproduce it.
Regarding the non-debugger run mode: I was not aware of this. My reasoning was that people would close the macro editor if they don't want to run the macr…
Hi David,
almost .. There is no method to iterate the PCell declarations currently (I simply forgot).
But there is a workaround: although not documented explicitly, the PCell ID's are assigned as consecutive numbers 0, 1, 2, ... (disclaimer: I don…
Hi David,
thanks :-)
There is a similar functionality there: select the cell in the tree and choose "Tools/Browse Instances". You will be able to browse the instances of the current cell in the cell tree.
Matthias
Hi Dave,
I can't confirm that there is a bug. On 0.23.4 I can import a PCB layout with round apertures and if I modify the number of points I get smoother or less smoother circles. I have been using 8 to 200 points.
Maybe your Gerber file is using…
Hi David,
it should point you to the current cell in the cell tree. If you have a big tree and browse through the hierarchy which having selected one cell way below, you may get lost. "Where am I?" helps you to get back.
Matthias
Hi David,
I'm a overachiever too :-)
If the "read again" approach is too simplistic, I can offer Cell#copy_tree_shapes. There is a version of that method which takes a CellMapping object which allows to be very specific about what target…
Hi Alessando,
thank you :-)
Your problem can be solved using a DRC script. The basic operation is that:
input(1, 0).merged.output(1, 0)input(2, 0).merged.output(2, 0)...
You can even put that into a loop:
# layers 1 to 100(1..100).each do |l| …
Hi db,
your description calls for automation, but it's very difficult without an actual sample.
There is another feature which may be helpful to simplify your task. You can align "objects" using the "Edit/Selection/Align" featu…
Hi Laurent,
the net tracer is not accessible through scripts currently. It's an interactive feature only. I plan to provide script binding to the net tracer, but that will be a major feature.
Regards,
Matthias
Hi,
I'm afraid I don't understand the question.
As sketched above it is possible to move the contents of a cell, so it's basically possible to set the origin to any position - by moving the content in the opposite direction. It's not as convenient…
Sure that's possible. Just exploit the power of Ruby:
# normalize to 0..1max = data.maxmax < 1e-10 && raise("Overall density too low")data = data.collect { |d| d / max }# now the original code follows:if nrows * ncolumns > 0…
Hi Itamar,
the script should print out the densities in percent on the console (if you run it in the macro editor for example). What are those numbers? Do they make sense?
If yes, then it's somehow related to the data mapping inside the image.
Ma…
Hi David,
you love to write text do you ... :-)
I'll try to answer your points, but first of all, the solution you look for may be as simple as this:
ly = RBA::Layout::newly.read("file1.gds")ly.read("file2.gds")
The second re…
Hello,
I guess you mean "adjust origin" ... When I understand your request correctly, you want to make that point the new origin (0, 0). That boils down to shifting the content of the cell by (-x, -y).
You can shift the contents of a cel…
Maybe I was not explicit enough: if you're seriously looking into Gerber, there is gerbv and many other tools. KLayout is a silicon layout tool and there are multiple layers, a particular idea of connectivity, few round features and not much use for…