kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22188
Re: best way to add rounded rectangle functionality?
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Wed, 23 Dec 2015 09:00:02 -0500
-
In-reply-to:
<CAJXA3hSjkAgLVYE57bUmSzej+B1gw540U1=r-BqiVQ8dErnQcg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
Adam,
The easiest solution would be to create a rectangle drawing tool in the
GAL canvas. We already support lines and arcs which should be adequate
for representing the rectangle in the board file. The only bad thing
about this approach is that there is no way of knowing that a given set
of lines and/or arcs was drawn as a rectangle. That would require a
change in the file format which would be a lot more involved. I suppose
you could do some math and logical testing to see if any group of lines
and/or arcs form a rectangle for editing but that could be rather tricky.
Wayne
On 12/21/2015 9:41 AM, Adam Wolf wrote:
> Hi folks,
>
> Let's say I wanted to add a rectangle drawer, or even a rounded
> rectangle drawer, to KiCad, and get it accepted.
>
> For me, this would be purely for Edges.
>
> Any ideas on how I'd best go about this?
>
> Adam Wolf
>
>
> _______________________________________________
> 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
>
Follow ups
References