davidnhutch

About

Username
davidnhutch
Joined
Visits
1
Last Active
Roles
Member

Comments

  • Oh. Hah. I see your title says "Coding..." -- sorry I should have offered a coding solution earlier but I just read the post content. I too came to KL with mostly just Matlab experience. So I got a book out and learned Ruby, which is som…
  • Chris, Works great! Thanks! I shoulda realized it was stored in klayoutrc. But you also gave a particularly nice way to modify it. Thanks! David
  • Ah! A simple fix again. Thank you Matthias. I am slowly learning... Thanks, David
  • OK good to know it's not a simple thing that I was missing. Well, as always, there is a script solution due to your awesome RBA module. Interesting, I didn't know that latter point. Thanks David
  • Regarding the second issue - Right, my apologies. I was confused, it is fixed. A huge thanks! Regarding the first issue - perhaps I didn't explain properly. I fully agree that "for some PCells (like rounded polygons) it's essential to be able …
  • Hi Mauri, You could be in "Merge" mode. Look on the toolbar, click the button next to "Merge", and change to "Add". You should almost always be in "Add" mode. Also, you should upgrade to the latest version w…
  • Chris, Here is some code that reproduces display-goto-position (Ctrl-G) with minor changes. I wrote it before I knew that display-goto-position existed ;) Hopefully you can modify for your purposes, e.g. it sounds like you need to put it in a loop…
  • Right click on the layers list and choose Add Other Layer entries. Does that solve it?
  • Hi Matthias, Just tried 0.23.11 and notice that the latter issue above (cells are always selectable when using partial tool) is still the same. Is this something you planned to patch in 0.24? (I know you already have a long to-do list for 0.24; j…
  • I haven't tried your code, but in answer to your question (plus a couple other thoughts): * When pasting code here, indent each line by at least four spaces, and choose the "Markdown" radio button below the textbox where you are typing. S…
  • Becoming new top level cells is fine, that's easy for the user to delete from derivative.oas/gds. Ah. Too bad. I can't use gds, I have to use oas for the derivative file. Because I am using shape properties that are not compatible with GDS spec. An…
  • Thanks Matthias, Do you have any ideas for short term fixes via Ruby or otherwise? Such as somehow forcing a refresh of the library instances? David
  • I have never done it, but try concatenating your desired path to $LOAD_PATH. Press F5, Type "$LOAD_PATH" in the console window to list whatever is currently stored in that global variable, and then concatenate your desired filepath. Type …
  • Instead of "same level as the executable" (I presume C:\Program Files\KLayout, which I thought was on the search path but maybe not), did you try putting it at C:\Users\username\KLayout\tech (which is definitely on the search path)?
  • I haven't heard back from Matthias either way yet. Since my vacation is ticking away ("vacation" = extra time to work on stuff), and since I haven't heard back, I'll assume that a Vanilla 2 plugin is a feature that is not desired, and stop…
  • I'd put two wires either overlaid (or divide the wire into two end-to-end contiguous wires), each one having a different end type.
  • (Quote) Yes. Not to get too carried away though, I'll just answer your questions and comment on your post below (Quote) Aha! Glad it makes sense now :-) Yes on my dummy forum there are two master categories in the list on the left side: "Discu…
  • True, good thoughts. I'm not 100% sure what you meant by your first paragraph. I suspect actually you looked at my 'dummy' forum and think I am proposing to have a separate forum for scripts (my one) and another one for klayout.de conversations (Ma…
  • Thanks for trying out the dummy forum and for your feedback! You bring up a good point, and one that I have thought about, but actually I identify two use cases and a single solution may not solve both. * Use case #1: Someone posts standalone or m…
  • UPDATE There has been some delay as I got busy with other things, but I have a vacation upcoming... so you know what that means: No work means I can finally get some things done! :) It's finished except some of the presentation could use polishing…
  • I know I'm not Matthias :-) But just trying to make his job easier, as he has given us great software and it is the least I can do to return the favor.. Cell is a regular GDS 'cell', that is: it is sort of a container that holds shapes and other in…
  • Hi euzada, I believe "Snap to objects" works for, and is only intended for, drawing new shapes, not for snapping existing shapes to other existing shapes. Meaning, when it is turned on, the first click and subsequent clicks for drawing bo…
  • Copy this to a new .lym, press the orange Properties button, make it run on startup. "some_slug" identifies it in case you need that elsewhere. Note also that in order to find "edit_menu.selection_menu.align" I just went File &g…
  • shirly, You say "length of a path polygon". I assume you mean "path". If it has been converted from a path to a polygon already, the problem is harder. There is a script http://klayout.de/forum/comments.php?DiscussionID=540 but…
  • This may or may not be a helpful comment. My apologies if it is not... Did you know you can create complicated ui's using QT Creator, save it as a .ui file, and then call it in KLayout script? It's possible you weren't aware of that solution (but i…
  • friendfx, A hack that may work: (Actually yaml is included in my version 0.23.3 so I can't try the method below. (require 'yaml' doesn't generate errors, and some simple test cases work. Also in C:\Program Files\KLayout (64bit)\lib\ruby\1.9.1\ I h…
  • Thanks Matthias. The easiest fix might be to just make DRC-based boolean operations convert "non-simple" polygon outputs to simple polygons, prior to outputting on the layout. Because the only known (known to me) case where this appears …
  • Diego, friendfx's solution looks fine Two other solutions just for purpose of edification: Depending on how many shapes (or cells) you are inserting within produce_impl, you could also transform as you insert them. So any line that looks like thi…
  • Probably you are running an old version of KL. The Layout.layer method was introduced in version 0.23. Did that fix it? There is a way to do the same thing on pre-0.23, but I recommend just upgrading. No question is silly! Here to help! I think yo…
  • Yes. Open a new layout with a new layer 1, and run this: include RBAlv = Application.instance.main_window.current_viewlayout = lv.active_cellview.layoutdbu = layout.dbuout_cell = lv.active_cellview.cellout_layer = layout.layer(1,0)width = 1 # umx_s…