![]() |
Forum Index : Microcontroller and PC projects : Needing HELP with Eagle . . .
Author | Message | ||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2948 |
I am laying out a PCB and have a part that I cannot find a .lbr file for. However, I have come across a .dtd file here on GitHub that I see contains the part I need so I was thinking to somehow 'import' the .dtd file into Eagle and then simply using Copy & Paste to place the component footprint into my PCB layout. However, I am totally stuck with what to do with the .dtd file and how to import it into Eagle. I have spent the last 4.5 hours Googling but with no joy whatsoever ![]() Can anyone help me, please . . . . WW |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
Which part is it? The link you posted is to a .brd file and all components are in a library called pxhawk2 which can be found here. If the part you look for is on that board it should be in this library file. A .dtd file is a Document Type Definition file which is used to validate a xml file. A .lbr file in Eagle is an xml file and it is validated against eagle.dtd which should be on your machine already as partof the eagle software. Microblocks. Build with logic. |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2948 |
Hi TZA, I am after the SD card holder. When clicking the link on my iMac it just opens up a browser page with lots of text (and no option that I can see to save it as an .lbr (which I am ultimately wanting)) Just opened up in Windoze and now it shows the URL as a .lbr file but still no option to save it. Please, HOW do I save the 'browser' view as a .lbr file ?? I must be missing something so simple here surely ![]() WW |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2948 |
SUCCESS!! ![]() Thanks TZA - you gave me a clue to allow me to solve it . . . . . Not bad for six hours of effort! ![]() |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9641 |
I could have sent you a GBR with a SD card footprint, if you got desperate. Six hours is still time well spent, if you come out of that with a solution. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
In windows (IE, chrome and firefox) you right click on the link and choose 'save as'. You then get a dialog that prompts you for the location and file name. The file name should already be there, but if not you can enter it. I guess on the Mac it will be something similar but with only one mouse button it must be some key combination. (Or do Macs finally have more then one mouse button?) Alternatively you can copy the text from your browser and paste it into a text editor (notepad) and save it with the right file name. Microblocks. Build with logic. |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2948 |
@TZA, On the iMac, the file was initially being saved as a RichTextFormat and hence added lots of 'garbage' to the contents of the file (let alone be in totally the wrong format). This then obviously meant Eagle couldn't import it. Same thing happened if I used Copy & Paste into TextEdit - always wanted to save in .RTF format. ![]() However, I soon found how to save it as a non-RTF file directly from Safari resulting in the file being 'preserved' as an .lbr (and .brd) format meaning the files were then able to be imported into Eagle. It was the comment in your first post saying that I had "linked to an actual .brd file" which was the 'clue' I needed (iMac doesn't show the full URL by default so I wasn't aware it was a .brd file). Anyway, I finally got the required SD card holder 'layout'; so am now able to move forward with the final PCB I'm working on . . . . my TerMite is about to be re-born (at long last) ![]() WW |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |