FPX --X--> Eagle.lbr |
Post Reply | Page 12> |
Author | |
SteveD
Expert User Joined: 30 Oct 2013 Location: San Diego Status: Offline Points: 240 |
Post Options
Thanks(0)
Posted: 25 Feb 2015 at 12:41pm |
I built some parts (fpx), then ran the scr to get the lbr in Eagle. The parts look ok (TO ME) in fpx, but when Eagle tries to build a new lbr with the scr, it gags with several error messages.
The only thing I remember doing that was unusual and very difficult to get right was moving the origin of a part to get a new variant (SMD->TH). But, in the end, it looked OK. Can you see where I went wrong (other than not just using POD)? |
|
chrisa_pcb
Moderator Group Joined: 29 Jul 2012 Location: San Diego Status: Offline Points: 772 |
Post Options
Thanks(0)
|
The initial problem appears to be in the way the slotted holes M1 - M3 are being translated on the Molex part.
I pulled up the definition for the PAD command in the help. At first blush, it would appear that 'long' would refer to a slotted hole. But fully reading it, it appears that only the pad is elongated(and setting a length by ratio in the DRC? No idea how that is done in script). Also, the ratio appears to be the same for all long pads, which would seem to restrict it to use in only one size of slot, whereas your part has two different sizes of slots. I can also place the long pad in the editor, but it only confirms this is a circle hole with something akin to a finger pad. I'm not seeing any way of placing an actual slot(oval pad, oval hole). If you can lock down placing an item in the editor to best match how a slot like the one in your part should be placed, I can script the command from it.. but trying to get an actual full slot seems like a non-starter at this point unless I'm missing a command. It simply doesn't exist in Eagle from what I'm seeing. |
|
SteveD
Expert User Joined: 30 Oct 2013 Location: San Diego Status: Offline Points: 240 |
Post Options
Thanks(0)
|
In my version the pads are spec'd as oblong, and the holes are spec'd as slots. I guess the radius is auto-generated to fill the ends with the proper diameter. So I am not seeing the anomalies that you are reporting. I just cannot build the parts to get a good script. |
|
chrisa_pcb
Moderator Group Joined: 29 Jul 2012 Location: San Diego Status: Offline Points: 772 |
Post Options
Thanks(0)
|
If you have a .lbr file spec'd as slots, please send it and i'll have a look.
|
|
SteveD
Expert User Joined: 30 Oct 2013 Location: San Diego Status: Offline Points: 240 |
Post Options
Thanks(0)
|
Attached.....uploads/7103/2Problems.zip
|
|
chrisa_pcb
Moderator Group Joined: 29 Jul 2012 Location: San Diego Status: Offline Points: 772 |
Post Options
Thanks(0)
|
The LBR file shows the slots not coming through.. .just the assembly outlines of the hole. Is this how you want slots done?
|
|
SteveD
Expert User Joined: 30 Oct 2013 Location: San Diego Status: Offline Points: 240 |
Post Options
Thanks(0)
|
I really do not know how best to specify this. I did not know there would be a fab issue compared to standard drilled holes until this came up. I spec'd a slot and an oblong pad, and thought it would do the right thing. Its just one example. I have other parts with slots. So I am hoping there is a 'right way' for Eagle that PCBLE can accomodate.
|
|
chrisa_pcb
Moderator Group Joined: 29 Jul 2012 Location: San Diego Status: Offline Points: 772 |
Post Options
Thanks(0)
|
As far as I can tell.. there is no way to specify the slots. I'm getting ready to set it so that it'll flag this situation and simply not translate the part(s).
Let me know if you come up with a solution and i'll implement it.
|
|
SteveD
Expert User Joined: 30 Oct 2013 Location: San Diego Status: Offline Points: 240 |
Post Options
Thanks(0)
|
According to the Eagle manual for version 7 section 8.13:
"8.13 Components with Oblong Holes
If the board manufacturer has to mill oblong holes, you have to draw the milling contour of oblong holes in a separate layer. Usually this is layer 46,
Milling.
The milling contour for components that need oblong holes can be drawn
with WIRE (and possibly ARC) with a very fine wire width near or even 0 in
the Package Editor. Take a pad that has a drill diameter which lies inside the
milling contour, or SMDs, for example in Top and Bottom layer, as basis for
the oblong hole.
In case of a multilayer board you should draw a WIRE in the used inner
layers at the position of the oblong holes so that it covers the milling contour
and leaves a kind of restring around the opening.
Please inform your board manufacturer that they have to take care on the
milling data drawn in this layer. Also tell them whether they should be
platedthrough or not.
Any other cutouts in the board are drawn in the same way:
Use a separate layer, typically layer 46, Milling, and draw the milling
contours. Tell your board manufacturer that they have to take care with
this information and make special note." So that is the Eagle way.
|
|
chrisa_pcb
Moderator Group Joined: 29 Jul 2012 Location: San Diego Status: Offline Points: 772 |
Post Options
Thanks(0)
|
Well.. can you take your part and make it look how you want it per that description. You're the one that's going to have to ultimately build the board, so complete understanding of what has been done on your part is ideal. Once you get that, I can take what you did to generate the slot and scriptify it into a general solution.
|
|
Post Reply | Page 12> |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |