Hi, I followed the suggestion given below, and that's the result:
In EeSchema, I have the following part: http://img295.imageshack.us/img295/9721/dpsteeschemaal4.png As you can see, pins 1/2 and 3/4 are always connected. Pushing the switch button makes a contact between 1/2 and 3/4. In PcbNew, it's represented as follows: http://img295.imageshack.us/my.php?image=dpstpcbnewaq0.png The bottom left pad is pad 1, upper left is pad 2, upper right is pad 4 and bottom right is pad 3. However, if I start to route the pads, KiCad still wants to have a connection between pads 1/2 and 3/4 of the switches, while they're in fact internally connected with each other. I've tried to "tell" this to KiCad. When I created the PcbNew footprint of the switch, I "told" KiCad the following: Pin 1 has "1" as pad number and "1" as pad net name. Pin 2 has "2" as pad number and "1" as pad net name. Pin 3 has "3" as pad number and "2" as pad net name. Pin 4 has "4" as pad number and "2" as pad net name. So, by doing this, I thought that KiCad would "know" that pads 1 and 2 were having the same net name, as were pads 3 and 4. But apparently, that's not the case, since I still see ratsnests between pads 3 and 4 of switch 19. See the following image: http://img295.imageshack.us/my.php?image=dpstpcbnewratsnestve2.png Anyone any solution for that? Best rgds, --Geert --- In [email protected], "Timothy Carter" <[EMAIL PROTECTED]> wrote: > > I'm not sure if Kicad would support this or not, but if you could name pins > 1 and 2 as '1' and likewise 3 and 4 as '4', this should make them connect in > the net list. > > Thank you, > Timothy S. Carter > Engineer > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Geert Vancompernolle > Sent: Sunday, October 29, 2006 8:45 AM > To: [email protected] > Subject: [kicad-users] Switch: how to represent > > Hi, > > I have a switch with 4 contacts: > > +-------+ > 1 --O-------O-- 2 > | | > 3 --O-------O-- 4 > +-------+ > > Contacts 1 and 2 are always connected internally into the switch. The > same for contacts 3 and 4. > > When pressing the switch button, then contacts 1/2 are connected with > contacts 3/4. > > Anyone any idea how to create such switch in the PCB library editor? > > How can I tell PCB that there is in fact always a connection between > 1/2 and 3/4 respectively? This info must be there, I guess, for tools > such as the auto-router. > > Would be nice if anyone could come up with an idea. > > Best rgds, > > --Geert >
