• 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. skill program to create shape symbol

Stats

  • Replies 11
  • Subscribers 164
  • Views 19406
  • Members are here 0
More Content

skill program to create shape symbol

Ejlersen
Ejlersen over 15 years ago

Hi

Attached, find a small utility to help creating rectangular shapes with rounded corners for shape symbols to be used inside a pad

Usage: File, New, Shape symbol

Run the program "ns_spad"

Add width(x), height(y) and a radius in the dialog shown

Hit run to create the shape.

Have fun :-)

Ole

ns_spad.zip
  • Sign in to reply
  • Cancel
Parents
  • SKILLBILL
    SKILLBILL over 15 years ago
    Hi Ole

    Your program is great. It works very nice.
    Funny because lately i made similar one. Only diference between them is that yours is cute and mine is not :)
    Mine tho automaticaly opens allegro shape template and then promts for X Y and R :) then it makes three shapes.
    One for etch
    One for Paste mask
    and one for Solder mask

    Using the oportunity i would like to ask you something Ole.
    Ok we now have the shape generation. What about making pad ? Is it possible to create a padstack like the one I can get from Pad Designer?

    I have been trying to build a pad with the shapes created this way. I found a function that should work axlDBCreatePadStack but I cant generate .pad file
    There is a piece of code to that function in algroskill.pdf
    It may be that I dont understand the example. Am I doing something wrong ?
    Here is a piece of my code:

    Pad_list = cons(make_axlPadStackPad(?layer "TOP", ?type 'REGULAR, ?figure Shape_top_name ?figureSize x:y) nil)
    Pad_list = cons(make_axlPadStackPad(?layer "PASTEMASK_TOP", ?type 'REGULAR, ?figure Shape_pm_name ?figureSize pmX:pmY) Pad_list)
    Pad_list = cons(make_axlPadStackPad(?layer "SOLDERMASK_TOP", ?type 'REGULAR, ?figure Shape_sm_name ?figureSize smX:smY) Pad_list)
    printf("Pad_list = %L\n",Pad_list)
    Padstack = axlDBCreatePadStack("krzyhoo",nil, Pad_list nil)
    printf("axlDBCreatePadStack = %L", Padstack)
    axlPadStackToDisk("krzyhoo")

    with those printfs i know that a dbid was created .. but not a .pad file, and axlPadStackToDisk function doesnt worka at all....

    Do you have any ideas?

    PS. This is my second post... And i dont like the form of it ... why my text is so condensed... no Enters no tabs ... everything so close together ... I made it so hard to read...
    When i wrote it wasnt tlike this..
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • SKILLBILL
    SKILLBILL over 15 years ago
    Hi Ole

    Your program is great. It works very nice.
    Funny because lately i made similar one. Only diference between them is that yours is cute and mine is not :)
    Mine tho automaticaly opens allegro shape template and then promts for X Y and R :) then it makes three shapes.
    One for etch
    One for Paste mask
    and one for Solder mask

    Using the oportunity i would like to ask you something Ole.
    Ok we now have the shape generation. What about making pad ? Is it possible to create a padstack like the one I can get from Pad Designer?

    I have been trying to build a pad with the shapes created this way. I found a function that should work axlDBCreatePadStack but I cant generate .pad file
    There is a piece of code to that function in algroskill.pdf
    It may be that I dont understand the example. Am I doing something wrong ?
    Here is a piece of my code:

    Pad_list = cons(make_axlPadStackPad(?layer "TOP", ?type 'REGULAR, ?figure Shape_top_name ?figureSize x:y) nil)
    Pad_list = cons(make_axlPadStackPad(?layer "PASTEMASK_TOP", ?type 'REGULAR, ?figure Shape_pm_name ?figureSize pmX:pmY) Pad_list)
    Pad_list = cons(make_axlPadStackPad(?layer "SOLDERMASK_TOP", ?type 'REGULAR, ?figure Shape_sm_name ?figureSize smX:smY) Pad_list)
    printf("Pad_list = %L\n",Pad_list)
    Padstack = axlDBCreatePadStack("krzyhoo",nil, Pad_list nil)
    printf("axlDBCreatePadStack = %L", Padstack)
    axlPadStackToDisk("krzyhoo")

    with those printfs i know that a dbid was created .. but not a .pad file, and axlPadStackToDisk function doesnt worka at all....

    Do you have any ideas?

    PS. This is my second post... And i dont like the form of it ... why my text is so condensed... no Enters no tabs ... everything so close together ... I made it so hard to read...
    When i wrote it wasnt tlike this..
    • 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