Hi,
I don't know whether I understand your request correctly, but I think you want to select a certain area before saving the image.
The methods for doing so are:
* "layout_view.zoom_box(box)" to select the rectangle given in "box&…
Hi Shirly,
yes it is. File->Setup, page Application/Key Bindings. Choose the item for which you want to install a shortcut, enter the desired key into the shortcut box right to the item list and hit "Ok".
Matthias
Hi Shirly,
The scripting feature is not a macro recorder - specifically it lacks "copy" and "paste", because the clipboard concept has been replaced by the ability to manipulate the objects of the database itself.
There is a lo…
Hi OkGuy,
that is actually not the real message. Your layer_proc.rbm is an older version which contained a bug, specifically when displaying the error. You could call that a "meta-bug" :-)
This bug has been fixed already. You can either …
Hi OkGuy,
thanks for posting the script - it's a nice application for the layer processing framework.
I don't see a reason why you modification should not work, but I don't have the full script. What exactly is the error message?
BTW: the script …
Hi,
if you have already selected a polygon inside the small cell, you two options:
* Choose "Edit/Properties" to show the properties of the polygon. Click "Instantiation" (bottom right) to show the instance path. Double-click o…
Hi,
what version of Qt are you using? The lighter method was introduced in 4.3, so I am suspecting your version is somewhat older.
I'd recommend upgrading to 4.5 at least.
Regards,
Matthias
Hi Marc,
complex VLSI examples are hard to get because they usually constitute some intellectual property. Gerber files are much easier to find in the free domain. Look for demo boards or reference layouts. Depending on the nature of the Gerber dat…
Hi OkGuy,
To get the layer index by layer number and datatype number
lnum = ... # layer numberdtnum = ... # datatype numberly = ... # layoutindex = ly.layer_indices.find do |li| info = ly.get_info(li) info.layer == lnum && info.datatype…
Hi Adrian,
apparently $QTDIR is set on your system pointing to /usr/lib/qt-3.3. It may work if you unset $QTDIR. If that does not work yet, try to specify the Qt installation paths with -qtlib, -qtbin and -qtinc (see build.sh -h).
Regards,
Matthi…
Hi,
The import basically just adds a new top cell above the imported ones. So it's not difficult to implement that - all you have to do is to create a new top cell and two instances of both original top cells.
One problem you might encounter is na…
Hi David,
that is actually a good start.
Now let's look how to proceed after you have checked that the shape is a path:
# get all verticespts = []shape.each_point { |p| pts.push(p) }# now you can modify the points. "pts" is a Ruby array…
Hi,
you can use the usual Ruby classes and methods to do that. That is a well documented feature. A brief introduction can be found here for example: http://alvinalexander.com/blog/post/ruby/how-write-text-to-file-ruby-example.
Matthias
Hi,
by "move" you mean "instantiate"?
You can place a cell using the "Instance" function - that way you put the contents of a cell into a bigger cell. You can do so multiple times and specify rotation and mirror on ea…
Hi Sveta,
the full functionality of the merge function is not available yet (I am working on it, but I cannot provide a timeframe).
A simple version of the merge function can be implemented by simply loading both layouts into one RBA::Layout objec…
Hi Max,
there never was "movie animation" or "color gradient" support. So there is nothing gone :-)
It is possible to animate the layout by employing Ruby scripting (i.e. http://klayout.de/forum/comments.php?DiscussionID=252&am…
Hi Max,
thank you for mentioning the text file approach. You're right, that is also a valid option.
I personally prefer the Ruby-based approach but maybe that is because I am quite familiar with it :-)
Let me list some advantages which come into …
Hallo,
there is no explicit tool for that but, that is a nice application for a PCell.
You could start with the circle sample PCell and modify it to represent a triangle with the required parameters.
Another approach is to use Ruby code to genera…
Hi Sveta,
it is in fact. But you should make yourself familiar with Ruby and the basics of the programming API.
Here is a very brief example. It creates one cell, one layer and one rectangle on that layer and writes the whole to a file called &quo…
Hi ronm,
Yes, that is possible. The key to that functionality is the method "Shapes#transform(shape, transformation)". The "transformation" is an affine transformation of class "Trans" which can represent a flipping or…
Hi,
I have made the .zip archive available on the server here: http://178.77.72.242/downloads/klayout-Icons-OSX.zip.
Thanks to Kazzz for providing it. If there is an enhancement, let me know. I'll update it then.
Regards,
Matthias
Hi,
I am as much novice as you are. Lacking Mac hardware (and given the non-profit nature of the project not willing to purchase one for the sole reason of supporting it), I myself don't use MacOS or develop on it. The binary packages are welcomed …
Hi,
there is a limitation to the shape size due to the 32 bit coordinate representation in GDS2. But given a usual database unit of 1nm (0.001), the size that is covered by the 32bit range is in the order of meters!
What database unit are you usin…
Hi Alex,
the round path PCell is not coded in Ruby but in C++ to support installations without Ruby interpreter. It's possible to create PCell's in C++ as well but I don't like to advertise that API. It's somethat different and not as easy to use a…
Hi OkGuy,
that is actually a nice idea, but right now it's not possible. The background color is a global configuration and that happens elsewhere, not in the .lyp file.
It's possible however to create a script that sets both the background color …
Hi Bertand,
I guess the Qt 5 plugin was overwriting the path to uic.exe. Because of that, the uic is no generating code which is compatible with Qt 4. Maybe it helps removing the Qt 5 plugin an reinstalling the Qt 4 plugin. I don't think this is re…
Hi Lital,
I'm afraid I don't understand the question. What kind of objects are $clip1 and $clip2?
"comning from" means that these cells have been created using the "clip" method. The output of the the clip method always is a ne…