Hi Jim,
you can use master or any other branch, but without warranty.
The usual approach (and the one favoured by GitHub) is: features are developed in branches. When they are considered stable enough they are integrated into the master (pull request). Hence the master is kind of "latest greatest", but with a certain risk of being spoiled. There are also forks from other user with their own masters and branches. Don't confuse them with the ones from the KLayout project.
But eventually, when the master is considered to have a sufficient quality, a release is made by creating a release tag (https://github.com/KLayout/klayout/releases). A release is a snapshot which is then turned into Windows binaries, Linux packages, PyPI wheels etc. This this is a lengthy process and I don't want to do this too often.
Matthias
Hi Sunil,
this log is just the last lines. The actual error is not shown.
Do you have a chance to install the CentOS7 RPM? This is a tested version, but you'll need root permissions.
Matthias
Hi Kevin,
Maybe there is a macro installed which somehow prevents using rulers.
Macros are kept inside %HOME%\KLayout too in the macros, ruby etc folders. So you could rename the entire "KLayout" folder to something else. Then KLayout sh…
Hello,
Yes, shape properties are possible. You could also use texts to label the ports, if that is an option.
Instance properties cannot be used because the PCell is the target of the instance, not the instance itself. Multiple instances can share…
Hi,
that's because 0.24.7 is a bit outdated. The script above requires a 0.25.x version.
A compatible version of the script is:
RBA::Application::instance.main_window.load_layout($layout, 1)lv = RBA::LayoutView::currentcv = RBA::CellView::activel…
Hi,
you cannot. A PCell shall deliver layout and not modify the external attributes of a cell (such as name, placement, etc.). The user properties are among the external attributes. Instances cannot be accessed from within the PCell because KLayout…
Hello,
you can achieve this through a script:
Save this to "show.rb":
RBA::Application::instance.main_window.load_layout($layout, 1)cv = RBA::CellView::activecv.cell = cv.layout.cell($cell)
And run KLayout this way:
klayout -rm show.r…
Oh yes ... unlucky choice I admit. "size" is usually used for number of elements (like array#size in Ruby) ... but num_polygons would be better for sure.
Matthias
Hi,
I guess that is related to a broken configuration. Could you try removing or renaming ~/.klayout/klayoutrc (Linux) or %HOME%\KLayout\klayoutrc (Windows)? This should make KLayout start with a clean configuration.
In case you have configured KL…
Hi Thomas,
yes, the idea of the "LayoutToNetlist" API is to deliver geometry information along with the nets. The methods provided currently are "shapes_of_net" for flat output and "build_net"/"build_all_nets"…
Hi Ken,
there are few free samples, as technology information often is confidential.
But in this forum there are some samples and discussions which may be helpful:
https://www.klayout.de/forum/discussion/1032
https://www.klayout.de/forum/discuss…
Hi tok,
we had this discussion here already.
I actually tried to implement this feature but there is a serious issue: usually writing a GDS file takes some time. But the file will be recognized as modified just after the file started to be written…
Hi tok,
Thanks for providing this package. I'm excited to see you're already aboard. On the other hand I'm a bit worried as there are many bugs yet to discover ...
I have just pushed a commit that adds a SPICE writer in C++. It's configurable thro…
Hi Laurent,
you can use the recursive shape iterator on all layers of the active cell by doing this:
cv = RBA::CellView::activelay = cv.layoutcell = cv.celliter = RBA::RecursiveShapeIterator::new(lay, cell, lay.layer_indexes)while ! iter.at_end() …
Hi Itamar,
I have fixed the "unknown format" issue with the installer.
I'd like to know what issue you have with missing DLL files. Could you tell me if the message says which DLL is missing?
Thanks,
Matthias
Hi Vikas,
yes there is.
First, the DRC is flat, which is not the optimum solution. A hierarchical DRC can exploit the repetitive nature of a hierarchy and speed up thinks. I'm working on such a thing, but it's not ready. You're description also do…
Hi euzada,
sorry for the late reply - your code isn't bad. Thanks for sharing it. There is a little redundancy with the hidden parameters, but unless you strive for maximum compatibility, that's fine.
I have changed the generator code to match the…
Before you do so, maybe you can try with the latest 0.26 build from https://www.klayout.org/downloads/master/windows/klayout-0.26-win64-install.exe (or win32). It's based on a pretty recent Qt5 and MSVC 2017. If the problem still persists, you can …
Yes, please do. Ideally you'd attach it here or put it on a gist and link it here. This is a place where everyone can learn and this is a opportunity to do so.
Matthias
Hi Andy,
that the beauty of a dynamic language - everyone can tailor it to his or her needs :-)
I personally like Ruby better for this kind of thing. You can essentially turn it into something entirely different (look at Rails or KLayout's DRC or …
And for now, here is something new:
ly = RBA::CellView::active.layout# for batch mode save this text to "this_script.rb" and use# ly = RBA::Layout::new# ly.read($input) # and use "klayout -b -rd input=yourfile.oas ... -r this_scrip…
Hi Luciano,
please don't let me guess. There are too many variants of hierarchy, so there isn't a single answer. "Double layer of hierarchy" means there is a cell in between top cell and the one you're interested in? So you want the coord…
Hi,
I think the problem is that the array feature will not allow you to create a rectangular area filled with honeycombs. Will it help, if the basic cell is a rectangular cross section of the honeycomb as in this screenshot?
Matthias
(Image)
Hi Luciano,
yes that's possible. Are all the cells on a single level of hierarchy (i.e. below the top cell)? And you don't need the orientation?
Matthias
Hi Laurent,
no there isn't. Both Ruby and Python aren't thread-safe, so that's not feasible. You can run parallel instances of KLayout and finally merge the layouts.
Matthias