kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44495
Re: Pad SHAPE, SH_RECT vs SH_SIMPLE
-
To:
Jeff Young <jeff@xxxxxxxxx>
-
From:
Mário Luzeiro <mrluzeiro@xxxxx>
-
Date:
Mon, 7 Sep 2020 11:36:54 +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=d6pwV5i3dRb/rfycrgLJhKpefjeBHuYnkzKLB15LtlU=; b=Vzc3rW9DAysfwZGmZL2blJHVLUXwWIHvNNfGFm5dHGsmCVoqNp9J2ZZWS87LP8ySnRFn3fdRYcVbhrvHYWhQMqPE4Lm0jyimnrsgQd6RNgw5rByDn4xjYLB1g0r2qtwgeV03GLNJ+D716xia4cUA+gPjfO36aBX8NnVvPCwjt4T5daAayGvRND+HqqOKm4y8dp4QkABsAC+nZh5xOxElzK7SJ/KU8qeMm1GxpikdLIeZ8LTvVAYax84B0scnjG4+i6FtYTfR0+/CUla5KtjNUiG6dKKcX46UF5o2w1vIByZEKn6VGEkoip6qtKp/UG+kZHDRultFlcQc21KBcELv7Q==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SMT+Qs4zRzSZa7Wg77vtZMoaXIlmfkqpGtT08eT2gPT6570zt8EkJZnybLi8RpyRgBNNdVVdOQdClEe8dWqKiaveyFMRnLnNZWYHkm6JBVrmBHWFgAtkA9GadQSUIbhzQxGUxHIn+KJO6cqCRb2iGBrqs8A38H2qFeyuUXg/p7qXlS9A02ReVCU6oEejHGo8EgcXeH8uhlmT/M2fp7r/fihzEflgUEeuOrjD8XroP0AOIzJLH68AF46daThnC0WPY7Vg417RwmdKuh3VhdOJ2x2zuLiqxkf3ZN8zWZa1i6bIAgP+P294QgYGJNiiAEfbZ3OKNrBj18oxS6La0qXKSw==
-
Authentication-results:
rokeby.ie; dkim=none (message not signed) header.d=none;rokeby.ie; dmarc=none action=none header.from=ua.pt;
-
Cc:
"kicad-developers@xxxxxxxxxxxxxxxxxxx" <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<DBAPR02MB6277251325FB37C708B1DA52A9280@DBAPR02MB6277.eurprd02.prod.outlook.com>
-
Thread-index:
AQHWhJ+gbdPnleAk5kWjP/rCw5WO2alcQyKAgACGyx+AABRRgIAAKqkbgAAEGdU=
-
Thread-topic:
[Kicad-developers] Pad SHAPE, SH_RECT vs SH_SIMPLE
but.. don't worry more about it :)
________________________________________
From: Kicad-developers <kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx> on behalf of Mário Luzeiro <mrluzeiro@xxxxx>
Sent: 07 September 2020 12:23
To: Jeff Young
Cc: kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] Pad SHAPE, SH_RECT vs SH_SIMPLE
some are 0 (others 90 270 180 ) (using function aPad->GetOrientationDegrees() )
0,000000 (43630000, 13034000) (44530000, 13034000) (44530000, 12134000) (43630000, 12134000)
________________________________________
From: Jeff Young <jeff@xxxxxxxxx>
Sent: 07 September 2020 09:49
To: Mário Luzeiro
Cc: Seth Hillbrand; kicad-developers@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Kicad-developers] Pad SHAPE, SH_RECT vs SH_SIMPLE
Check the value of m_orient. It sounds like it’s not exactly 0. (Or 900, 1800 or 2700.)
> On 7 Sep 2020, at 08:41, Mário Luzeiro <mrluzeiro@xxxxx> wrote:
>
> Here are the debug of some cases that has 4 points SH_SIMPLE
> (51849001, 11500000) (51849000, 12399999) (52798999, 12400000) (52799000, 11500001)
> It looks the points are differ 1 unit
>
> These looks to be some strange 1 unit pad:
> (51849001, 13000000) (51849000, 13899999) (52798999, 13900000) (52799000, 13000001)
> (54364001, 11247000) (54364000, 12096999) (55363999, 12097000) (55364000, 11247001)
>
> Format is (X1, Y1) (X2, Y2) ...
>
> not sure if its related but this was an old project that was converted/updated to the new format.
>
> Mario
>
> ________________________________________
> From: Seth Hillbrand <seth@xxxxxxxxxxxxx>
> Sent: 07 September 2020 00:33
> To: Mário Luzeiro
> Cc: kicad-developers@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Kicad-developers] Pad SHAPE, SH_RECT vs SH_SIMPLE
>
> That might happen if the shape cache is dirty. You can call 'pad->IsDirty()' to check.
>
> One related question: if you get the SH_SIMPLE and check the coordinates, do they form a rectangle with angle 0?
>
> -Seth
>
> On Sun, Sep 6, 2020 at 3:52 PM Mário Luzeiro <mrluzeiro@xxxxx<mailto:mrluzeiro@xxxxx>> wrote:
> Hi all,
>
> I noticed that (if I looked correctly) that there are some Pads, that are marked as Rectangles but its shape Type is set to be SH_SIMPLE (both angles are 0)
> So I got some rectangles that are SH_RECT and other rectangles are SH_SIMPLE
>
> Could some one clarify this differences and what originate it?
>
> Mario
> _______________________________________________
> 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>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : 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
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp
References
-
Pad SHAPE, SH_RECT vs SH_SIMPLE
From: Mário Luzeiro, 2020-09-06
-
Re: Pad SHAPE, SH_RECT vs SH_SIMPLE
From: Seth Hillbrand, 2020-09-06
-
Re: Pad SHAPE, SH_RECT vs SH_SIMPLE
From: Mário Luzeiro, 2020-09-07
-
Re: Pad SHAPE, SH_RECT vs SH_SIMPLE
From: Jeff Young, 2020-09-07
-
Re: Pad SHAPE, SH_RECT vs SH_SIMPLE
From: Mário Luzeiro, 2020-09-07