Thanks for the clarifications! ________________________________________ From: Seth Hillbrand <[email protected]> Sent: 06 September 2020 19:51 To: Mário Luzeiro Cc: Jeff Young; [email protected] Subject: Re: [Kicad-developers] D_PAD contributing to solder mask
Hi Mário- Jeff is correct. You can also use the IsPadOnLayer() for this purpose because it defaults to IsOnLayer() when the pad hasn't been automatically removed. IsOnLayer will tell you if the object passes through the copper layer, or has a technical layer selected. IsPadOnLayer will return false if the copper annulus of a through-hole pad has been removed by the 'Remove unconnected pads' logic Otherwise, it will return the result of `IsOnLayer()` It's good practice to use IsPadOnLayer for D_PADs unless you want to know if the pad passes through a layer. Best- Seth On Sun, Sep 6, 2020 at 11:13 AM Mário Luzeiro <[email protected]<mailto:[email protected]>> wrote: I was using IsPadOnLayer .. What should be the differences for use IsPadOnLayer vs IsOnLayer ? ________________________________________ From: Jeff Young <[email protected]<mailto:[email protected]>> Sent: 06 September 2020 19:04 To: Mário Luzeiro Cc: [email protected]<mailto:[email protected]> Subject: Re: [Kicad-developers] D_PAD contributing to solder mask IsOnLayer( F_Mask ) || IsOnLayer( B_Mask ) On 6 Sep 2020, at 18:43, Mário Luzeiro <[email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>>> wrote: Hi all, what is the correct way to check that a D_PAD is contributing to solder mask? eg: on the Pad Properties editor, the F.Mask or B.Mask is ticked.. Mario _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected]<mailto:[email protected]><mailto:[email protected]<mailto:[email protected]>> Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected]<mailto:[email protected]> Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp -- [KiCad Services Corporation Logo] Seth Hillbrand Lead Developer +1-530-302-5483<tel:+12126039372> Davis, CA www.kipro-pcb.com<https://www.kipro-pcb.com/> [email protected]<mailto:[email protected]> _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

