• 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 Scripting - Skill
  3. Extracting Board Shape via Skill / get radius / angle of...

Stats

  • State Not Answered
  • Replies 1
  • Subscribers 17
  • Views 3499
  • Members are here 0
More Content

Extracting Board Shape via Skill / get radius / angle of arc segments

Juuls
Juuls over 2 years ago

Hi,

I need to extract the board shape, so that I can rebuild it with lines, arcs etc.

What I do is:

dsn = axlDBGetDesign()

outline = dsn->designOutline

segments = outline->segments

If a segment has the objType "line", there is a start point and end point ... ok so far, but if the objType is "arc", there is also just a start point and end point, but I need the radius, the start angle and the end angle.

Maybe it can be calculated from the bBox, but I would be suprised, if that's preferred solution ... anyway, I wouldn't know how ... 

Can anyone help me, what is the correct way to get the needed information about the arc segments?

Thank you for your help in advance!

Best regards,

Julian

  • Cancel
  • Sign in to reply
  • Juuls
    0 Juuls over 2 years ago

    Okay,

    never mind ... I don't know, what I did before, but my arc segment returns all necessary informations ...

    objType isCircle isClockwise isEtch parent
        net startEnd radius width xy
        bBox readOnly layer font prop

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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