Index: trunk/doc/TODO =================================================================== --- trunk/doc/TODO (revision 31982) +++ trunk/doc/TODO (revision 31983) @@ -8,7 +8,6 @@ - BUG: bug_files/lines - remove zero length objects if they are created as the result of rubber banding [report: Evan] + BUG: parametric fp: qf() gui edit -> silk marks don't work [report: Piotr] + BUG: eagle bin: on loading (non-free) diode.lbr, pcb-rnd's clipping polygon out of existence routine seems to go into a non terminating loop [report: Erich] -+ BUG: eagle bin: long/free text: any text names in the binary tree, if starting with ASCII 127, sequentially reference strings in the text block which comes immediately after the board/design tree. In later eagle binary versions, the text block seems to become a node of the tree, but a node of arbitrary length, not 24 bytes, with length of block still encoded in first few bytes. ? BUG: eagle bin: layouts, once loaded, have issue where deselection of elements only deselects element pins/pads. click-drag of element or saving the layout to .lht and reloading fixes the deselection issue. Example FTSH.... library file for a header exhibits this behaviour. [report: Erich] -> need a test file 2. For later releases =============================================================================== Index: trunk/doc/tutorials/7805/7805.pcb =================================================================== --- trunk/doc/tutorials/7805/7805.pcb (nonexistent) +++ trunk/doc/tutorials/7805/7805.pcb (revision 31983) @@ -0,0 +1,222 @@ +# release: pcb-rnd 1.1.3 + +# To read pcb files, the pcb version (or the git source date) must be >= the file version +FileVersion[20070407] + +PCB["" 30480000nm 30480000nm] + +Grid[2540000nm 0 0 1] +Cursor[0 0 0.000000] +PolyArea[3100.006200] +Thermal[0.500000] +DRC[304800nm 228600nm 254000nm 177800nm 381000nm 254000nm] +Flags("nameonpcb,clearnew,snappin") +Groups("1,3,4,c:2,5,6,s:7:8") +Styles["Signal,254000nm,1999996nm,800100nm,508000nm:Power,508000nm,2199894nm,999998nm,508000nm:Fat,2032000nm,3500120nm,1199896nm,635000nm:Sig-tight,254000nm,1625600nm,800100nm,304800nm"] + +Attribute("PCB::grid::unit" "mil") +Attribute("PCB::loader" "geda/pcb - nanometer") +Attribute("PCB::conf::editor/grid" "100.00 mil") +Attribute("PCB::conf::editor/view/flip_x" "0") +Attribute("PCB::conf::editor/view/flip_y" "0") +Attribute("PCB::conf::editor/show_solder_side" "0") +Attribute("PCB::conf::editor/draw_grid" "true") +Attribute("PCB::conf::editor/buffer_number" "0") + +Element["onsolder" "0805" "C3" "100nF" 25400000nm 20320000nm 800100nm -800100nm 2 100 "auto"] +( + Attribute("vendor_part_number" "unknown") + Attribute("vendor" "unknown") + Attribute("manufacturer_part_number" "unknown") + Attribute("device" "CAPACITOR") + Attribute("manufacturer" "unknown") + Pad[899922nm -99822nm 899922nm 99822nm 1299972nm 508000nm 1452372nm "1" "1" "onsolder,square"] + Pad[-899922nm -99822nm -899922nm 99822nm 1299972nm 508000nm 1452372nm "2" "2" "onsolder,square"] + ElementLine [-99822nm -699770nm 99822nm -699770nm 203200nm] + ElementLine [-99822nm 699770nm 99822nm 699770nm 203200nm] + + ) + +Element["onsolder" "0805" "C2" "100nF" 20320000nm 20320000nm -800100nm 800100nm 0 100 "auto"] +( + Attribute("vendor_part_number" "unknown") + Attribute("vendor" "unknown") + Attribute("manufacturer_part_number" "unknown") + Attribute("device" "CAPACITOR") + Attribute("manufacturer" "unknown") + Pad[-899922nm -99822nm -899922nm 99822nm 1299972nm 508000nm 1452372nm "1" "1" "onsolder,square"] + Pad[899922nm -99822nm 899922nm 99822nm 1299972nm 508000nm 1452372nm "2" "2" "onsolder,square"] + ElementLine [-99822nm 699770nm 99822nm 699770nm 203200nm] + ElementLine [-99822nm -699770nm 99822nm -699770nm 203200nm] + + ) + +Element["" "rcy(200)" "C1" "47uF" 12700000nm 10160000nm -1016000nm 5207000nm 0 100 ""] +( + Attribute("vendor_part_number" "unknown") + Attribute("vendor" "unknown") + Attribute("manufacturer_part_number" "unknown") + Attribute("device" "POLARIZED_CAPACITOR") + Attribute("manufacturer" "unknown") + Pin[0 0 2032000nm 1270000nm 2184400nm 999998nm "+" "1" "square,edge2"] + Pin[-5080000nm 0 2032000nm 1270000nm 2184400nm 999998nm "-" "2" "edge2,thermal(4X)"] + ElementLine [-9144000nm 0 -8128000nm 0 254000nm] + ElementLine [3048000nm 0 4064000nm 0 254000nm] + ElementLine [3556000nm -508000nm 3556000nm 508000nm 254000nm] + ElementArc [-2540000nm 0 5080000nm 5080000nm 180 360 254000nm] + + ) + +Element["" "connector(2,1)" "CONN2" "unknown" 6350000nm 20320000nm -3175000nm 635000nm 1 100 ""] +( + Attribute("vendor_part_number" "unknown") + Attribute("vendor" "unknown") + Attribute("manufacturer_part_number" "unknown") + Attribute("device" "CONNECTOR_2") + Attribute("manufacturer" "unknown") + Pin[0 0 2032000nm 1270000nm 2184400nm 999998nm "1" "1" "square"] + Pin[0 -2540000nm 2032000nm 1270000nm 2184400nm 999998nm "2" "2" "thermal(4X)"] + ElementLine [-1270000nm 1270000nm 1270000nm 1270000nm 254000nm] + ElementLine [-1270000nm -3810000nm -1270000nm 1270000nm 254000nm] + ElementLine [1270000nm -3810000nm 1270000nm 1270000nm 254000nm] + ElementLine [-1270000nm -3810000nm 1270000nm -3810000nm 254000nm] + ElementLine [1270000nm -1270000nm 1270000nm 1270000nm 254000nm] + ElementLine [-1270000nm -1270000nm 1270000nm -1270000nm 254000nm] + + ) + +Element["" "connector(3,1)" "CONN1" "unknown" 14605000nm 23495000nm -3810000nm 1270000nm 0 100 ""] +( + Attribute("vendor_part_number" "unknown") + Attribute("vendor" "unknown") + Attribute("manufacturer_part_number" "unknown") + Attribute("device" "CONNECTOR_3") + Attribute("manufacturer" "unknown") + Pin[0 0 2032000nm 1270000nm 2184400nm 999998nm "1" "1" "square,edge2"] + Pin[-2540000nm 0 2032000nm 1270000nm 2184400nm 999998nm "2" "2" "edge2,thermal(4X)"] + Pin[-5080000nm 0 2032000nm 1270000nm 2184400nm 999998nm "3" "3" "edge2"] + ElementLine [1270000nm -1270000nm 1270000nm 1270000nm 254000nm] + ElementLine [-6350000nm 1270000nm 1270000nm 1270000nm 254000nm] + ElementLine [-6350000nm -1270000nm 1270000nm -1270000nm 254000nm] + ElementLine [-6350000nm -1270000nm -6350000nm 1270000nm 254000nm] + ElementLine [-1270000nm -1270000nm 1270000nm -1270000nm 254000nm] + ElementLine [-1270000nm -1270000nm -1270000nm 1270000nm 254000nm] + + ) + +Element["" "TO220" "U1" "unknown" 22860000nm 23495000nm -6985000nm -19177000nm 1 100 ""] +( + Attribute("vendor_part_number" "unknown") + Attribute("vendor" "unknown") + Attribute("manufacturer_part_number" "unknown") + Attribute("device" "7805") + Attribute("manufacturer" "unknown") + Pin[-2540000nm 0 2286000nm 762000nm 2438400nm 1524000nm "1" "1" "square"] + Pin[0 0 2286000nm 762000nm 2438400nm 1524000nm "2" "2" "thermal(4X)"] + Pin[2540000nm 0 2286000nm 762000nm 2438400nm 1524000nm "3" "3" ""] + Pin[0 -17018000nm 3810000nm 762000nm 3962400nm 3302000nm "4" "4" ""] + ElementLine [-2540000nm 0 -2540000nm -4572000nm 762000nm] + ElementLine [0 0 0 -4572000nm 762000nm] + ElementLine [2540000nm 0 2540000nm -4572000nm 762000nm] + ElementLine [-5080000nm -4572000nm 5080000nm -4572000nm 508000nm] + ElementLine [5080000nm -4572000nm 5080000nm -14097000nm 508000nm] + ElementLine [5080000nm -14097000nm -5080000nm -14097000nm 508000nm] + ElementLine [-5080000nm -14097000nm -5080000nm -4572000nm 508000nm] + ElementLine [-5080000nm -14097000nm 5080000nm -14097000nm 508000nm] + ElementLine [5080000nm -14097000nm 5080000nm -17272000nm 508000nm] + ElementLine [5080000nm -17272000nm 4699000nm -17272000nm 508000nm] + ElementLine [4699000nm -17272000nm 4699000nm -19050000nm 508000nm] + ElementLine [4699000nm -19050000nm 5080000nm -19050000nm 508000nm] + ElementLine [5080000nm -19050000nm 5080000nm -20066000nm 508000nm] + ElementLine [5080000nm -20066000nm -5080000nm -20066000nm 508000nm] + ElementLine [-5080000nm -20066000nm -5080000nm -19050000nm 508000nm] + ElementLine [-5080000nm -19050000nm -4699000nm -19050000nm 508000nm] + ElementLine [-4699000nm -19050000nm -4699000nm -17272000nm 508000nm] + ElementLine [-4699000nm -17272000nm -5080000nm -17272000nm 508000nm] + ElementLine [-5080000nm -17272000nm -5080000nm -14097000nm 508000nm] + + ) +Layer(1 "component") +( +) +Layer(2 "solder") +( + Line[6350000nm 20320000nm 4445000nm 20320000nm 2032000nm 1270000nm "clearline"] + Line[6350000nm 20320000nm 3810000nm 20320000nm 2032000nm 1270000nm "clearline"] + Line[3810000nm 20320000nm 3810000nm 3810000nm 2032000nm 1270000nm "clearline"] + Line[27305000nm 3810000nm 27305000nm 23495000nm 2032000nm 1270000nm "clearline"] + Line[27305000nm 23495000nm 25400000nm 23495000nm 2032000nm 1270000nm "clearline"] + Line[3810000nm 3810000nm 20320000nm 3810000nm 2032000nm 1270000nm "clearline"] + Line[27305000nm 3810000nm 25400000nm 3810000nm 2032000nm 1270000nm "clearline"] + Line[20320000nm 3810000nm 25400000nm 3810000nm 762000nm 1016000nm "clearline"] + Line[20320000nm 3175000nm 26035000nm 3175000nm 635000nm 1016000nm "clearline"] + Line[12700000nm 10160000nm 15240000nm 10160000nm 2032000nm 1270000nm "clearline"] + Line[15240000nm 10160000nm 17145000nm 12065000nm 2032000nm 1270000nm "clearline"] + Line[17145000nm 12065000nm 17145000nm 23495000nm 2032000nm 1270000nm "clearline"] + Line[20320000nm 23495000nm 14605000nm 23495000nm 2032000nm 1270000nm "clearline"] + Line[19420078nm 20320000nm 17145000nm 20320000nm 508000nm 1016000nm "clearline"] +) +Layer(3 "comp-GND") +( +) +Layer(4 "comp-power") +( +) +Layer(5 "sold-GND") +( + Line[21219922nm 20320000nm 24500078nm 20320000nm 508000nm 1016000nm ""] + Polygon("clearpoly") + ( + [2540000nm 26035000nm] [28575000nm 26035000nm] [28575000nm 2540000nm] [2540000nm 2540000nm] + ) +) +Layer(6 "sold-power") +( +) +Layer(7 "signal3") +( +) +Layer(8 "outline") +( + Line[2540000nm 2540000nm 2540000nm 26035000nm 254000nm 1016000nm "clearline"] + Line[2540000nm 2540000nm 28575000nm 2540000nm 254000nm 1016000nm "clearline"] + Line[2540000nm 26035000nm 28575000nm 26035000nm 254000nm 1016000nm "clearline"] + Line[28575000nm 26035000nm 28575000nm 2540000nm 254000nm 1016000nm "clearline"] +) +Layer(9 "silk") +( +) +Layer(10 "silk") +( + Text[8255000nm 15875000nm 0 195 "-" "clearline"] + Text[8255000nm 18415000nm 0 195 "+" "clearline"] + Text[13970000nm 19685000nm 0 195 "+" "clearline"] + Text[11430000nm 19685000nm 0 195 "-" "clearline"] + Text[6985000nm 22860000nm 0 100 "in" "clearline"] + Text[2921000nm 14859000nm 0 100 "out: +5V" "clearline"] +) +NetList() +( + Net("GND" "(unknown)") + ( + Connect("C1-2") + Connect("C2-2") + Connect("C3-2") + Connect("CONN1-2") + Connect("CONN2-2") + Connect("U1-2") + ) + Net("unnamed_net1" "(unknown)") + ( + Connect("C1-1") + Connect("C2-1") + Connect("CONN1-1") + Connect("U1-1") + ) + Net("unnamed_net2" "(unknown)") + ( + Connect("C3-1") + Connect("CONN2-1") + Connect("U1-3") + ) +) Index: trunk/doc/tutorials/7805/7805.sch =================================================================== --- trunk/doc/tutorials/7805/7805.sch (nonexistent) +++ trunk/doc/tutorials/7805/7805.sch (revision 31983) @@ -0,0 +1,86 @@ +v 20130925 2 +C 23100 57800 1 0 0 lm7805-1.sym +{ +T 24700 59100 5 10 0 0 0 0 1 +device=7805 +T 24500 58800 5 10 1 1 0 6 1 +refdes=U1 +T 23400 58800 5 10 1 1 0 0 1 +footprint=TO220 +} +N 21100 58400 23100 58400 4 +N 21100 58000 21700 58000 4 +N 21700 58000 21700 56700 4 +C 21600 56400 1 0 0 gnd-1.sym +C 23800 56400 1 0 0 gnd-1.sym +N 23900 56700 23900 57800 4 +C 25900 57600 1 0 0 connector2-2.sym +{ +T 26600 58900 5 10 1 1 0 6 1 +refdes=J2 +T 26200 58850 5 10 0 0 0 0 1 +device=CONNECTOR_2 +T 26200 59050 5 10 0 0 0 0 1 +footprint=connector(1,2) +} +N 25900 58400 24700 58400 4 +N 25700 58000 25700 56700 4 +C 25600 56400 1 0 0 gnd-1.sym +N 25900 58000 25700 58000 4 +C 22000 58000 1 270 0 capacitor-2.sym +{ +T 22700 57800 5 10 0 0 270 0 1 +device=POLARIZED_CAPACITOR +T 22000 57400 5 10 1 1 270 0 1 +refdes=C3 +T 22900 57800 5 10 0 0 270 0 1 +symversion=0.1 +T 22000 58000 5 10 0 0 270 0 1 +footprint=rcy(200) +T 22000 58100 5 10 1 1 270 0 1 +value=100uF +} +C 22100 56400 1 0 0 gnd-1.sym +N 22200 57100 22200 56700 4 +N 22200 58000 22200 58400 4 +C 22700 58000 1 270 0 capacitor-1.sym +{ +T 23400 57800 5 10 0 0 270 0 1 +device=CAPACITOR +T 23200 57800 5 10 1 1 270 0 1 +refdes=C1 +T 23600 57800 5 10 0 0 270 0 1 +symversion=0.1 +T 22700 58200 5 10 1 1 270 0 1 +value=100nF +T 22700 58000 5 10 0 0 0 0 1 +footprint=acy(200) +} +N 22900 58000 22900 58400 4 +C 22800 56400 1 0 0 gnd-1.sym +N 22900 56700 22900 57100 4 +C 24800 58000 1 270 0 capacitor-1.sym +{ +T 25500 57800 5 10 0 0 270 0 1 +device=CAPACITOR +T 25300 57800 5 10 1 1 270 0 1 +refdes=C2 +T 25700 57800 5 10 0 0 270 0 1 +symversion=0.1 +T 24800 58200 5 10 1 1 270 0 1 +value=100nF +T 24800 58000 5 10 0 0 0 0 1 +footprint=acy(200) +} +N 25000 58000 25000 58400 4 +C 24900 56400 1 0 0 gnd-1.sym +N 25000 56700 25000 57100 4 +C 21100 57600 1 0 1 connector2-2.sym +{ +T 20400 58900 5 10 1 1 0 0 1 +refdes=J1 +T 20800 58850 5 10 0 0 0 6 1 +device=CONNECTOR_2 +T 20800 59050 5 10 0 0 0 6 1 +footprint=connector(1,2) +} Index: trunk/doc/tutorials/7805/Makefile.inst =================================================================== --- trunk/doc/tutorials/7805/Makefile.inst (nonexistent) +++ trunk/doc/tutorials/7805/Makefile.inst (revision 31983) @@ -0,0 +1,23 @@ +ROOT=../../.. +TUTDIR=$(DOCDIR)/tutorial/7805 + + +all: + +install_all: + $(SCCBOX) mkdir -p $(TUTDIR) + $(SCCBOX) $(HOW) 7805.pcb $(TUTDIR)/7805.pcb + $(SCCBOX) $(HOW) 7805.sch $(TUTDIR)/7805.sch + $(SCCBOX) $(HOW) sch.png $(TUTDIR)/sch.png + $(SCCBOX) $(HOW) index.html $(TUTDIR)/index.html + +install: + $(MAKE) -f Makefile.inst install_all HOW="install -f" + +linstall: + $(MAKE) -f Makefile.inst install_all HOW="install -f -l --absolute " + +uninstall: + $(MAKE) -f Makefile.inst install_all HOW="install -u" + +include $(ROOT)/Makefile.conf Index: trunk/doc/tutorials/7805/index.html =================================================================== --- trunk/doc/tutorials/7805/index.html (nonexistent) +++ trunk/doc/tutorials/7805/index.html (revision 31983) @@ -0,0 +1,47 @@ +

