kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #22192
Re: best way to add rounded rectangle functionality?
My guess is that users would expect to be able to edit it as a rectangle
after they drew it as a rectangle. Although I'm not opposed to using a
rectangle drawing helper.
On 12/23/2015 9:21 AM, Adam Wolf wrote:
> If we called it a "helper" or something, would it be reasonable to have
> it just create the lines and arcs at creation time and not keep them linked?
>
> Adam Wolf
>
> On Wed, Dec 23, 2015 at 8:00 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx
> <mailto:stambaughw@xxxxxxxxx>> wrote:
>
> 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
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > More help : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> 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
>
>
References