Electronic Circuits and Projects Forum



(Eagle) Copying part from schematic to library and mofiying the package

  1. #1
    Pavius Pavius is offline

    (Eagle) Copying part from schematic to library and mofiying the package

    I've been working with Eagle and the experience is... interesting. I'd very much like to meet the UI designer and see just how much genetic code it shares with the human species.

    Anyways, I bought a device from Sparkfun (a seven segment display x4) but it does not appear in their (impressive) eagle library. After a bit of searching I found a Sparkfun schematic which uses this exact same part. I was able to copy (i mean cut ) the part to my schematic and even used it to lay out the board.

    Not surprisingly the package does not match the actual device (missing two pins), but i cannot for the life of me get the part from my schematic to a library (a first step in actually editing the package - for which some tutorials exist). Is there any way to do this?

  2. #2
    vne147 vne147 is offline
    Let me make sure I understand, you want to copy part of an Eagle schematic (the .sch file) so that you can paste it into the library and use it as the symbol for your new part? The only useful part you might get from the schematic would go towards defining the symbol. The package would need to be defined seperately or copied for a board (.brd) file. A device needs both a symbol and a package to be defined.
    0

  3. #3
    DirtyLude DirtyLude is offline
    You can use the exp-project-lbr.ulp to export parts to a library. There's a discussion with instructions here:

    SparkFun Electronics :: View topic - Looking for Eagle Library for Wiznet w5100 / w5300
    0
    Mark Higgins

  4. #4
    Boncuk Boncuk is offline
    Hi Pavius,

    you can't edit a package in the library. Attempting to add or remove pads will result in the error message "Package in use".

    This is very logical. Editing a package will have effect on all devices sharing that package - resulting in most likely pin/pad errors in the schematic and PCB layout.

    If your package is similar to the one found copy it using another name. Load it into the editor and you're free to add or delete pads, resize, reshape and renumber them as well as changing the package dimension.

    The same applies to the symbol.

    When both - package and symbol are completed create a device using the symbol first and assign the new package.

    Here is an example for a 4-digit LED display, one to create a PCB for manufacturing and the other one for representation purposes. (3641F was created by copying 3641)

    Boncuk
    Attached Images
    0
    Last edited by Boncuk; 3rd February 2010 at 12:48 AM.
    I spread chaos where ever I am. Too bad I can't be everywhere.

  5. #5
    Pavius Pavius is offline
    DirtyLude pointed to the solution to my problem - now I have the part exported into a new library. Still some work from there but I think it's easier from here. vne147, using DirtyLude's link it's possible to take both the symbol and the package, apparently.

    Boncuk - thanks for the heads up, i'll be sure to keep it in mind for future issues (and there will be many).
    0
    Last edited by Pavius; 3rd February 2010 at 08:51 AM.

  6. #6
    vne147 vne147 is offline
    Quote Originally Posted by Pavius View Post
    vne147, using DirtyLude's link it's possible to take both the symbol and the package, apparently.
    I went and read DirtyLude's link last night. Good stuff. I have never used that ULP before although there were times when I know it would have come in handy.

    I wasn't saying with my post that you couldn't get both the symbol and the package. What I was saying was that you can only get the symbol from the schematic. Even when using this ULP, the package (i.e. footprint) still comes from the board editor, not the schematic. And from what I can tell, the ULP does exactly what I said you would need to do anyway. It just does it easily in a script instead of you having to do all the steps manually.

    At any rate, I'm glad you got it working.
    0

  7. #7
    DirtyLude DirtyLude is offline
    Quote Originally Posted by vne147 View Post
    It just does it easily in a script instead of you having to do all the steps manually.
    Ya, I reread the original message later and realized it looks like he already had both symbol and package, just the package was not exactly correct. Oh well, glad it worked out.
    0
    Mark Higgins

Tags
Similar Threads
Thread Starter Forum Replies Last Post
Copying a circuit to another schematic in Eagle electrocub Electronic Projects Design/Ideas/Reviews 2 20th April 2009, 03:13 AM
eagle library fedail General Electronics Chat 19 14th October 2008, 06:36 PM
Eagle (CADsoft) - Copying a Symbol Angry Badger General Electronics Chat 4 10th October 2008, 11:02 AM
Eagle Library bababui Electronic Projects Design/Ideas/Reviews 13 9th May 2007, 12:56 PM
copying schematics in Eagle justDIY General Electronics Chat 1 16th December 2006, 06:44 PM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.03987 seconds      Memory: 7,180 KB      Queries: 17      Templates: 0