Home > Community > Forums > PCB SKILL > voids, dynamic shapes, and 15.x

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 voids, dynamic shapes, and 15.x 

Last post Fri, Sep 14 2007 11:59 AM by archive. 3 replies.
Started by archive 14 Sep 2007 11:59 AM. Topic has 3 replies and 1691 views
Page 1 of 1 (4 items)
Sort Posts:
  • Fri, Sep 14 2007 11:59 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    voids, dynamic shapes, and 15.x Reply

    Greetings all,

    Pre-15.0, shape objects had an attribute of ->voids which contained a list of all the voids in the shape. A void consisted of a series of line/arc segments much like the parent shape.

    Now in >15.0 I have a dynamic shape which contains several voids but the ->voids attribute shows nil  .
    How can I access these voids using SKILL in 15.x ?

    TIA,

    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
  • Fri, Sep 14 2007 1:50 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: voids, dynamic shapes, and 15.x Reply

    A dynamic shape is the boundary object that contains the original outline and any user added voids. A dynamic
    shape can contain 0 or more generated shapes. Generated shapes appear on class ETCH and contain the actual copper
    fills used for artwork.

    If you want to access the generated shape(s) of this dynamic shape then you should process the list of shapes on
    shapeAuto attribute [ dbid->shapeAuto ]. Each of these generated shapes may have zero or more voids.

    dbid->shapeAuto
    = nil then NOT a dynamic shape (basically any shape where dbid->shapeIsBoundary = nil)
    = () empty list, a dynamic shape with no etch
    = (dbid1, dbid2, ...) list of generated shapes


    By default axlSetFindFilter will always return the boundary shape. If you want the generated
    shapes do NOT add "BOUNDARY_SHAPES" to the list of ?enabled sent to axlSetFindFilter.
    Example: axlSetFindFilter(?enabled '("NOALL" "SHAPES") ?onButtons nil)



    Originally posted in cdnusers.org by fxf
    • Post Points: 0
  • Tue, Sep 18 2007 12:41 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: voids, dynamic shapes, and 15.x Reply

    Thx for your fast response and I apologize for my tardy reply.

    I've picked this issue up again, and both where ->shapeAuto == nil nor the shape where ->shapeAuto == (dbid:xxx) have ->voids == nil. This makes sense in that a 'show element' on the shape reports no voids even tho voids can clearly be seen in the shape. Now after I =manually= place a void in the shape a 'show element' on the shape does indeed report one void. From this I deduce 'show element' only reports manually-placed voids, and looking at the shape object does show one element in shape_db->voids and this element is a polygon.

    But I'm having no luck finding the dynamically-created voids. Grrrr.


    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
  • Wed, Sep 19 2007 12:24 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: voids, dynamic shapes, and 15.x Reply

    Turns out the problem was shape objects defined on NEGATIVE planes do not have voids as attributes even though you can clearly see their effect visually. Changing the plane to POSITIVE magically put all the voids in the ->voids attribute where one would expect to find them.

    I can't trust my users to turn all the planes to POSITIVE prior to running the routine that looks for these voids, it'd be nice if there was a way to find them when planes are NEGATIVE.

    But thanks to all who replied!

    CASE CLOSED


    Chris Walters
    local Cadence guru
    ()


    Originally posted in cdnusers.org by kerchunk
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 14 Sep 2007 11:59 AM. Topic has 3 replies.