• 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. Turning enclosed lines into a shape?

Stats

  • Replies 15
  • Subscribers 162
  • Views 19810
  • Members are here 0
More Content

Turning enclosed lines into a shape?

EvanShultz
EvanShultz over 16 years ago

 Is there an existing way (I will assume using SKILL) to turn an area enclosed by lines into a shape on any given layer? In my specific application, I am bringing in a DXF drawing and I'd like to take the areas in the DXF file and make them shapes.

  • Sign in to reply
  • Cancel
  • eDave
    eDave over 16 years ago

    Hi Evan,

    The Compose Shape menu command (in the shape menu) does this well in most cases such as a DXF import.

    I have Skill routines for doing this also - for more general requirements. Let me know if you go down the Skill path.

     Cheers, Dave

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • kerchunk
    kerchunk over 16 years ago

     Hi all,

     

    If you do go the SKILL path (haha what a pun!)  here's some things to watch out for:

    -- segments whose endpoint is close but not-quite-exactly-matching the startpoint of the next segment. You'll need a "close-enough bullseye" function to help find the next segment

    --line segments drawn "head -to- head" or "tail-to-tail". You'll need to  swap these end-to-end so that the endpont of each segment matches the startpoint of the next segment for when you build up your rpath from the list of segments

    -- "overlaid" segments, where a designer has laid down a segment then laid down another segment on top of it, making it invisible to the human eye. And you'll have to be able to handle major and minor arc segments too

     

    HTH and Good Luck,

     

    Chris Walters

    local Cadence guru

    ()

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • EvanShultz
    EvanShultz over 14 years ago

     Hi Dave,

    I'd like to do the same thing with IDF imports from Pro/E, which don't come in as shapes. Compose Shape is exactly the functionality I was looking for, but I want to avoid manual user interaction and compose the shape in SKILL.

     I am able to do it if the objType is polygon by using axlDB2Path and then axlDBCreateShape. But if the objType is path, I'm stuck.

    Would you mind sharing your SKILL routines? Rather than me trying to reinvent the wheel...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 14 years ago

    Hi Evan

    See attached.

    Cheers,

    Dave

    IDF_getDataPath.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • littleanne
    littleanne over 14 years ago

    Do u have the skill routine to change from clines or lines to shape?

     

     

    • 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