Matthias

About

Username
Matthias
Joined
Visits
16
Last Active
Roles
Member

Comments

  • Hi, I have built the Debian package on Ubuntu 12.04LTS - apparently your Debian's libc6 is older than mine. I wonder why wheezy uses 2.13 which is almost four years old. I don't think it's recommended to upgrade libc, so I'd suggest to try a local…
  • Hi Heena, Transformation happens in the coordinate system of the cell. So rotations are applied using the origin of the cell as the center of rotation. To rotate around the center of the shape, you can first transform the shape so the center is at…
  • Hi, You may like to have a look into: http://klayout.de/forum/comments.php?DiscussionID=551. That is related to the ARC Pcell already. Please also have a look at http://klayout.de/doc/programming/index.html for an introduction into the scripting f…
  • Hi Xamax, I understand your point, but without integrating circles into the database, you won't be able to provide a real circle shape - with the respective properties and editing features. You can create a polygon in a special way but you won't be…
  • Hi psalome, That looks like a mixing of Qt4 and 5 - maybe moc is taken from Qt5 while the includes come from Qt4? Matthias
  • Hi xamax, thanks for you efforts, but I have not considered supporting circles or other conic shapes directly, for the simple reason that they are not supported figure types in GDS. It's true you can implement them as polygons as you did, but you …
  • Hi Thomas, I'd use the layer subtraction function in the boolean operation set. You could create a temporary layer, draw a shape (rectangle, polygon ...) where you want to remove the dots and use Edit/Layer/Boolean Operation with * Layer A: the la…
  • Hi there is a discussion about a similar problem here: http://klayout.de/forum/comments.php?DiscussionID=195&page=1#Item_5. Another discussion covering that topic is http://klayout.de/forum/comments.php?DiscussionID=173. The approach uses a si…
  • Hello, Qt5 is somewhat, but not sufficiently compatible with Qt4, so you can't compile KLayout with Qt5. Sorry. Matthias
  • Hi, still lacking suitable Mac hardware I do not actively support MacOS. So I can just guess. Why won't it compile? Any error messages? Matthias
  • Hi mfidalgo, I can just guess. Is there any error messages given? Knowing the cause will be very helpful to debug the problem. In general you cannot import any kind of Cadence techfiles. Some are written in a way to contain Skill code which the sc…
  • Hi OkGuy, the build script will use a top level Makefile which just includes "Makefile.env", "Makefile.body" and "Makefile.rules". I cannot support every kind of build system. I'd love to support qmake and QtCreator (…
  • Hi okguy, these files are generated from the .ui files in the Makefile using Qt's uic tool. They are generated in the object directory and cannot be found in the source tree. If they do not exist, the uic step failed for some reason. Please check w…
  • Hello, difficult to tell. Is there any message giving details about the problem? Basically there are different flavours of CIF. For example, Klayout uses 9x records to specify cell names and path types. Maybe the LDF converter does not accept them…
  • Hi Laurent, The correct Python statement is: from pya import *dialog = QDialog(Application.instance().main_window()) (note the brackets). You don't need "new" - it works too but that is not "pythonic". If you want to show the…
  • Hello, to be frank, I have not tried on OpenSuse myself. I will need to install it in order to reproduce the problem. From the stack trace I can only deduce an incompatibility of Ruby with KLayout's code. Once I have an installation and I am able …
  • Hi Hutch, thanks :-) But good point: I did not have angles in mind yet. Here is a script that measures the angle between two rulers: mw = RBA::Application::instance.main_windowlv = mw.current_view lv || raise("No layout loaded")rulers …
  • Hi Ben, a working code is this: # set the parameters# set some sample parameters (uses GDS layer 10/0):r1 = 20.0r2 = 30.0param = { "layer" => RBA::LayerInfo::new(1, 0), "actual_radius1" => r1, "actual_radius2"…
  • That's pretty simple - "cell" is unknown. You'll have to put the code into the "done" method before the "write". There you can use "@top" member variable instead of "cell" to address the top cell. …
  • Hi Mattseng, both pieces of code look fine to me. Some tools impose restrictions on the way arrays are created, hence using "-ax" for the array pitch may create some issues when using GDS2. But those tools are rare now and I don't think …
  • Hi, are you familiar with mask layout procedures in general? Basically, every polygon (box, path ...) is "filled" on a mask. The stipple is only provided for visualization - if multiple layers are overlapping the stipple pattern helps to…
  • Hi Post, first of all, 0.23.2 is not the latest version - but lacking hardware to fully support the Mac platform I am depending on the Mac community to provide binaries. But I don't think the problem is related to that version. There are some con…
  • Hi Mattseng, You have to open the file before the loop and put the loop into the block after the open :-) To write the values, there are many ways to do that in Ruby. Here's some "Rubyish" way: values = [ nc, nr, lc+kr, lr, kc, 5000*nc+…
  • Hi, "top_cell" just means the cell where you want to put the PCell into. That may be a "top" cell (means this cell is not called itself), but this can also be a child cell somewhere in the tree. You can take the current cell: …
  • Hi mattseng, I conducted some experiments on your code and my findings are that the text cells are a major contribution. You can bring that down by using the letter-by-letter approach. Specifically, in the initialization code you create cells with…
  • Hi beginner :-) Thanks for the feedback. Let me warn you about PCell's and scripting: right now, the PCell API is not quite simple and I recognized that as a weakness of the design. I will update that in the next major release and provide a simpli…
  • Hi rellachs, thanks for the hint about the missing "site-packages". I'll add that to the final version too. I simple forgot that. My reasoning was that having an external installation allows to check the new packages before cross-referen…
  • Thank you :-) 14G is still a lot, but I think that is what it takes. Maybe it's possible to reduce that - I guess the sample above is not representative, so I'll have to do a little guessing. Here are some thoughts: * Cells (not instances) create …
  • Hello, Here is the Python code for the script in the other thread: DISCLAIMER: I have not tested with the released eval version yet, but with a development snapshot of mine. EDIT: I noticed that I messed up the threads - the other one is called &…
  • Hi, There is some basic documentation in the "Resources" part of this site referring to the evaluation version: http://www.klayout.de/python_preview.html. This gives some sample already for creating a layout. Regarding the PCell instant…