Mailing list archives : pcb-rnd

ID:3277
From:ge...@igor2.repo.hu
Date:Sat, 17 Aug 2019 18:32:37 +0200 (CEST)
Subject:Re: [pcb-rnd] pcblib: parametric footprint script switchover:
in-reply-to:3276 from ge...@igor2.repo.hu
replies: 3279 from ge...@igor2.repo.hu
 
 
On Sat, 17 Aug 2019, gedau@igor2.repo.hu wrote:
 
>With keeping 100% backward compatibility, we will have some extensions, 
>mainly new parameters controlling aspects of padstacks that were 
>impossible to control with the old format. I will write separate 
>announcements about these when they are implemented
 
First new features: 
 
1. optional pad_paste_ratio
 
When specified, paste size is copper size multiplied by this number.
 
2. optional pad_paste_offs (mm or mil)
 
When specified, paste size is copper size plus this value 
 
 
If multiple sources try to set paste dimensions, the logic is as follows:
 
1. if there is a per footprint generator script value, we are going to use 
that
 
2. else if there's an absolute value (pad_paste) for the paste thickness, 
we use that
 
3. else if there's an offset (pad_paste_offs), use that
 
4. else if there is a ratio (pad_paste_ratio), use that
 
 
Note: this feature is in the common code of parametric footprints, not in 
pcb-rnd. Once the footprint is generated, the actual shape and size of the 
paste is hardwired numerical data and does not depend on copper shape any 
more. In other words these values affect how the generator works, but once 
the footprint is generated, the paste shape becomes independent. However, 
one can always change the parameter and re-generate the footprint and 
replace the old with the new, in-place.
 
Regards,
 
Igor2
 
 

Reply subtree:
3277 Re: [pcb-rnd] pcblib: parametric footprint script switchover: from ge...@igor2.repo.hu
  3279 Re: [pcb-rnd] pcblib: parametric footprint script switchover: from ge...@igor2.repo.hu
    3280 Re: [pcb-rnd] pcblib: parametric footprint script switchover: from Gabriel Paubert <pa...@iram.es>
      3281 Re: [pcb-rnd] pcblib: parametric footprint script switchover: from ge...@igor2.repo.hu