Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Comma/Dot?

krisjanis_zarinskrisjanis_zarins Member Posts: 2
edited April 2015 in Product Feedback
Using a non US keyboard I have a issue with my NumPad. My old keyboard/my language settings has comma on the NumPad, not a dot. OnS does not recognize both witch really bugs me. Every single precise dimension must be typed using a dot witch is far away and disturbs my workflow. 

Could there be a fix for this? Otherwise you guys are doing a great job! I can imagine becoming a engineering freelancer when such software runing on GNU/Linux is available. Other packages are way too expensive to afford in my region. 
Tagged:

Answers

  • moengineeringmoengineering Member Posts: 23
    edited April 2015
    Hello @krisjanis_zarins

    you can change your windows settings to get the point and not the comma. I had the same issue in another CAD program, and my solution was to add the American Keyboard and so I can switch between the english and german keys.

    Here is an english description for windows. Don't know which Linux version you run, but the settings should be the same ;)


    best regards
    martin


    Edit: Screenshot added
  • krisjanis_zarinskrisjanis_zarins Member Posts: 2
    I agree @3dcad. If the software is intended for any device with a browser, maybe not even my own device, the user interface should be user friendly for any keyboard configuration. 
  • Sindre_AbrahamsenSindre_Abrahamsen Member Posts: 5 PRO
    In solidworks, both comma and dot would result in a decimal dimension. I think in programming, there is a difference, but when engineers specify dimensions, 20.5 mm would be equal to 20,5 mm.
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    In solidworks, both comma and dot would result in a decimal dimension. I think in programming, there is a difference, but when engineers specify dimensions, 20.5 mm would be equal to 20,5 mm.

    Sorry but that's not my experience.  In the UK a comma is simply a separator per thousands to aid visibility; a dot denotes a decimal point.
    So here:-
    1,000,000 = 1000000 = 1 000 000
    1,000 = 1000 (Not 1)
    1,000.1 (One thousand and one tenth)
    1,00 (Not valid as in the wrong place for delimiting a thousand and not a decimal point)

    So for me at least 20.5 is not equal to 20,5
    It's easy to see how a mars lander might miss by an order of magnitude!
    Cheers, Owen S.

     
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • Sindre_AbrahamsenSindre_Abrahamsen Member Posts: 5 PRO
    Onshape does not recognise the comma as a thousands separator. I would like to use my numpad for entering decimals, but the comma just throws off an error. 
  • Sindre_AbrahamsenSindre_Abrahamsen Member Posts: 5 PRO
    In the UK a comma is simply a separator per thousands to aid visibility; a dot denotes a decimal point.
    So here:-
    1,000,000 = 1000000 = 1 000 000 
    Totally off topic, but is it possible to use another notation for that? examples: 1e6, 1M, 1x10^6
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 3,186
    @Sindre_Abrahamsen - I believe the comma denoting decimals is used mostly in Europe and South America, everywhere else uses the decimal point. We have discussed allowing both, but the issue arises when writing equations in place of values. For example, an equation driven from an array that uses commas to separate values not decimals. It's complicated for sure.
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 3,186
    And yes, you can use 1e6
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    @NeilCooke  Similar issue here with some automation barcodes that had worked for years right up to the point they didn't.  Turned out we ha some new customer accounts with commas in the customer's name.  That didn't play nicely when encoded into a comma separated variable string. :s:(  Red faces that day.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,442 PRO
    I hate these comma, dot, etc. formats. I suffer with onshape everytime not being able to use numpad. Then again I could change the setting but then I have problems with other software. Same goes with erp vs windows settings timestamp can be 08:55:30 or 08.55.30 - calculation between the two obviously doesn't work..

    I did make a strong request for allowing dot and comma back in 2015 or so. Maybe a complete table for separators into user configurations is needed? Excel and google sheets works so why couldn't Onshape.

    I would use ',' for decimal and ';' as separator in arrays etc.. for computer they could be '§' and '&' or 'a' and 'b' .. don't make it complicated, they are only parameters that can be anything if you consider this when coding.
    //rami
  • bradley_saulnbradley_sauln Moderator, Onshape Employees, Developers Posts: 332
    I have found some untested but seemingly valid ways to remap a comma to a period on the keypad/numpad for our users that utilize the comma in place of a decimal point...

    Windows: https://superuser.com/questions/747250/dot-instead-of-comma-on-numerical-keyboard

    Mac: https://apple.stackexchange.com/questions/229509/apple-keyboard-remap-keypad-comma-to-dot

    I don't have any physical devices on-hand with a comma configuration to test these myself so if you bravely attempt one of these. Let us know about your experience.
    Engineer | Adventurer | Tinkerer
    Twitter: @bradleysauln


  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,442 PRO
    @bradley_sauln
    The problem is Onshape being the only software where I would like to have dot on numpad - for everything else I need it to be comma. Only solution would be browser extension to recognize onshape and make the swap - sounds like a big hassle with plenty of headache..
    //rami
  • Sindre_AbrahamsenSindre_Abrahamsen Member Posts: 5 PRO
    I have found some untested but seemingly valid ways to remap a comma to a period on the keypad/numpad for our users that utilize the comma in place of a decimal point...

    Mac: https://apple.stackexchange.com/questions/229509/apple-keyboard-remap-keypad-comma-to-dot

    Let us know about your experience.
    I tried this on my Mac, but it does not work. I suspect Apple changed this after Catalina upgrade which I run.
  • 3dcad3dcad Member, OS Professional, Mentor Posts: 2,442 PRO
    edited February 7
    Onshape is asking us to input text instead of number?
    It should allow anything as decimal separator what is set to be decimal separator in current system. Same goes for list separator.


    //rami
  • albjerrealbjerre Member Posts: 17 ✭✭✭
    @NeilCooke You could translate “European” inputs to “American” inputs on the fly when a user submits an input in an input field, so the code always operates internally with dots as decimal separator and commas as input separator. In Excel, we Europeans normally use semicolons as input separators instead of commas in formulas. So you could translate that on the fly as well.
Sign In or Register to comment.