[Pkg-electronics-devel] Bug#1002839: default clearances are set to a compiled in value

Johann Klammer klammerj at a1.net
Wed Dec 29 17:09:31 GMT 2021


Package: pcb-lesstif
Version: 20140316-3



Hello,

I was just trying to get a layout ready to fab with a boardhouse and tried to get the defaults for polygon and solder mask clearance adjusted. 

I was using some old style footprints without the Pin clearances specified.
>         Pin(25 42 40 24 "1" 0x101)

As it turns out this is not possible through the settings file. The program just assumes something. After some digging in the source file, I found:

parse_y.y:1605
> 2*GROUNDPLANEFRAME
> 2*MASKFRAME

a header.. globalconst.h
> /* ---------------------------------------------------------------------------
>  * frame between the groundplane and the copper
>  */
> #define GROUNDPLANEFRAME        MIL_TO_COORD(15)
> #define MASKFRAME               MIL_TO_COORD(3)

The obvious workaround is to change all the footprints manually, but parameters change from bardhouse to boardhouse. There are no sane defaults.

Is it possible to have those read from the settings file?

Johann



More information about the Pkg-electronics-devel mailing list