kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26224
Re: [PATCH][RFC] Footprint wizards
I'm not 100% that I understand the issue, but here is my proposed fix:
Allow "native" separators in KiCad (comma or period) and when the Python
script converts these string values to numbers it will automatically turn a
comma into a period.
On Thu, Sep 15, 2016 at 4:58 PM, jp charras <jp.charras@xxxxxxxxxx> wrote:
>
> This is a language setting.
> It could be no so easy to test, if the system language uses the same
> separator as the "C" language
The easy fix is do not use the wxWidgets floating point validator (no
> validator).
> The user must enter fp numbers using the "C" locale separator (the point).
> The best fix is more complicated, and imply :
> - Use the selected language (usually the system language, but not always)
> fp separator to display fp
> number in dialog (this is not currently the case: currently this is the
> "C" locale separator, used
> by the Python script)
> - In countries which use an other separator (a comma), allow both the
> current locale separator *and*
> the "C" locale separator.
>
> This issue is well known in Kicad.
Follow ups
References