← Back to team overview

kicad-developers team mailing list archive

Re: Circle dimensions

 

On Tue, 12 Apr 2016 05:08:58 +1200
Simon Wells <swel024@xxxxxxxxx> wrote:

> Currently a Circle is dimensioned with
> 
> - Center X
> - Center Y
> - Point on Circle X
> - Point on Circle Y
> 
> is there a reason for doing it this way as having just Center and
> Radius would be simpler for entry.
> 
> Currently i believe the file format internally uses center&Point but
> the dialog could convert between them easily enough. the only possible
> reason that i can think of is for square pins in round holes, but i
> believe its not that simple in most cases.

If you want some inspiration, the Eagle footprint reading plugin
already contains some conversion code I added, because Eagle uses this
format already.

-- 
Paul "LeoNerd" Evans

leonerd@xxxxxxxxxxxxxx
http://www.leonerd.org.uk/  |  https://metacpan.org/author/PEVANS

Attachment: pgpESOksH2TCo.pgp
Description: OpenPGP digital signature


References