Forum Replies Created
-
AuthorPosts
-
Keith
KeymasterCurrently no, although it would be easy to add a function e.g. geomGetRectangles() / geomGetPolygons().
Keith
KeymasterYou'd need to supply a more detailed spec and example testcase(s).
Keith
KeymasterOK geomGetNon90() and geomGetNon45() functions will be available in 4.4.66.
Keith
KeymasterThere isn't currently, but could add some function e.g. geomGetNon90 to give all shapes on a layer that are not orthogonal? e.g
bad_nwell = geomGetNon90(nwell)
saveDerived(bad_nwell, "Non orthogonal Nwell")Does that sound like what you need?
Keith
KeymasterHmm, just checked and the flag is already there as per documentation:
layer = geomAllowedWidths(layer, rules, flags)
Keith
KeymasterHi Riyaz,
That should be possible. I'll take a look.
Keith
Keith
KeymasterIn 4.4.65, glade will have a cmd line option -ng which will allow it to be run in non-graphics mode.
Python scripts can be run as long as they do not try and reference any gui functions e.g. getEditCellView().
Keith
KeymasterQuote:Thanks It worked,
Is it possible to run script for glade without opening it?
and Is it possible to make permanent change to bind keys, because when ever glade is reopened the changes made are lost!Currently no, although this may be a possible enhancement. Obviously only non-gui scripts could be run.
As for bind keys, they are saved to the preferences file .gladerc on saving an open (in the gui) cellView. But you can edit this file yourself. For Windows this is at %HOME%.gladerc, for Linux ~/.gladerc
If there is a ./.gladerc then this is read after the one in the home directory. Please check the documentation.Keith
KeymasterQuote:How to place Created pin in specific coordinates?
net = cv.dbCreateNet("IN")
p = cv.dbCreatePin("IN", DB_PIN_INPUT, net)did not find any specific function to change the coordinates!
Thanks in advance,
That will create a logical pin, but there will be no physical shape associated with the pin (we call this a port). To assign pin and net information to a shape, use:
// create e.g. a rectangle on a layer, with coords given by 'box'
// Any created shape can be assigned to a pin e.g. polygon, path, rectangle.
obj = cv.dbCreateRect(box, layer)// Create a pin's port shape. You can do this more than once to assign
// multiple pin shapes to the pin.
cv.dbCreatePort(p, obj)Keith
KeymasterHi Ewald,
That's good to hear
– Keith
Keith
KeymasterHi Ewald,
Apologies, the Ubuntu 14.04 64/32 bit distributions were missing one Qt lib. I have added this; you can download from the website (same version) to get the updated distribution.
regards
Keith
Keith
KeymasterYou will need to set LD_LIBRARY_PATH to point to the $GLADE_HOME/lib directory at the moment. The problem is that the Qt xcb plugin is dependent on a couple of the Qt shared libs.
In the next release hopefully I will have found a way round this by setting LD_LIBRARY_PATH from within Glade before the application object is started (and hence before Qt attempts to load its plugins).
Keith
KeymasterSince updating the Qt version to 5.5.0, I have had reports of Glade failing with messages like:
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Segmentation fault (core dumped)The problem is that in 5.5, Qt moved to using xcb and for OpenGL, an undocumented Qt plugin was needed (thanks Qt!)
In 4.4.62 this plugin is now shipped… Note that this only affects Linux and not Windows or OSX.
Keith
KeymasterAs mentioned, some more testing is required. Hopefully by this weekend.
Keith
KeymasterOK I have implemented the selective sizing function.
out_layer = geomSize(in_layer, size, flag)
the flag defaults to 0 which means size in both X and Y. If you give the flag as 'horizontal' then edges are sized in the horizontally direction only, if the flag is set to 'vertical' then edges are sized in the vertical direction only.
I need to do a bit more testing on more complex examples before releasing this…
-
AuthorPosts