element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Utility for package creation
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 8 replies
  • Subscribers 188 subscribers
  • Views 872 views
  • Users 0 members are here
Related

Utility for package creation

cosborne2000
cosborne2000 over 13 years ago

Does Eagle have a utility for the creation of typical packages?

 

I'm looking for something that you input pin pitch, row spacing, total pin count, and other standard dimensions and have the program generate a good starting point.

I tried the createsymsmdpackage_rel2 ULP but it aborts with a syntax error (Eagle version 6.2).

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    cosborne2000 wrote:

    Does Eagle have a utility for the creation of typical packages?

     

    I'm looking for something that you input pin pitch, row spacing,

    total pin count, and other standard dimensions and have the program

    generate a good starting point. I tried the createsymsmdpackage_rel2

    ULP but it aborts with a syntax error (Eagle version 6.2).

     

     

    There is an error in the CreateSymSMDPackage_rel2.ulp and associated file

    that you can correct to make this ulp run.

     

    The problem is a variable name in the ulp that equals the function name of a

    new function that arrived with v6.

    i.e. mic2u

     

    In the following files find the instances (5) of mic2u and replace with

    Mymic2u

    globals.hul

    functionMisc.cul

     

    I didn't test beyond getting the first dialog to open but looks promising.

    After you get a package created, measure it to be assurred it is the correct

    size.

    Good luck.

     

    Warren

     

    --

    Viewed / responded via the newsgroup at

    news.cadsoft.de

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 13 years ago in reply to Former Member

    I wrote some simple C programs that prompt some questions about the desired package, and it will auto-generate an EAGLE script file.

    It was only for personal use, but maybe you may wish to use them, or adapt for your purposes.

    It is quick to use, and I use it all the time now, instead of manually creating packages.

     

    It only does it for surface mount (because that was all I needed) but could give you ideas for through-hole too. If you do enhance it, please share the source and executable (and maybe even the generated script files) with others : )

     

    It works for all dual-in-line style SMD packages (SOP, SSOP, etc), quad packages (QFP, etc) and also single-in-line style packages (e.g. flex cable connectors). For example, if you run it as shown here (it provides "hints" to help answer the questions it asks), and respond to it at the '>' prompts:

    ** SMD Tool ***

    All dimensions in mm

    Pad width

    ---------

    TQFP:0.29 TSSOP:0.40

    >0.5

    Pad height

    ----------

    TQFP:1.35 TSSOP:1.30

    >1.2

    Style (number of sides)

    -----------------------

    TQFP-like:4 TSOP-like:2 SIL-like:1

    >2

    Distance to opposite side pad centers (Ax or Ay)

    ------------------------------------------------

    TQFP48:8.45 TSSOP:6.10

    >3.1

    Pin spacing/pitch (e)

    ---------------------

    TQFP:0.5 TSSOP:0.65

    >0.95

    Number of pins

    --------------

    TQFP48:48 TSSOP16:16

    >6

    Overall package width

    ---------------------

    TSSOP16:5.0

    >2.9

    Filename

    --------

    example: my_tssop.scr

    >my_tsop6.scr

     

    Then, the generated script file will contain:

    grid mm

    grid 1

    set wire_bend 2

    layer tPlace

    wire 0.127000 (-1.450000 -0.569000) (1.450000 -0.569000)

    wire 0.127000 (1.450000 -0.569000) (1.450000 0.569000)

    wire 0.127000 (1.450000 0.569000) (-1.450000 0.569000)

    wire 0.127000 (-1.450000 0.569000) (-1.450000 -0.569000)

    circle 0 (-0.950000 -0.069000) (-0.650000 -0.069000)

    set size 1.27

    layer tnames

    text >NAME (-1.450000 -4.420000)

    layer tvalues

    text >VALUE (-1.450000 3.150000)

    layer top

    smd 0.500000 1.200000 '1' (-0.950000 -1.550000)

    smd 0.500000 1.200000 '2' (0.000000 -1.550000)

    smd 0.500000 1.200000 '3' (0.950000 -1.550000)

    smd 0.500000 1.200000 '4' (0.950000 1.550000)

    smd 0.500000 1.200000 '5' (0.000000 1.550000)

    smd 0.500000 1.200000 '6' (-0.950000 1.550000)

     

    And when you run that in EAGLE (create a Package as normal, then select File->Script), it will generate the package:

    image

     

    Here are some other examples that are possible:

    image

    The windows executable and source code is available here (the source is in the pdf). There is also code to create outlines for toroid transformers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • shabaz
    shabaz over 13 years ago in reply to Former Member

    I wrote some simple C programs that prompt some questions about the desired package, and it will auto-generate an EAGLE script file.

    It was only for personal use, but maybe you may wish to use them, or adapt for your purposes.

    It is quick to use, and I use it all the time now, instead of manually creating packages.

     

    It only does it for surface mount (because that was all I needed) but could give you ideas for through-hole too. If you do enhance it, please share the source and executable (and maybe even the generated script files) with others : )

     

    It works for all dual-in-line style SMD packages (SOP, SSOP, etc), quad packages (QFP, etc) and also single-in-line style packages (e.g. flex cable connectors). For example, if you run it as shown here (it provides "hints" to help answer the questions it asks), and respond to it at the '>' prompts:

    ** SMD Tool ***

    All dimensions in mm

    Pad width

    ---------

    TQFP:0.29 TSSOP:0.40

    >0.5

    Pad height

    ----------

    TQFP:1.35 TSSOP:1.30

    >1.2

    Style (number of sides)

    -----------------------

    TQFP-like:4 TSOP-like:2 SIL-like:1

    >2

    Distance to opposite side pad centers (Ax or Ay)

    ------------------------------------------------

    TQFP48:8.45 TSSOP:6.10

    >3.1

    Pin spacing/pitch (e)

    ---------------------

    TQFP:0.5 TSSOP:0.65

    >0.95

    Number of pins

    --------------

    TQFP48:48 TSSOP16:16

    >6

    Overall package width

    ---------------------

    TSSOP16:5.0

    >2.9

    Filename

    --------

    example: my_tssop.scr

    >my_tsop6.scr

     

    Then, the generated script file will contain:

    grid mm

    grid 1

    set wire_bend 2

    layer tPlace

    wire 0.127000 (-1.450000 -0.569000) (1.450000 -0.569000)

    wire 0.127000 (1.450000 -0.569000) (1.450000 0.569000)

    wire 0.127000 (1.450000 0.569000) (-1.450000 0.569000)

    wire 0.127000 (-1.450000 0.569000) (-1.450000 -0.569000)

    circle 0 (-0.950000 -0.069000) (-0.650000 -0.069000)

    set size 1.27

    layer tnames

    text >NAME (-1.450000 -4.420000)

    layer tvalues

    text >VALUE (-1.450000 3.150000)

    layer top

    smd 0.500000 1.200000 '1' (-0.950000 -1.550000)

    smd 0.500000 1.200000 '2' (0.000000 -1.550000)

    smd 0.500000 1.200000 '3' (0.950000 -1.550000)

    smd 0.500000 1.200000 '4' (0.950000 1.550000)

    smd 0.500000 1.200000 '5' (0.000000 1.550000)

    smd 0.500000 1.200000 '6' (-0.950000 1.550000)

     

    And when you run that in EAGLE (create a Package as normal, then select File->Script), it will generate the package:

    image

     

    Here are some other examples that are possible:

    image

    The windows executable and source code is available here (the source is in the pdf). There is also code to create outlines for toroid transformers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • wwmartin
    wwmartin over 13 years ago in reply to shabaz

    On 10/06/2012 07:09 PM, shabaz wrote:

    I wrote some simple C programs that prompt some questions about the desired package, and it will auto-generate an EAGLE script file.

    It was only for personal use, but maybe you may wish to use them, or adapt for your purposes.

    It is quick to use, and I use it all the time now, instead of manually creating packages.

     

    >

    The windows executable and source code is available here (http://badcafe.co.uk/category/eagle/) (the source is in the pdf). There is also code to create outlines for toroid transformers.

     

     

    Nice web page resource, thanks!

     

    bill m.

     

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

    Thanks for the info here and the link to the blog. Very useful information. Nice work.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube