• 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. smt pad skill

Stats

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

smt pad skill

elikmiz
elikmiz over 13 years ago
Hi everyone

I'm searching for a skill that can build an smt pad automatically.

I know there is a skill that build the shaps.

There is one that build the smt pads as well?

eliko
  • Sign in to reply
  • Cancel
  • Pawandeep
    Pawandeep over 13 years ago

    Hello Eliko,

    The below code is taken from the Cadence docs which might be helpfull to you

    mytext = make_axlTextOrientation(
    ?textBlock 6, ?rotation 60.0
    ?mirrored nil ?justify "center")
    mypin = make_axlPinText(?number "1",
    ?offset 0:75, ?text mytext)
    axlDBCreatePin( "pad1" 0:0 mypin 45.0)
    mytext->justify = "left"
    mytext->rotation = 0.0
    mypin->number = 2
    mypin->offset = -125:0
    axlDBCreatePin( "pad0" -100:-100 mypin)
    mytext->rotation = -45.0
    mytext->justify = "right"
    mytext->mirror = t
    mypin->number = 3
    mypin->offset = 50:0
    axlDBCreatePin( "pad0" 100:-100 mypin)
    mypin->mytext = nil
    axlDBCreatePin( "pad0" 100:100 mypin)

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

    This code will build a pad stack:

    defun( MY_makeSMDPadstack (padName, figure, padx @optional pady, (soldermask t), (pastemask 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(soldermask

    pad = make_axlPadStackPad(?layer "SOLDERMASK_TOP", ?type 'REGULAR, ?figure figure, ?figureSize padx:pady)

    pads = cons(pad, pads)

    )

    and(pastemask

    pad = make_axlPadStackPad(?layer "PASTEMASK_TOP", ?type 'REGULAR, ?figure figure, ?figureSize padx:pady)

    pads = cons(pad, pads)

    )

    )

    when(axlDBCreatePadStack(padName, nil, pads), axlPadstackToDisk(padName))

    )) 

    eg:

     MY_makeSMDPadstack("mypadstackname", 'RECTANGLE, 1.2, 0.6, t, t)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • elikmiz
    elikmiz over 13 years ago
    Thnx, i need to save it as an .il file and use it as a skill?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • elikmiz
    elikmiz over 13 years ago
    I think it dosnt make round corner pad ?
    • 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