Quoting Stuart Brorson <[EMAIL PROTECTED]>:
>
> Todays whine is this: According to the PCB documentation, "all
> distances
> and sizes in Pcb are measured in mils (0.001 inch)." However, after
> editing my *.pcb file to set the board size and grid spacing, I found
> that
> these parameters are specified in the file in units of .01 mils. That
> is,
> a 1" x 1" board is specified in the .pcb file by:
>
> PCB["" 100000 100000]
>
> A similar situation holds for Grid & Cursor.
More bleating:
I re-ran gsch2pcb. When gsch2pcb produces a .pcb file, the units are
*correct* -- i.e. they are in mils. However, after editing the file with
PCB, and then saving it out, the units get changed to .01 mils in the saved
out file. Here's the header from the .pcb file before editing it:
# release: pcb 1.6.3
PCB("" 6000 5000)
Grid(10 0 0)
Cursor(10 270 3)
Flags(0x000000d0)
Groups("1,2,3,s:4,5,6,c:7:8:")
Styles("Signal,10,40,20:Power,25,60,35:Fat,40,60,35:Skinny,8,36,20")
Here's the header after editing the .pcb file with PCB:
# release: pcb-bin 20041023-sdb
# date: Sun Oct 31 10:01:09 2004
# user: sdb (Stuart Brorson)
# host: localhost.localdomain
PCB["" 130000 320000]
Grid[2500.00000000 0 0 1]
Cursor[232800 179200 4.000000]
Thermal[0.500000]
DRC[699 400 800 800]
Flags(0x00000000000000d0)
Groups("1,2,3,s:4,5,6,c:7:8:")
Styles["Signal,1000,4000,2000,1000:Power,2500,6000,3500,1000:Fat,4000,6000,3500,1000:Skinny,800,3600,2000,1000"]
Umm, I guess that the use of [] instead of () signals the change in units,
right? Or how does one know which units are in play?
Stuart