kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32403
Re: All kinds of glitches because polygons don't have an origin. Also: Outline ?
-
To:
<kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Maciej Sumiński <maciej.suminski@xxxxxxx>
-
Date:
Wed, 13 Dec 2017 17:12:33 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.50) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
In-reply-to:
<CAEQqtJzrBfjx6i=mHcah6LFo0Wf-a2YC+dmuA3khG8Jb0_6A+A@mail.gmail.com>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
Henner,
Thank you for the message and your findings, I am sure they will be
useful for fixing the problem. I turned this into a bug report, so it is
not forgotten [1].
Cheers,
Orson
1. https://bugs.launchpad.net/kicad/+bug/1738032
On 11/21/2017 06:26 AM, Henner Zeller wrote:
> Hi,
> I am playing with polygons currently and notice that they only really
> can be created, but not moved or copied.
>
> A move (m) creates a phantom polygon on the screen that is offset from
> the polygon the same distance as the original polygon from the origin.
> A similar glitch happens when attempting to copy a polygon.
>
> This indicates that the polygon does not really have a position that
> is rooted in the e.g. top-left point, but that its Position is always
> kept at (0,0).
> This is confirmed when reading the board with the Python API and
> printing GetPosition().
>
> The dialog for the polygon (edit dialog) also shows that all positions
> Start (x,y) and End (x,y) are zero.
>
> I think the whole confusion comes because the original idea of a draw
> segment has the concept of a line which has a clear start/endpoint. So
> maybe some SetStart() needs to be done whenever a polygon is moved ?
>
> I wonder if the concept of Polygons and Zones can be merged: both of
> them allow to fill an area in the layer and have the same editing
> controls with the control points (and zones work).
>
> -h
>
> _______________________________________________
> 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
>
Attachment:
signature.asc
Description: OpenPGP digital signature
References