kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44489
Re: D_PAD contributing to solder mask
-
To:
Seth Hillbrand <seth@xxxxxxxxxxxxx>
-
From:
Mário Luzeiro <mrluzeiro@xxxxx>
-
Date:
Sun, 6 Sep 2020 21:13:47 +0000
-
Accept-language:
en-GB, en-US
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ua.pt; dmarc=pass action=none header.from=ua.pt; dkim=pass header.d=ua.pt; arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RyOID70i3qsT85gb/kv3hqNBQOODj4gbW0kDl2ahtB4=; b=YTBi3GTq+3LFTw9bnrKpEMDl1615ZUZPPJG8LxlhqJY4Jdijti2rcGaykvnoVjPSiISYkP1i8EbrA7WPXfozlNrkytnZbIQgp432y0kP9c32xb661v1+wKZE4CEtlTcu+OERBeY4KoICFHPFOarRgqWUybaptDdIz6/Eg2SxQT3pDr/nZetthoJCtyIp4Q1ZBHLlN3boy2kiow64ftDKyNy+Jkiwn6hxekTVQEh7V7mpM4Rx7Z6bHYPdKPKx1MU3vI9aTLPKIZO3+bpPbdhUXgYN1DNjGjHrcb4dLEZD6Kt2I8RXUMv85RaWBfbL6pXZxa1bDUsf3R0apcZX/eJ+Lw==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VZ6kSAVNltrupYP2Y3Ei1bieHsszLP14GnaF8bJhvEYePfNk9KD/TaN05IXoqbiVAvMfQog2AOXlgS59BeJxsvyDvaz89QgSXzfmkQP5c2gypBx07VcdYuDXHcxTWHMvh67aOdLn0tKjtteqoT1vlVQ5DFAUC0LeYfZZGt7DuKQx0IxmAI7dv4/Sd3Zo/j+il2lijKRZJXKTywMqiexJ3KKJedKugHi7RSXGKJgwT1e5gWYVywbD6qCvwz9+0gwvFrk5/IbVdjetFdydaBMqvjdonxraWFkU7ejm1EwlnAFUGyg0qmp3iCXvD9skIzkHVpLFjh7ftpRXABxLoiu41g==
-
Authentication-results:
kipro-pcb.com; dkim=none (message not signed) header.d=none;kipro-pcb.com; dmarc=none action=none header.from=ua.pt;
-
Cc:
"kicad-developers@xxxxxxxxxxxxxxxxxxx" <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAFdeG-rfV3zhs8Wsq9Gs7qsR-9dJ-NpYi1hK7AzsTV3cTWG0YQ@mail.gmail.com>
-
Thread-index:
AQHWhHT2A01zKmS690SdDzUk1dzTxqlb51SAgAAB78yAAAs2AIAAJ7rl
-
Thread-topic:
[Kicad-developers] D_PAD contributing to solder mask
Thanks for the clarifications!
________________________________________
From: Seth Hillbrand <seth@xxxxxxxxxxxxx>
Sent: 06 September 2020 19:51
To: Mário Luzeiro
Cc: Jeff Young; kicad-developers@xxxxxxxxxxxxxxxxxxx
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 <mrluzeiro@xxxxx<mailto:mrluzeiro@xxxxx>> wrote:
I was using IsPadOnLayer ..
What should be the differences for use IsPadOnLayer vs IsOnLayer ?
________________________________________
From: Jeff Young <jeff@xxxxxxxxx<mailto:jeff@xxxxxxxxx>>
Sent: 06 September 2020 19:04
To: Mário Luzeiro
Cc: kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
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 <mrluzeiro@xxxxx<mailto:mrluzeiro@xxxxx><mailto:mrluzeiro@xxxxx<mailto:mrluzeiro@xxxxx>>> 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 : kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx><mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
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/> info@xxxxxxxxxxxxx<mailto:info@xxxxxxxxxxxxx>
References