Matthias

About

Username
Matthias
Joined
Visits
16
Last Active
Roles
Member

Comments

  • Hi, you can use the clip tool to cut out parts of your layout (in editor mode: "Edit/Utilities/Clip Tool"). Another option is to save only a subset of the layers (hide the layers you don't want to save and use "Visible layers only&q…
  • Yes, a box can serve as such a probe shape. You should use an unused layer so you don't interfere with mask or other layout. Texts (Labels) provide a way to convey more information than just a coordinate. In addition to their position they carry a …
  • Hi Sunny Here is some code (not tested): # the mapping tablemapping = { [10, 0] => "METAL1", # layer 10, dataype 0 -> "METAL1" [11, 0] => "VIA", # etc. [12, 0] => "METAL2"}# read file …
  • Hello, I think you have an older Qt version in your linker path (/usr/lib or otherwise). Try setting LD_LIBRARY_PATH to the true location of your Qt libraries. This is probably "/s500/scyeh/bin/qt-4.7.3/". BTW: why is it always Red Hat …
  • Not yet, I'm sorry. LEF is not like the usual stream formats. It requires additional configuration and that is not readily available in the context of the batch mode tools. You can have look at "extLEFImporter.cc" and "extDEFImporter…
  • Do you mean "getting by script"? That is available through the "CellView". For example: RBA::CellView::active.filename Matthias
  • Hello, well ... something is wrong with your Qt installation. QtCore should provide QCryptographicHash, but it does not in your case. Are you sure your Qt installation is complete? Maybe some 3rd party library was missing during the Qt build and c…
  • Hi Brian, right now there isn't. The reason is the PCell layout caching: a PCell is not always recomputed - that was far too inefficient. Instead the layout is cached for a given parameter set. This does not change when the PCell is moved, so the …
  • Hi Laurent, since you cannot make two cells current, you have to apply a trick to acchieve what you want. You can basically load a layout twice into the same panel: load it once, then use "File/Pull in other layout" to add the same layout…
  • Hi Kazzz, good to hear the update provides a solution. I am sorry for the missing signals initially - that would have made life easier. If you miss something again, just drop me a brief note and I'll have a look. I think I know why the STDIN won't…
  • Hello, yes, the parenthesis indicates a cell is called but not part of the file. KLayout calls them "ghost cells". Lacking any information about those cells, KLayout cannot draw them. They will appear as tiny crosses when you select them.…
  • Hi, as a general rule, you won't find a lot of documentation about Qt in KLayout. The documentation source is the official Qt documentation. The QClipboard documentation gives this C++ sample code: QClipboard *clipboard = QApplication::clipboard(…
  • Hi Itamar, Could you try 0.23.7? There have been a couple of bug fixes since 0.23.2 and maybe the problem is a side effect of another bug. I am using W7 on 64bit myself on a daily basis, with and without macros and so far I have no observed a cras…
  • Hi tyanata, As far as I see, the problem is the following: DXF is a unitless format - the numbers inside the file are just numbers. In order to convert them to a physical dimension you have to multiply them by the unit. This unit is not stored ins…
  • Hi Akshay, maybe, strmcmp already does what you need. If you run Linux, all you need to do is to build KLayout from the sources (see "Download & Build"). In the binary folder you'll get a "strmcmp" utility which you simply c…
  • Hi, as I said, there is no batch mode available for the diff tool currently. If you have some C++ coding skills you may be able to extract the functionality from extDiffToolDialog.cc. Another option is to take the test utility in "strmcmp.cc&…
  • Hi tyanata, have you tried "File/Layout Statistics"? There is a list of layers (after the top cells). You can copy/paste that in some document. Matthias
  • Hello, well, you're right ... the readyRead is missing. Thanks for mentioning this. The documentation and the Ruby bindings are generated automatically from the Qt headers. So if the documentation does not mention it, there really is no signal. I…
  • Hello, I don't know of a real standard regarding drill files, so there is no real list. The Excellon drill file specification is rather complete and comprehensive. I was referring to a spec for a CNC-7 machine mainly. But there appear to be numero…
  • Hi Akshay, I am sorry, but the diff tool is not available in batch mode currently. There is a simplified version of the diff algorithm available as a standalone tool on Linux, but mainly for test purposes. I will file this request, but unless you …
  • Hello, here is the formatted table again for convenience (you can use Markdown formatting: put four blanks in from of each line will make the text formatted as monospace code): <<< Client Side :: KLayout /w RBA >>>+==============…
  • Very good :-) I usually don't delete discussions. If you like you can state your solution here - this might be useful for other users too. Matthias
  • Hi Ken, that is basically possible - you can navigate the view window by script. It's even possible to overlay images with a script, so you could implement a feature where you take snaps and place them over the layout. You're not the first to ask …
  • Well ... if you are able to provide a simple example which allows me to reproduce the problem I will have a look at it. If you have a testcase (initial GDS and maybe converted DXF which does not load properly in AutoCAD), please submit it to the mai…
  • Hello, Thank you for providing the script. That way it's easier to understand your request. Basically, cm_select_all and cm_rotate_ccw are not intended to be used within scripts - they are provided as hooks for the menu items only. In general, scr…
  • No. No way. PCell's are not intended to add features - they are a completely different concept and I am not going to mess up these concepts. If I would, I'd have to support variable-width paths, bulges, splines, hatches, dimensions, rich format text…
  • Hi Sunny, I'm having the same problems myself in some (but recently rare) cases. It's always very frustrating to debug these issues, because AutoCAD does not tell anything. Or are you expecting warnings by KLayout? Well, let me clearly say somethi…
  • Hello, I'm not sure whether I understand your request. Do you mean you want to see the content of the cell rotated rather than the cell instance? You can rotate the content by switching to the cell, selecting all and choosing "Edit/Selection/…
  • Hi, this sample is trying to create a CIRCLE PCell, not an ARC. To place an ARC PCell, replace the cell name by ARC: pcell_decl1 = lib1.layout.pcell_declaration("ARC")pcell_decl1 || raise("Unknown PCell 'ARC'") The parameters…
  • Hi Sunny, there is no simple way to remove the "LxDy" prefix currently. KLayout uses that prefix to preserve the information from the GDS file. When you read a DXF file, it will translate that prefix back into layer/datatypes, so you don'…