← All ideas
  • Published 9 May 2020

Decimal values input

In different language keyboard layouts Same keyboard button remains dot (.) or comma (,), some programs uses comma as delimiter, so constant repetitive switching to Blender and back causes inconvenience.

It would be nice to add the ability to interpret the input value to a floating point value

  • to make floating point value fields in Blender to read decimal values entered below 1.0 (starting from zero) without point input. (for float fields only)

For instance,

read 02 input as 0.2

002 as 0.02

00025 as 0.0025

  • read comma-delimited input as dot as well, for instance

read 45,006 input as 45.006 for a direct input value, or pasted from a buffer.

90%

Development Status: Open

Upvote 9 Downvote 1
1D_Inc
9 May 2020

9 Comments

bestelix

As a temporary solution I can recommend Authotkey input formating. autohotkey.com/

1
IIIFGIII

I already asked for auto dot after 0 and get 100% disagree IMO for no reasons... We really never use 02 002 numbers. If first go 0 number then it always go " . " before next numbers.

1
1D_Inc Author

* @IIIFGIII * Yes, it will be handy. A nice explanation by the way)

Vyach

For example, I use input «.02» to have «0.02» So for me «02» is the same as «0.02»

1D_Inc Author

* @ Vyacheslav * I think number of zeroes matters)

bestelix

For keyboard input I use ".002", without a 0 in front. Of course pasting that kind of value from al table for example would require a simple formatting step outside blender.

1D_Inc Author

* @Ge Ro * the problem is that dot is language-dependent, so you have to switch keyboard layout to use it.

bestelix

* @Paul Kotelevets * Maybe it's something in the daily builds I use but when I switch to my romanian kb, the numpad "." is replaced normaly with "," except in blender's numeric fields where is still interpreted as "."

1D_Inc Author

* @Ge Ro * it turns to a problem when you are using different systems with official comma delimiter, repetitively switching to Blender, and there is no numpad block on a keyboard.

(currently only "num." input translates comma input to a dot. Main keyboard comma key and buffer input are not supported. I’m not sure what kind of logic was followed during keyboards development, when a comma and a dot were placed on the same buttons for different languages)