This EAGLE Script Gets Quotes For Your Boards

Weary of manually entering manufacturing parameters into PCBShopper’s web form, [Jeremy Ruhland] created an awesome shortcut: His ULP script lets you obtain quotes from 26 PCB manufacturers around the world directly from your EAGLE board layout.

The script extracts all relevant data from your layout, including board size, the layer count, minimum trace widths and hole diameters. It then let’s you specify a few more in a tidy dialogue before sending you to the PCB manufacturing price comparison site PCBShopper.com with a custom query for board quotes.

It works like a charm, and [Jeremy] also plans to add a shortcut button to the EAGLE layout editor’s toolbar. Since the script implements the entire PCBShopper API, for which [Jeremy] cooperates with PCBShopper.com owner [Bob Alexander], it’s also a great starting point for the development of scripts that work with other board layout tools.

Thanks to [Matthew Venn] for the title photo (via Flickr)!

17 thoughts on “This EAGLE Script Gets Quotes For Your Boards

  1. Anyone who wants to develop a script for another CAD package (e.g. KiCad) can get the API from me. Just got to PCBShopper.com, click the Contact Us link, and send me a message asking for the API.

    – Bob

        1. I understand that, it’s very cool to know who is using your API and for what reasons. But any barriers to entry you put on your API, even if it is as trivial as contacting you, will eliminate a portion of users. Now of course there is a trick, you can have the best of both worlds! First make your API public as far as documentation and call schema is concerned. Then, only at the time of production calls require an API key or similar which can be acquired through a simple contact. Now you’ve made your API more available and consumable, as well as knowing who is calling your API and why.

  2. Some people may not be familiar with PCBShopper: it’s a price comparison site for PCB manufacturing and assembly. You enter your board’s specs and it shows you prices and delivery times from over two dozen PCB manufacturers, including some of the best-known companies in Asia, North America, and Europe.

  3. Often, I just need the qfn trace and masks to 0.1. But even OSHpark has problems with those specs…. It took a lot of trial and error to find a good source, as there are many drop shipper service PCB sources.

    The DRC is from the manufacturers specs… So a script could make 41/42 errors if it doesn’t take it into account.

  4. What? Eagle (now seemingly evolving into a “Cloud” application) doesn’t just SHOVE ads for parts in your design down your THROAT Automatically yet? (And track + collect everything else you do online forever…) No thanks…

  5. to add it to the brd editor, edit eagle.scr in the scr folder and add (use the right ulp name and make a png that is about 55×24 size, save it in the eagle bin folder called pcb-shopper.png

    add this to the BRD: MENU in eagle.scr

    ‘[pcb-shopper.png] PCB Shopper : Run PCBShopper.ulp;’\

    example,if this text doesn’t get all beaten up
    BRD:
    MENU ‘[designlink.png] Search and order : Run designlink-order.ulp -general;’\
    ‘[pcb-service.png] PCB Service : Run pcb-service.ulp;’\
    ‘[idf-3d.png] Export to IDF 3D format: Run eagleidfexporter.ulp;’\
    ‘[snapeda.png] SnapEDA : Run snapeda.ulp;’\
    ‘[pcb-shopper.png] PCB Shopper : Run PCBShopper.ulp;’\

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s