[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: Dsub15 HD
On 11/27/09, Ethan Swint <eswint.ramu@xxxxxxxxxxx> wrote:
>
>
> On 11/27/2009 01:43 AM, DJ Delorie wrote:
>> I set my mask clearance to be 3 mil away from the copper, that's what
>> most fabs want.
>>
> Do you (or some one else) have a script that will edit the
> pins/pads/vias on the board and automagically set the mask clearance to
> your desired value (e.g. 3 mils each side, +600 PCB units to the
> pad/pin/via copper). On my last board, I modified the numbers in a text
> editor, but a pearl script would be much easier. It would be a help if
> anyone had a bit of parser already written... (Don't build when you can
> steal!)
Two months ago I did something similar this way:
#! /bin/awk -f
!/\tPin/ { print }
/\tPin/ {delta=600;
if ($3+delta<$5) print; else
print "\t"$1" "$2" "$3" "$4" "$3+delta" "$6" "$7" "$8" "$9" "$10;
}
#! /bin/awk -f
!/\tPad/ { print }
/\tPad/ {delta=600;
if ($5+delta<$7) print; else
print "\t"$1" "$2" "$3" "$4" "$5" "$6" "$5+delta" "$8" "$9" "$10;
}
(two scripts: for pins and for pads to set minimum mask clearance
to 3 mil (delta/2/(100 PCB units/mil))
Such things are done in a minute, they don't need any special tool.
HTH,
Ineiev
_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user