Hi Joel,
the bugfix you mention is not related to this issue but only to manual copy/paste in the editor.
If I understand your description correctly you changed the way the "test" library is built. So now, you're loading the library from…
Hi,
the request can probably be implemented, but the effort will be substantial. The basic approach for implementing a feature that provides mouse interaction is to employ the RBA::Plugin framework. A starting point is the documentation provided fo…
Hi,
that's a configuration item embedded in the menu. It does not bind to an Action.
That's why you do it this way:
RBA::Application.instance.set_config("combine-mode", "erase")
Values are:
* add
* merge
* erase
* mask
* dif…
Hi,
The Python it picks will be the one it was built against. That's related to the actual Python interpreter it uses. So for example if you want to run Python 3 and you system provides 2.7, you need to rebuild it.
But if it's just about pointing …
Hi,
Regarding 1.):
You mean Windows do you? Basically you're on the wrong track. KLayout comes with it's own Python installation and there are many good reasons for that - specifically on Windows. Given the variety of compilers and runtime environ…
Hi Lukas,
Basically a PCell is not a special cell. It's a special Instance (one that is enhanced with PCell parameters). So basically you cannot copy a PCell by a cell copy. But you can copy a PCell by copy/pasting the instance of the PCell: click …
Hi,
please paste your entire script. I can't help while getting only partial information and you seem to play with the code. Please also note that the forum supports Markdown. So please use it to format your code (put four blanks in front of each l…
Hi baworth,
Text handling is not part of the DRC engine yet. DRC is a pure mask geometry feature currently. That's why you don't see text object.
But the DRC feature is based on a Ruby script. This allows extenting the language with new features t…
Hi David,
thanks a lot - perfect intro :-)
I realize, that the image cannot be saved to PNG directly. If you want that you'll need to traverse the image pixel by pixel and generate a QImage object. This can be saved. I am overhauling the Ruby/Pyth…
Hi Thomas,
that's a DRC function. You need to use it in the context of a DRC script.
So you need to create a DRC script (Tools/DRC/New DRC Script) and use a script like this:
puts input(1, 0).area
This will print the area in square micrometers i…
Hi,
I can help out with the first problem - there is no quick fix available for sleepless kids, I'm afraid. But that problem will be solved just 15 years later. At this time it will be hard to get them out of bed :-)
For the sizing problem:
Sizin…
Hi,
that's very difficult to debug then. I am not aware of similar issues, but it is likely to be related to the way polygons are written. Maybe switching to other polygon modes (like SOLID/HATCH/LWPOLYLINE) helps.
Could you send a testcase to the…
Hi,
please give some more details. What is $output? Is this a file name ending with ".dxf"? Did you take a look into the file? Is it really DXF?
Does AutoCAD report any error? How does it fail?
Will AutoCAD read the file if you don't mo…
Hi Nathan,
while the editor is opened, the debugger is active. This slows down execution, because the debugger will hook itself into the interpreter. This will enable interacting with the execution of the code, but slow down each Python operation. …
To rotate the whole layout for example by 22.5 degree around the origin (0, 0) use
layout.transform(RBA::ICplxTrans::new(1.0, 22.5, false, 0, 0))
Matthias
Hi Ulli,
if it's just about drawing the layout in a different orientation you don't need to modify the layout.
Instead you can modify the view's global transformation like this:
RBA::LayoutView::current.set_config("global-trans", RBA::D…
Hi Wil,
Ruby 1.9 no longer is available for Ubuntu 16.04. So KLayout won't install on 16.04.
You always have the option to build KLayout from the sources. I'll provide a package for 16.04 on occasion of the next minor release. But don't ask me for…
Hi,
simple. This thing in discussion 814:
pya.Point(0,0)
defines the target coordinate of the cell (x, y). So just provide a counter and use a coordinate like "pya.Point(0, counter*50000)". Please note that the coordinates are "dat…
Hi,
I am not aware of the solution either. But I guess the general misconception is to replace "cells". In fact you can only replace "instances".
So the solution is
* Manually: go through the layout and change the target cells…
Hi Kazzz,
thanks for mentioning this issue. I understand the motivation for that. It is not a big issue for circles.
But I guess there is a similar topic for all the other "smooth" features like splines, ellipses, arcs and so forth. I do…
Very weired ... you're on Windows, are you? Maybe a problem with that build. It works perfectly for me on Linux.
I'll take a look into that.
Thanks for testing,
Matthias
Hi chhung,
is it mid-autumn already? I thought it's kind of late-summer to early-autumn transition ...
Sorry, just kidding :-)
Thanks for the data. The strange value like "x.ye-319" is a typical close-to-zero rounding issue. But I don't…
Hi Oliver
there is no such DRC rule yet, but you can add one:
# Include this in your DRC script to add a new check "polygons_with_more_points".# This check will create a new layer with all polygons with more than n points.class DRC::DRCL…
Hi,
134s may be good or bad depending on the hierarchical complexity of your layout. If the cell tree expands to a lot of effective instances, the cells traversed may become pretty big. In general, Ruby is quite efficient, but far from an optimized…
I'm sorry. The net tracer is a UI feature and script binding is not provided currently.
Technically it's possible, but it's more than a small effort.
Matthias