Mail Archives: geda-user/2024/02/04/14:42:57
Hello Karl,
Op 04-02-2024 om 16:13 schreef karl AT aspodata DOT se [via geda-user AT delorie DOT com]:
> Richard:
> ...
>> Question: is it possible to set the solder mask gap to match pad sizes
>> for all elements in one go?
> Yes, with a simple script.
>
> ...
>> The only alternative I see is to create a script that seeks out lines
>> with pad elements, then takes the thickness, and copies that to the mask
>> parameter - but that is quite a bit of work, especially given that I'll
>> be migrating to pcb-rnd pretty soon.
> Do all of your Pad lines look like this, i.e. they have 10 arguments
> between the []'s ?
>
> $ grep -i Pad styrkort.pcb | head -1
> Pad[-1.3000mm 0.9500mm -0.9000mm 0.9500mm 1.0000mm 0.5000mm 1.4000mm "1" "1" "onsolder,square"]
> $
Yes, my pcb file has pad definitions with the 10 arguments, with #5
being the thickness (here 1.0000mm) and #7 the mask 'thickness' (here
1.4000mm).
> Try attached script.
Yes, it works, great! And I also succeeded in adding some lines of code
to do the same with through-hole pins.
Thanks, this saves me quite a bit of time!
Regards,
Richard
- Raw text -