Keith

Forum Replies Created

Viewing 15 posts - 256 through 270 (of 861 total)
  • Author
    Posts
  • in reply to: Command for identifying rectangular shape #1787
    Keith
    Keymaster

    Currently no, although it would be easy to add a function e.g. geomGetRectangles() / geomGetPolygons().

    in reply to: Exact Checks for Spacing & Enclosure #1784
    Keith
    Keymaster

    You'd need to supply a more detailed spec and example testcase(s).

    in reply to: Coding Orthogonal rules For DRC Deck #1780
    Keith
    Keymaster

    OK geomGetNon90() and geomGetNon45() functions will be available in 4.4.66.

    in reply to: Coding Orthogonal rules For DRC Deck #1779
    Keith
    Keymaster

    There 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?

    in reply to: Adding flag option in geomAllowedWidths() #1776
    Keith
    Keymaster

    Hmm, just checked and the flag is already there as per documentation:

    layer = geomAllowedWidths(layer, rules, flags)

    in reply to: Adding flag option in geomAllowedWidths() #1775
    Keith
    Keymaster

    Hi Riyaz,

    That should be possible. I'll take a look.

    Keith

    in reply to: Creating Pin #1773
    Keith
    Keymaster

    In 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().

    in reply to: Creating Pin #1772
    Keith
    Keymaster
    Quote:
    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.

    in reply to: Creating Pin #1770
    Keith
    Keymaster
    Quote:
    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)

    in reply to: Linux version of Glade #1768
    Keith
    Keymaster

    Hi Ewald,

    That's good to hear

    – Keith

    in reply to: Linux version of Glade #1763
    Keith
    Keymaster

    Hi 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

    in reply to: Linux version of Glade #1761
    Keith
    Keymaster

    You 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).

    in reply to: Linux version of Glade #1759
    Keith
    Keymaster

    Since 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.

    in reply to: Regarding the Edge Based Functions #1757
    Keith
    Keymaster

    As mentioned, some more testing is required. Hopefully by this weekend.

    in reply to: Regarding the Edge Based Functions #1755
    Keith
    Keymaster

    OK 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…

Viewing 15 posts - 256 through 270 (of 861 total)