• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Detected Layer-to-Layer Polygons that overlap

Stats

  • Replies 17
  • Subscribers 164
  • Views 23147
  • Members are here 0
More Content

Detected Layer-to-Layer Polygons that overlap

maxwellj
maxwellj over 15 years ago

I was wondering if anyone has a routine that goes in and lists all polgyons that overlap each other on a layer to layer basis.  We've been directed to find a way to check all our layers 1-2, 2-3, 3-4, .... and note any voltage polygons that overlap each other and then give them a percentage of overlap for each shape.  It's overkill, but these people have no other work to do, so they make new work for us.  Any help would be appreciated.

  • Sign in to reply
  • Cancel
  • aCraig
    aCraig over 15 years ago

    Maxwell,

    I've attached a SKILL function that will find shape that overlap from one layer to layer to the next. After you load the SKILL file type 'cal shapetest' (without the ') on the Allegro command line.  A shapetest.log file is created. If you use the Viewlog to open the log file you can click on the coords in the log file and screen will zoom center to that coord.

    You could enhance this function to give percentages by comparing the areas of the overlap poly and the 2 polys that were 'AND. 

     -aCraig

    shapetest.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mike1coppercad
    mike1coppercad over 15 years ago

    Just curious.

    Why do you need to measure the overlap?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vramanan
    vramanan over 15 years ago

    Hi MaxwellJ I don't know if there an pre-existing solution, but this is a good Project idea I can give you some pointers

    1. first have an user interface to accept any 2 layers, ( a form with one pulldown selecting one layer and another selecting the other)

    2. make sure that all the shapes have voltage properties

    3. select all the shapes in the first layer/select all the shapes in second layer store them in a list/array

    4. I remember there is an procedure in skill help files that would deduct any overlap between 2 shapes

    5. modify the procedure to pass only the co-ordinates(consider them to be on the same layer)

    6. you can calculate ratio clearly by comparing the Area of overlapping shapes

    7. calculate the z distance by adding all the dielectric thickness between them

    I can see a good use on my projects since it involves a lot of 48V routing

    But unfortunately I am involved in something else and have no time to code I will work on this on a later time

    This is the way I know which I think can implement this,

    I am sure there might be other ways Good Luck

    regards

    Venkata

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • aCraig
    aCraig over 15 years ago

    Maxwell,

     Attached is an application that will find overlapping shapes on adjacent layers. Open the log file using Viewlog then select the coord to view center to the shape.

     -aCraig

    shapetest.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • mike1coppercad
    mike1coppercad over 15 years ago
    Why do you need to measure the overlap?

     Just wondering...
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information