Things I find in the Forum's
# Honey PCell## This sample PCell implements a library called "HoneyPCellLibrary" with a single PCell that# provides a honeycomb arraymodule HoneyPCellLibrary include RBA # Remove any definition of our clas…
@Matthias @dick_freebird @MoBe
Matthias,
Code has been updated to route on any grid that Text is placed on
updated Router.py code
https://github.com/hgroller/KlayoutRouter
MoBe
I think this is what you after .. ;) :)
I don't know what your channel_radius is
so just plugged in a number
Tracy
import pyaimport arrayimport sysimport mathlayout = pya.Application.instance().main_window().current_view().active_cellview…
Matthias,
Sorry the DragBox works as expected,
I would like to be able to use a Path and follow the mouse clicks,
instead of drawing a box it would draw a path .
that make sense ...
I have tried the DPath Object , I may be missing something or
ju…
Update Proof of Concept Router to Ports using A*
Discussion is here
https://www.klayout.de/forum/discussion/1778/proof-of-concept-router-for-klayout#latest
@Matthias @dick_freebird @MoBe
Router.py has been updated to do Vert/Horz Metals and Drop vias
Added ToolBar menu...
Working on little bugs :)
Rules are next ....
Proof of Concept Router for Klayout
git hub is here https://github.com/hgroller/Klayo…
@dick_freebird
Let's see
you could do the following below in the while statement add a array to capture the text name and x/y coords
such as this , then process the saved array, then use a A* to route, that's another topic
cords = Array.new # Di…
Following and testing results are here code follow's
The test gds can be found here
https://github.com/hgroller/test_res
# Drawing layersdeepnwell = input(1, 0)diff = input(2, 0)pplus = input(3, 0)nplus = input(4, 0)poly …
Matthias, Jim
The "de-cruft" sorcery is to remove the module from memory
del Subfile
del sys.modules["Subfile"]
Matthias made an important point that I overlooked Klayout Python is an interpreter,
so it stays alive . Remove t…
calm down, I have been doing this for the better part's of 35 so year's,
your tool is great , but I find that there are little nascence's here there and about everywhere
that only you know of , that said give us some slack
there is a thread here on Ruby
this can be converted to Python if needed if you know how,
you will have to figure out the Booleans to satisfy your requirements
https://www.klayout.de/forum/discussion/comment/4167#Comment_416744
@MoBe
Hi Mo,
Yes you can define this in your layer tech file (Image)
The following is an example to change layers to have names.
I have placed example copy on github here
https://github.com/hgroller/tech_layer_purpose
Just copy and paste and sav…
So Matthias
@Matthias
yes we have had ... this topic before, so I am gonna stay within the framework.
I have been able to make multi-part segmented rulers within PluginFactory,
with right click to end and then process the mouse inputs,
So looking…
@Matthias
@skywalk
@raji
@dick_freebird
Some updates regarding interesting things with rulers
Code below allows too ad multi-segment rulers
It's buggy at best at the present time,
Need too add Marker shape to follow Entered path and Snap.
Double c…
Interesting things on rulers
https://www.klayout.de/doc-qt5/code/class_Annotation.html#method89
Annotation objects provide a way to attach measurements or descriptive information to a layout view.
Annotation objects can appear as rulers for exampl…
I have made some modifications to the example Matthias provided ,
one thing I noticed you have to load the script twice
before it works other wise it crashes ??? Reason I have no idea.
This works in Python not sure how to get the same script to wo…