Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Matthew Lai
Fixed. Sort of. This is very strange. My files were on a SMB share (on another Linux box). Copied it to /tmp, didn't change anything, and both the test case and my original board worked. No idea why... Probably permission or timing (higher latency) issues. But permission issues don't usual

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Matthew Lai
Unfortunately, (debug-options (list 'stack 20)) wasn't it. Attached is my board.pcb output. PCB says ERROR parsing file 'board.pcb' line:698 description: 'syntax error' File is clearly corrupted near that line (note that the last incomplete capacitor is also C2, when it shoul

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread George M. Gallant, Jr.
Matthew, I cut & pasted you test. Followed the instruction presented by gsch2pcb. No problem. BTW, I have never used gsch2pcb before and felt this was a good opportunity to try it out. George On 06/10/2010 03:34 PM, Matthew Lai wrote: Hi, I've posted this on the b

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Dan McMahill
On 6/10/2010 6:40 PM, Matthew Lai wrote: That is interesting. The only possibility I can think of is that my system is 64-bit. not that I have been active lately, but essentially all of my geda work has been on a 64-bit system for nearly a decade so if nothing else geda gets compiled fairly

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Stefan Salewski
On Fri, 2010-06-11 at 02:56 +0200, Stefan Salewski wrote: > On Fri, 2010-06-11 at 02:49 +0200, Stefan Salewski wrote: > > > Oh -- when I open your schematic with gschem I have some missing symbols > > (red triangles) -- > > > > Sorry, that was the wrong scope.sch (the larger one from your homep

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Stefan Salewski
On Fri, 2010-06-11 at 02:49 +0200, Stefan Salewski wrote: > Oh -- when I open your schematic with gschem I have some missing symbols > (red triangles) -- > Sorry, that was the wrong scope.sch (the larger one from your homepage). I will try the other now.

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Stefan Salewski
On Thu, 2010-06-10 at 17:22 -0700, Matthew Lai wrote: > > Can you try it with 200 capacitors or something? Just copy and paste, > and "refdes_renum --force". 41 was the magic number for me (minimum to > make it produce the error). Maybe it's different for you? > Oh -- when I open your schemat

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Matthew Lai
That may be it! Will give it a try tonight. I happen to be building a DSO, too, but mine is much simpler, with just a few chips (including an FPGA), and a few dozen passive components. If the "stack" is the callstack, there could be a difference between 32-bit and 64-bit. A stack frame would

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Stefan Salewski
On Thu, 2010-06-10 at 17:22 -0700, Matthew Lai wrote: > Yeap, the 41 capacitors thing is my reduced test case that still shows > this problem. > > Should be some kind of overflow, My only idea: In my DAD/DSO project with about 1000 symbols/elements I have ste...@amd64x2 ~ $ cat /mnt/data/stef

gEDA-user: OT: Scaling axes for data plots -- C function available

2010-06-10 Thread Stefan Salewski
Sorry for this off topic post... I have written a small C function which generates tic positions and labels for arbitrary data ranges, which may be useful for people intending to write plotting applications like GTK-wave... It is available here: http://www.ssalewski.de/AxisScale.html.en

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Matthew Lai
Yeap, the 41 capacitors thing is my reduced test case that still shows this problem. Should be some kind of overflow, since removing ANY of the 41 capacitors make the problem go away for me. In my original design, removing a few random components also stop the error. My original schematic wo

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Stefan Salewski
On Thu, 2010-06-10 at 15:40 -0700, Matthew Lai wrote: > That is interesting. > > The only possibility I can think of is that my system is 64-bit. > All fine here, gEDA 1.6.1 and PCB2009 snapshot, as shipped with Gentoo-Linux for AMD64. I used your enclosed schematics, seems the one from http:/

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Matthew Lai
That is interesting. The only possibility I can think of is that my system is 64-bit. I built my own gEDA from newest official tarball (1.6.1-20100214 ), with all default options ("./configure", "make", "make install"). I did rem

Re: gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread kai-martin knaak
Matthew Lai wrote: > Basically, I have a .sch with nothing other than 41 identical capacitors > (footprint doesn't matter, I've tried RADIAL CAN and 0603) except for > refdes. The .sch looks right in text editor, but when it's run through > gsch2pcb, the resulting .pcb contains weird corruptions.

gEDA-user: gsch2pcb (gnetlist) generates corrupted pcb output

2010-06-10 Thread Matthew Lai
Hi, I've posted this on the bugs list, but I'm not sure if people here also subscribe to that, so I'll repost it here in case someone has seen / know how to fix this. Basically, I have a .sch with nothing other than 41 identical capacitors (footprint doesn't matter, I've tried RADIAL CAN and

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Robert Spanton
On Thu, 2010-06-10 at 16:39 +0200, Stefan Salewski wrote: > I think recent PCB program can use mm and nm units in footprint files. Wow! Excellent. > Do you really create the footprints files with an editor, without the > help of scripts? My sfg.rb script works fine with mm unit. Well no, I'd *p

Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-10 Thread Armin Faltl
Kai-Martin Knaak wrote: The use of the right mouse button to get back one level in handler hierarchy is very convenient for me. It's a feature I learned to love with QCad The concept of a hierarchy of tools is one of the aspects I explicitly dislike with qcad. It is a pain to constantly

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Stephan Boettcher
DJ Delorie writes: > It works, for mm, um, in, and mil suffixes on any number: > > {FLOATINGMM} { return parse_number(3937.0079); } > {FLOATINGUM} { return parse_number(3.9370079); } > {FLOATINGIN} { return parse_number(10.0); } > {FLOATINGMIL}

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread DJ Delorie
> Can't find anything about this in the docs. Not surprising. > How is this supposed to be used? Like "10mm" instead of "39370" ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Kai-Martin Knaak
On Thu, 10 Jun 2010 12:15:09 -0400, DJ Delorie wrote: >> From my memory, DJ posted a message about that file format extension >> long time ago, and I think I have seen a PCB footprint file containing >> nm units. But I was not able to verify this with a short inspection of >> the PCB manual. > >

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread DJ Delorie
> From my memory, DJ posted a message about that file format extension > long time ago, and I think I have seen a PCB footprint file > containing nm units. But I was not able to verify this with a short > inspection of the PCB manual. It works, for mm, um, in, and mil suffixes on any number: {FL

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Stefan Salewski
On Thu, 2010-06-10 at 16:39 +0200, Stefan Salewski wrote: > > I think recent PCB program can use mm and nm units in footprint files. > Maybe someone can confirm this? >From my memory, DJ posted a message about that file format extension long time ago, and I think I have seen a PCB footprint fi

Re: gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Stefan Salewski
On Thu, 2010-06-10 at 13:59 +0100, Robert Spanton wrote: > Hi, > > I'm a European under the age of 40, and as such my brain works in > metric. So I'll write footprints for PCB in metric, then do the > conversion over to those weird units as a last step. So I banged the > attached script together

Re: gEDA-user: git HEAD PCB now supports user-defined holes in polygons

2010-06-10 Thread Kai-Martin Knaak
On Wed, 09 Jun 2010 20:20:47 -0400, Jim wrote: > Thanks, that'll help a lot if they do change default behavior. I added this and some notes on shortcut customisation to the wiki. ---<)kaimartin(>--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover,

gEDA-user: Script for converting mm to hundredths of thou

2010-06-10 Thread Robert Spanton
Hi, I'm a European under the age of 40, and as such my brain works in metric. So I'll write footprints for PCB in metric, then do the conversion over to those weird units as a last step. So I banged the attached script together. This replaces all instances of "Nmm" (e.g. '0.127mm') with their v

Re: gEDA-user: gnetlist partslists backends

2010-06-10 Thread Robert Spanton
On Thu, 2010-06-03 at 00:22 +0100, Richard Barlow wrote: > I discovered a bug in the partslist[1-3] backend for gnetlist when > processing hierarchical designs. It strips the refdes of sub-schematic > symbols from the sub-schematic components meaning you end up with > duplicate refdes's. I've attac

gEDA-user: Z8018216FSC and FDC37C665IR

2010-06-10 Thread David Griffith
Before I go off and make them myself, does anyone here have any symbols for the Zilog Z8018216FSC microprocessor or the SMSC FDC37C665IR super-io chip? Something I could use to steal a symbol from an old Protel schematic would be great too. -- David Griffith dgri...@cs.csubak.edu A: Becau