• 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. subtracting two touching shapes

Stats

  • Replies 4
  • Subscribers 160
  • Views 14950
  • Members are here 0
More Content

subtracting two touching shapes

rumar
rumar over 13 years ago

hi

I'm having two shapes which touch each other and I'd like to subtract one from the other. Unfortunately the axlDBCreateVoid command doesn't work because the shape to be subtracted needs to be completely inside the other shape. Cite from the help:

"All void boundaries are completely within the boundary of their parent shape"

Anyone having an idea how I can achieve this?

Thanks

Marcel

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

    Have you looked at axlPolyOperation?

     Craig

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rumar
    rumar over 13 years ago

    thanks for your reply. I guess I could do something like (axlPolyOperation poly1_list poly2_list 'AND) and then use the result to create a void in the first shape. But this note in the help doesn't sound very trustworthy:

    This function is provided "as-is". Result, in certain cases, may fail or deliver incorrect results. No commitment can be made to address issues uncovered when using this API.

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

     I think that applies to very complex shapes. I've written my own Segmets Over Voids application and it works fine.

     Craig

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • rumar
    rumar over 13 years ago

    thank you very much for the answer. I will definitely give it a try.

    Marcel

    • 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