• 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. About the text BBOX

Stats

  • Replies 7
  • Subscribers 160
  • Views 15930
  • Members are here 0
More Content

About the text BBOX

jancho
jancho over 5 years ago

Hi all , I have a problem about the text BBOX in skill. 

The BBOX get from a text is just a rectangle area , this area actually is more bigger than the text size, and text also not fullly filled the BBOX area.

So if we just use the BBOX to judge if the text overlap with other text or pin/via , it won't be so accurate. If you have some better methods?  Thanks a lot!

(The following green area is the BBOX for text"U123")

  

  • Sign in to reply
  • Cancel
Parents
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    Then try using axlText2Lines() to convert the text string into line segments for each character, then check the spacing from those segments to the other objects

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins over 5 years ago in reply to DavidJHutchins

    it doesn't return arc data since text is drawn strictly as line stroke segments per the data in $CDSROOT/share/pcb/text/ansifont.dat

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jancho
    jancho over 5 years ago in reply to DavidJHutchins

    It seems still can't solve the text BBOX issues completely.  ~_~

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jancho
    jancho over 5 years ago in reply to DavidJHutchins

    It seems still can't solve the text BBOX issues completely.  ~_~

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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