Step 1: schematics

+

+ The schematics is usually the single source of all logical information: + footprints, refdes and values and connections (networks or nets). + A project is just a directory that holds at least the schematics, but + usually also the pcb layout file and scripts. +

+ Start the new project by creating an empty directory. Draw + the schematics with any schematics editor supported by pcb-rnd and + save it in this new directory. On the schematics + place the following symbols and edit/add these attributes: +

+

+ Arrange and connect the pins as shown below. +

+ schematics +

+ +

Step 2: export the netlist as needed

+

+Depending on the schematics capture software you choose, you may need to +export a netlist that can be imported in pcb-rnd. +

+TODO: create a pool node on this + +

Step 3: lay out the board

+ + +

Step 4: updates: forward annotation

+

+If you need to change the schematics later, re-export it from the schematics +editor and re-import it from pcb-rnd. If the format included importing +footprints, all new footprints will be imported. The netlist will be updated. +press {c r} after the import and update the board to reflect schematics changes. + Index: trunk/doc/tutorials/7805/sch.png =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/doc/tutorials/7805/sch.png =================================================================== --- trunk/doc/tutorials/7805/sch.png (nonexistent) +++ trunk/doc/tutorials/7805/sch.png (revision 31983) Property changes on: trunk/doc/tutorials/7805/sch.png ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property