Index: trunk/doc-rnd/intconn.html =================================================================== --- trunk/doc-rnd/intconn.html (revision 42) +++ trunk/doc-rnd/intconn.html (revision 43) @@ -22,6 +22,12 @@ When pin numbers are displayed (key 'd'), internal connection groups are written in square brackets, e.g. "2 [9]" means "pin 2, internally connected to group 9". +

+Combined with the [nonetlist]> patch, this +solves the "0-ohm 1206 jumper" problem: the element should be marked +as nonetlist, with both pins set intconn(1) - this will result in a 2 +pad element, pads internally connected, that can be part of any one network +without causing short.

save/load and compatibility

This patch introduces a new pin flag. In the following example Index: trunk/doc-rnd/jumper_1206.fp =================================================================== --- trunk/doc-rnd/jumper_1206.fp (nonexistent) +++ trunk/doc-rnd/jumper_1206.fp (revision 43) @@ -0,0 +1,7 @@ +Element[0x00000000 "1206 jumper, 0 ohm" "" "1206" 0 0 -3150 -3150 0 100 "nonetlist"] +( + Pad[-5905 -1181 -5905 1181 5118 2000 5718 "1" "1" "square,intconn(1)"] + Pad[5905 -1181 5905 1181 5118 2000 5718 "2" "2" "square,intconn(1)"] + ElementLine[-2362 -3740 2362 -3740 800] + ElementLine[-2362 3740 2362 3740 800] +) Index: trunk/doc-rnd/nonetlist.html =================================================================== --- trunk/doc-rnd/nonetlist.html (nonexistent) +++ trunk/doc-rnd/nonetlist.html (revision 43) @@ -0,0 +1,52 @@ + + +

pcb-rnd - the [nonetlist] patch

+ +The [nonetlist] patch adds an element flag that makes PCB ignore the marked +element when dealing with netlists. This means connecting a net to a pin of +a nonetlist element will not cause a short. The refdes of a nonetlist +part is drawn with color element-color-nonetlist (ElementColor_nonetlist +in the source; default value #777777, grey). +

+Uses of the nonetlist feature: +

+ +

save/load and compatibility

+This patch introduces a new element flag. The following example demonstrates +a 1206 jumper footprint: +
+Element[0x00000000 "1206 jumper, 0 ohm" "" "1206" 0 0 -3150 -3150 0 100 "nonetlist"]
+(
+	Pad[-5905 -1181 -5905 1181 5118 2000 5718 "1" "1" "square,intconn(1)"]
+	Pad[5905 -1181 5905 1181 5118 2000 5718 "2" "2" "square,intconn(1)"]
+	ElementLine[-2362 -3740 2362 -3740 800]
+	ElementLine[-2362 3740 2362 3740 800]
+)
+
+Vanilla PCB will load the design ignoring internal connections and nonetlist +flag - this will cause shorts on all connected pins/pads and will break +the connection. +

+Vanilla PCB doesn't save nonetlist and elements are embedded in the file - +once the design is loaded and saved with vanilla PCB, the flag is lost. +After reloading the file in pcb-rnd, the element causes the same shorts +as in vanilla PCB. + +

plans

+Implement change/action/hotkey for toggling this flag. + +