kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #10208
Re: Preliminary angle and distances sweep
On Tue, Apr 30, 2013 at 02:07:27PM -0400, Wayne Stambaugh wrote:
> This user would rather UI angles be in degrees not deci-degrees. I've
> been bit by this several times recently because I don't use arcs
> frequently and forget (insert old guy joke here) that I have to multiply
> angles by 10 when I enter them into arc edit dialog. It is always
> frustrating when you enter 45 into the dialog thinking you will get a 45
> degree arc and you end up with a 4.5 degree arc and I know that KiCad
> uses deci-degrees externally and internally. I wonder what the poor
> first time user must think. My guess is that most users think in degrees.
That's a blatantly good idea... however, as Dick like to say, it's on
the 'other side'. Also I really suck in doing UI code.
Probably the best time to add it would be when enabling arbitrary
angles, since it would have to handle a 'to double' conversion instead
of a 'to int' one. Otherwise, for the moment, it should be constrained
to only one decimal place and I think that would be wasted work.
About the comments around the code talking about internal usage of
degrees instead of decidegrees, would it be some advantage in doing so?
I don't think so...
--
Lorenzo Marcantonio
Logos Srl
References