While trying to create a custom part, I ran into an issue. At this point I’m not sure if this is a bug or something I am doing wrong…
The part has a PCB and on both sides it has two pads. Although the pads are exactly in the same X/Y position on both sides, they are not via’s (top and bottom not connected):
There isn’t enough here (the .fzz file of the sketch would be enough) to tell what is going on. What you are trying to do is not technically supported but should maybe work. The separate copper0 and copper1 layers are for older sketches (before copper0 was a child of copper1) and the pads were through hole (i.e. top connected to the bottom via the hole in the pad.) I don’t know that separate pads on top and bottom were ever supported, and the code may be assuming through hole (or just not working.) For this to work at all you would need copper0 and copper1 layers in the pcb section of the fzp file (but you appear to have that to get this far, although from images it is impossible to say for sure.) Depending on how the code decides if the pads should be through hole (which may be because there are both copper0 and copper1 present in the part) this may or may not work. It isn’t (AFIAK) a supported configuration but may work (I have done parts with this layout that had different traces on both sides, but the connectors were standard through hole unlike this case.)
I don’t have the example handy, but remember creating a part for pcb with edge fingers (SMD) on both sides. I did not have the board created, but everything seemed to work in Fritzing. It was an exercise to see if I could do it after some other conversation about SMD on top and bottom.
The shown fxp content only has 2 entries though, so the other 2 are graphics only, with any connection for Fritzing to use. Next, the svg is shown using circles, which implies through and a drilled hole. Both different from what I as doing for the edge connector.
For your actual question, I think the answer is to have 2 more connectors in the fzp.
Thanks for the feedback… I’m pretty sure there are 4 connectors there in the .fzp connectors section that I posted. They are named ‘connector0’, ‘connector1’, ‘connector2’ and ‘connector3’. Or am I missing something here?
In the breadboard view only the top ones are shown, because I think you can not actually ‘flip’ a board in the breadboard view right? Or does a ‘breadboard0’ and ‘breadboard1’ layer work?
As for the shape, I have changed the shape to just a filled copper circle (instead of fill=“none” and with a copper stroke). The outcome was the same.
which appears to do what you want (in a way Fritzing will accept.) If you upload the .fzz file I can probably tell you what is wrong with your part or you can look over this one to see what I did.
Your part is in fact working but with some limitations. Because this is in effect a SMD part you can’t select between the layers. Because both pads are not defined in breadboard you can’ t (as I did in my sketch) make a connection in breadboard which will reflect in to pcb on the correct layer, so you need to select which layer you want to connect manually. Normally this field would change between top and bottom layer. Here it is disabled (as it is in my part) because the part is SMD and only exists on one layer.
To make the correct connections in pcb you need to change the layer setting from both to bottom to route the bottom layer on the bottom layer to the bottom pad.
then your part works as intended (although only one connection will show in breadboard unless you define both pads as I did.) This is a limitation in how Fritzing operates.
Thanks for figuring it out! I’m glad to hear my part was working, I was able to reproduce your results but must say that the pop-up is not consistent and turned out to be what was confusing me in the first place.
You see, connector 0 and 1 are on the top layer and 2 and 3 are on the bottom.
But with bottom layer selected, if I hover the cursor over the connector it shows this (as in my original post):
Anyway, thanks for putting so much effort in figuring this out!
I’ll manage with this info and will ignore the confusing pop-ups:stuck_out_tongue_winking_eye:
The first image has two pads to choose from and will (perhaps randomly, perhaps some criteria I don’t know) choose one to display the data for. The second image has a trace on bottom layer and will thus select the bottom layer pad that it connects to to display. The bottom trace is top layer and will display the top layer pad it connects to.