Oh, as I was trying the oldest binary version available, I found out now that I needed to change the font!
(Image)
It seems the "Default" is not a good default choice!
There's also:
https://github.com/dteal/gdsiistl
though maybe Matthias' method avoids the potential issue that the Github repo calls out in this "NOTE":
Due to a limitation of the library used to triangulate the polygonal boundaries of th…
Has the label rotation feature been removed? Or is it not unit-tested for release binaries? I have some Label objects in my GDS files, and I cannot visually see them rotated, and the view doesn't change even if I edit the Label properties and change…
@RawrRanger thanks for your first post! That does exactly what I wanted! The only modification I made was to comment out the call to bindMenu, replacing it with the call to the split function directly... this is due to not wanting to mess with figu…
@tomas2004 thanks for the code, I just tried it after figuring out how to enable the macro and attach it to a keyboard shortcut. It works to produce a crosshair, but unfortunately my ruler does not snap to the lines of the cross. Is it possible to …
Sorry for the delay in responding, I have not used scripting in klayout before, at least not successfully... so I was hesitant to try the last ideas provided. Here is my current attempt to use the macro provided by @Tomas2004:
Create macro
* Open …
I am not familiar with the KLayout scripting API, but I would like to perform something like this, except I would like to split all shapes in half (either vertical or horizontal). This is because during geometry/DRC debug, I often need to measure fr…
"forgot the -e option"
I never knew it existed until now! (I am mostly using klayout as a viewer).
It seems like other programs do something like have (read-only) in the GUI window titlebar string, and usually have a File menu option for…
This code manages to select all shapes on a given layer... I haven't figured out how to show them yet, though (and hide all others):
import pyaprint('\n\nStarting KLayout Script')lv = pya.LayoutView.current()cv = pya.CellView.active()layout =pya.Ce…
This code manages to unselect all selected polygons... but I haven't figured out how to hide them yet:
import pyaprint('\n\nStarting KLayout Script')lv = pya.LayoutView.current()currently_selected_polygons = lv.object_selection # list of ObjectIns…
I made some progress, I can print the coordinates of each rectangular polygon:
import pya# Enter your Python code here ..print('\n\nStarting KLayout Script')lv = pya.LayoutView.current()currently_selected_polygons = lv.object_selection # list of O…