On Thursday 02 March 2006 18:54, Carlos Nieves Ónega wrote: > [...] > El mié, 01-03-2006 a las 23:33 +0100, Holger Oehm escribió: > > As the net 'NoConnection' was ignored somwhere else in the > > gnet-drc2.scm, I thought perhaps we could ignore it here, too. > > Sure! It should be ignored! > [...] Hi,
in the meantime I used gsch2pcb with my schematic to get the import for pcb. In pcb I saw that the NoConnection net had been imported too! And it was in the rats nest, just like any other net (and the autorouter happily connected my nc-pins :-). So I decided to modify my copy of gnet-PCB.scm, too. (The attached patch is produced with "diff -U4 gnet-PCB.scm.orig gnet-PCB.scm" against release 20060123 in the geda-gnetlist/scheme directory). Best regards, Holger. -- /"\ Holger Oehm <[EMAIL PROTECTED]> \ / KeyID: B50E51A9, 1024bit at http://www.holger-oehm.de/public-key.asc X Fingerprint: E92A 5C2C 497A 44ED 23C0 DB66 1DD9 3EF7 B50E 51A9 / \ ASCII Ribbon Campaign against HTML email
--- gnet-PCB.scm.orig 2005-07-07 13:52:09.000000000 +0200 +++ gnet-PCB.scm 2006-03-01 23:44:19.000000000 +0100 @@ -43,11 +43,15 @@ (define (PCB:write-net netnames port) (if (not (null? netnames)) (let ((netname (car netnames))) - (display netname port) - (display "\t" port) - (display (gnetlist:wrap (PCB:display-connections (gnetlist:get-all-connections netname)) 200 " \\") port) + (if (not (string-ci=? netname "NoConnection")) + (begin + (display netname port) + (display "\t" port) + (display (gnetlist:wrap (PCB:display-connections (gnetlist:get-all-connections netname)) 200 " \\") port) + ) + ) (PCB:write-net (cdr netnames) port)))) (define (PCB output-filename)
pgpNjnVGMdvyN.pgp
Description: PGP signature