kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #44159
Re: Display origin transforms for DRC reports?
-
To:
"Reece R. Pollack" <reece@xxxxxxx>, KiCad Developers <kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Tomasz Wlostowski <tomasz.wlostowski@xxxxxxx>
-
Date:
Fri, 10 Jul 2020 01:09:01 +0200
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass (sender ip is 188.184.36.50) smtp.rcpttodomain=lists.launchpad.net smtp.mailfrom=cern.ch; dmarc=bestguesspass action=none header.from=cern.ch; dkim=none (message not signed); 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=S/j7BVyno0LVdbyvBCzuf80/D73nZ9dUZGFFtE3xAc0=; b=cYnPbx7lrPLtJr4EvUG1trBQGmU0MGktqmPRs7pN1NaJLrRhPUVHFc+WFoxnnwEUgXi+FHESqkCo7c2pSR3NsoTDEtqJx8TxJxZ0wIywYA5SvvPHBbKIPwZtWXaOiq/diY3e2mLECu6TDwfBvSk9Hn7D/EmRQeWFnW0ruF5dr8QzAGA3HfZf/zIHiRUjQZQf4EZjEuIuDv05m432q/+I+YGfQRuKbO/9yseftIdE7n0OqIUfGQ9SeJey3hGDKSdS947IaZemdq8SraH6LjOqCVia7xg79WFIgX4DFdPK4SwziMVAw33/TcQlHvwxS8l3EWvJY1X/+MoFKGrNpWu9yA==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oPTcLQ95KrVxihGtCYBWcEz1e8RlYyaPnQxABVkLnnzFSLg+B6MjzxLoZKxdhxw0DmZ/56y5vvf2Usybkg+Mf8ca6mBKpSXKNJ7ijzb1/RIILmsIWUPBtrp1P4pumnHdzdnCOAPdbhX7BfHgvIGRAay1UxOVXwmpdu8R3AmRjbMqsXVFlm/qP3qSN8tn//yUwq0mtfHDDMkO0+UVxnfOt2O6O5D9etWuuNZUJDawRL9s28Sjwji/WewYMM0numgKcrvd3F3qQ7hlIsWI5sgUmgSRaNBwilN2udmHQY8crjrMoQhOGsATdX5euuiaH3kQoIVle9fTXvaorSgukWoyIA==
-
In-reply-to:
<1f1fdde6-37c4-7c1c-376f-e497ce9f9a19@his.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
On 10/07/2020 00:58, Reece R. Pollack wrote:
> I'm looking at display origin transformations for DRC reports.
>
> With the 5.1.x branch Pcbnew, the DRC report dialog box message texts
> contained the Cartesian coordinates of each flagged item. It appears
> that the 5.99 branch no longer displays the coordinates of DRC items.
> However, the Cartesian coordinates are still listed in the report file.
> Unlike the display in a dialog box, this report is persistent and could
> be passed to someone using different display origin settings.
>
> 1. Should these coordinates be reported relative to the page origin, or
> transformed per the user-selected origin and axis directions?
> 2. If the coordinates are transformed, should the report include the
> user settings?
>
> -Reece
>
Reece,
I wouldn't introduce any changes to the current DRC code, we're
designing a new DRC engine for KiCad V6 and many things in DRC interface
will likely change.
IMHO the DRC coordinate transform belongs to the UI, not the DRC itself:
- the DRC engine generates an internal report with coordinates in board
coordinate space
- whatever displays the report to the user (i.e. the DRC dialog)
converts the board coordinates to UI coordinates.
- my 5 cents
Tom
Follow ups
References