delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20161025; | |
h=mime-version:from:date:message-id:subject:to:cc; | |
bh=DMAGDGzfFXNOuyK5/Eaiq9/UAvScYFgqxPB2SKhhIcM=; | |
b=qnGZ0THdQgK/ftROCusMaPgKVv9nY6jGaYyhhhBVN1btdZoQI6fWf6teQg1s44o9h2 | |
HeK7xT4BEA1/5OV7g+4e5p16UXvA1E7W8qF+tN+abIq8RC4e9mN+rmtB6aYSWHqLzByg | |
vIQ9NM7jKNblnMYTK0QpcrliMmE0Ypa4fvuVq5kwVue7Gn6Ghs30lHV8E/axOhJjVW7I | |
KpJhAzGwvsS7Sw0nQpQ/XLMU24fg18nsaCx9kyjy6PB6Nb1Fxg9MGu2anitOlqmqyaBU | |
heTeAsc9siS2KTo4hdaAe8JM6Q9N3TIhRYLBOhwfiEubwMKYRpKej/IPa4qndtp9P+nN | |
8ghQ== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; | |
bh=DMAGDGzfFXNOuyK5/Eaiq9/UAvScYFgqxPB2SKhhIcM=; | |
b=f4m9hjjXf3BvO7ahVXujru5nw7cUwNA4SP6/N1/B/hupPN6jtY0JTUwZ2ACFWypRj8 | |
ef8UCpdnhGZXGK4YDP1qv31pdOGD5jaPMzuD5oU8qH1hDPozw3kaEbERRY6BpjEZbgJk | |
KrhrRTjoT3zt9sizCRVp/iiRutg35t6iwGBJpJVC+yot4KVKoYWZVhSYEZ4z/6AIzpJ/ | |
tMKt9yINrVf5ioSUw6oKCeSgWs3df4CL09WQt6DJbO6bRkHtWPlYg2jDXGWMW+KnolcY | |
eEpxaw2+ph/odNEGJb5HEpx1A6RRYZl7c+iNKO1lr/AefdEc9jujzw/EjFvyY2GI138x | |
Txww== | |
X-Gm-Message-State: | AOUpUlEzamEeD3W99fCtfGIn1tVI3xk6K3vA9QnszFCl9skVZy99o0w4 |
qVquenO+a0eM0u5IcLRA2akZwNlu4WmoywmpvOQ= | |
X-Google-Smtp-Source: | AAOMgpcbSGuCGdhkB3yfKT8M4ULhdjIiRlcPmbaWyZCaa67HZFCeqod553Pj6lBBRG/5/Ag/MvxCSA0XeVjG2G+o9x4= |
X-Received: | by 2002:aca:dc55:: with SMTP id t82-v6mr14234484oig.159.1531642053796; |
Sun, 15 Jul 2018 01:07:33 -0700 (PDT) | |
MIME-Version: | 1.0 |
From: | "Luis de Arquer (ldearquer AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Date: | Sun, 15 Jul 2018 10:07:33 +0200 |
Message-ID: | <CAGqyy=aozyALZuCysebmNea4=2+FVOcSdEs2hnaJ=kusGFQRSQ@mail.gmail.com> |
Subject: | [geda-user] Re: DRC clearance bugs [PATCH 1/2] |
To: | Chad Parker <parker DOT charles AT gmail DOT com> |
Cc: | geda-user <geda-user AT delorie DOT com> |
Reply-To: | geda-user AT delorie DOT com |
--0000000000008a45940571053432 Content-Type: text/plain; charset="UTF-8" Hi all, Attached my patch proposal for bug #1 in DRC clearance: 1. The bounding box used for checking the overlap is the line's regular bounding box. This bounding box is built with [line thickness + line clearance]. This is wrong. It should be made with [line thickness + *DRC clearance*]. The consequence is missed errors in DRC. It can be applied to current master --0000000000008a45940571053432 Content-Type: text/x-patch; charset="US-ASCII"; name="drc_bug1.patch" Content-Disposition: attachment; filename="drc_bug1.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: file0 ZGlmZiAtLWdpdCBhL3NyYy9maW5kLmMgYi9zcmMvZmluZC5jCi0tLSBhL3NyYy9maW5kLmMKKysr IGIvc3JjL2ZpbmQuYwpAQCAtMzc4MSwxMSArMzgwMywyNCBAQCBEUkNBbGwgKHZvaWQpCiAgICAg ICBDT1BQRVJMSU5FX0xPT1AgKFBDQi0+RGF0YSk7CiAgICAgICB7CiAgICAgICAgIC8qIGNoZWNr IGxpbmUgY2xlYXJhbmNlcyBpbiBwb2x5Z29ucyAqLworICAgICAgICBpbnQgb2xkX2NsZWFyYW5j ZSA9IGxpbmUtPkNsZWFyYW5jZTsKKyAgICAgICAgLyogQ3JlYXRlIGEgYm91bmRpbmcgYm94IHdp dGggRFJDIGNsZWFyYW5jZSAqLworICAgICAgICBsaW5lLT5DbGVhcmFuY2UgPSAyKlBDQi0+Qmxv YXQ7CisgICAgICAgIFNldExpbmVCb3VuZGluZ0JveChsaW5lKTsKKyAgICAgICAgbGluZS0+Q2xl YXJhbmNlID0gb2xkX2NsZWFyYW5jZTsKICAgICAgICAgaWYgKFBsb3dzUG9seWdvbiAoUENCLT5E YXRhLCBMSU5FX1RZUEUsIGxheWVyLCBsaW5lLCBkcmNfY2FsbGJhY2ssICZpbmZvKSkKICAgICAg ICAgICB7CiAgICAgICAgICAgICBJc0JhZCA9IHRydWU7CisgICAgICAgICAgICAvKiBSZWNvdmVy IG9sZCBib3VuZGluZyBib3ggKi8KKyAgICAgICAgICAgIFNldExpbmVCb3VuZGluZ0JveChsaW5l KTsKICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgIH0KKyAgICAgICAgZWxzZQorICAgICAg ICAgIHsKKyAgICAgICAgICAgIC8qIFJlY292ZXIgb2xkIGJvdW5kaW5nIGJveCAqLworICAgICAg ICAgICAgU2V0TGluZUJvdW5kaW5nQm94KGxpbmUpOworICAgICAgICAgIH0KKwogICAgICAgICBp ZiAobGluZS0+VGhpY2tuZXNzIDwgUENCLT5taW5XaWQpCiAgICAgICAgICAgewogICAgICAgICAg ICAgQWRkT2JqZWN0VG9GbGFnVW5kb0xpc3QgKExJTkVfVFlQRSwgbGF5ZXIsIGxpbmUsIGxpbmUp Owo= --0000000000008a45940571053432--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |