kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44492
Re: Pad SHAPE, SH_RECT vs SH_SIMPLE
-
To:
Seth Hillbrand <seth@xxxxxxxxxxxxx>
-
From:
Mário Luzeiro <mrluzeiro@xxxxx>
-
Date:
Mon, 7 Sep 2020 07:41:28 +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=2UdoTUm7vUzDoWzitKq6EFNIEGc0+QDBm+S9FZ1eVtw=; b=oLLyrI9ZwGF6EHSXVX0uLPW+PquhJ93Qe+ZZV0Hh4dZxROiWgSaafJiuB0UBxQLdJfLVbgi7fnAjgNVD9EPYCHj+fXUwuvmTSD3VyONHuHFBUDUUduRbXt1KPNmaiV4wvU4ZPAwvDFrsKFFJhYM/aUNJOFGKkfVV38xVvzG4n1eCKylc39cj+W/cObZsYqeWxz82jq4JBtxIO0aICrBX8UZ6NaHUI4EFCZ9qaK6+Un4HEd0fBpmZNiuKnEZC44cJw92FMOjvQ9XOmOK3TE2kW3xcUOiwdaO0vOFSzqAt9yydZezLDDHx7FCkCWW8sLPTb0JuicrPGkbaS6Od0xmASA==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E0ovFP+HjY9RPEX5NXspkMNHVIoRF5P34PYHCXWj3IaN6P3LF2igBfUsUHO2cEM/boVN3e3BHOB74TUBEi/GRaBPA/Oyfa3rB/EYl0Vxy36dmO9jHAEtmLtOoujS5Y6x9hUBpYIl960yjaJEx9OrHjeUDBNmrlEc2nd0ZA8rWIlKpWpUWaonCcGbGiM8ouAdxeuu9GccktQojJslzgW5CoQcQdkwBGquQwTCQUY/EqZ53o/6m4L1AdAKWeXwI5hP184yt4GEViSFei09waehZd1ClT197fkZwv59SE/PIXMC5E9hzJkKZsMoirvghaiEiqhWnmxZqrz9//82URohsg==
-
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-q8OTW+UEsv6t4tA_ZTQ3L_LOzu35jzpaoq3MpR=xXo+A@mail.gmail.com>
-
Thread-index:
AQHWhJ+gbdPnleAk5kWjP/rCw5WO2alcQyKAgACGyx8=
-
Thread-topic:
[Kicad-developers] Pad SHAPE, SH_RECT vs SH_SIMPLE
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>
Follow ups
References