• 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. Padstack Editor and rectangles with rounded corners

Stats

  • Replies 19
  • Subscribers 165
  • Views 20933
  • Members are here 0
More Content

Padstack Editor and rectangles with rounded corners

Schallhofer
Schallhofer over 15 years ago

Hi guys,

any chance to "manipulate" the padstack editor window to get rectangle Padstacks with rounded corners in my own radius?

Or any chance to get a window looking like the original one with same functions plus roundet corners in Skill from you guys?

 

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

    Hmmm,

    There is no way of manipulating the padstack editor like that as far as I know.

    Certainly it would be possible in Skill to emulate the padstack form and add that functionality but it would be a big job that I doubt has been done.

    I think you have two options -

    1/ Ask Cadence to add the rounded pad feature to the Padstack editor. With the proliferation of RF and flex designs that require pads with such a shape they may well acquiesce - but it will take some time.

    2/ Write some Skill code just to create the shape and assign it to a pad using a suitable gui. I'm sure several of the people on this forum have code already to do something similar to this. I have code to round pad apertures for paste stencils.

    Let me know what further help we can offer.

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

     Ya, SKILL could make quick work of converting a rectangle shape to a rounded-corner rectangle shape, fed a radius for the rounded corners. You know the corners ( which become the obverse of the centerpoints of the arcsegs) and you know apriori that all arcsegs will be minor therefore calculating the centerppints for the arcs and truncated linesegs becomes easy.

     

    Chris Walters

    local Cadence guru

    ()

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

    Hi,

    there's no problem creating rounded rectangle shapes but creating a padstack of them without the padstack-editor. I dont know how. I thought of copying something from Footprint Maker by Richard but no way.

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

    OK. It's easy to create a padstack. I've included code for creating and SMD padstack based on a name.

    As you can see from the other posts, creating a rectangle with rounded corners is also relatively easy.

    The difficult part is knowing exactly what you want to do and, hence, what the form should look like.

    Dave

    defun( TLU_makeSMDPadstack (padName, figure, padx, pady @optional (res t), (paste t))
     let((pad, pads)
      unless(pady, pady = padx)
      pad = make_axlPadStackPad(?layer "TOP", ?type 'REGULAR, ?figure figure, ?figureSize padx:pady)
      when(pad, pads = list(pad))
      and(pads, res
        pad = make_axlPadStackPad(?layer "SOLDERMASK_TOP", ?type 'REGULAR, ?figure figure, ?figureSize padx:pady)
        pads = cons(pad, pads)
      )
      and(pads, paste
        pad = make_axlPadStackPad(?layer "PASTEMASK_TOP", ?type 'REGULAR, ?figure figure, ?figureSize padx:pady)
        pads = cons(pad, pads)
      )
      axlDBCreatePadStack(padName, nil, pads)
      axlPadstackToDisk(padName)
    ))

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

    OK, easy to describe: As you can see I want something that creates rounded rectangle Padstacks I can use for my parts. I hope it's clearer now.

     

    Padstack Maker                    Padstack Maker bigger

    • 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