(SOLVED) Draft error in 28193?

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
thomas-neemann
Veteran
Posts: 11917
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

(SOLVED) Draft error in 28193?

Post by thomas-neemann »

if I am in 28193 e.g. draw a 10 mm line, it is 1000 mm long. Can anybody confirm this?
(I have deleted all known configuration files)
draft-error.FCStd
(4.43 KiB) Downloaded 64 times
https://www.youtube.com/watch?v=53Y331AvdTI

phpBB [video]



OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.28193 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 9c16923)
Hash: 9c1692336740c3bc7fa0c4d430ad5ceea223384f
Python 3.9.10, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
Last edited by thomas-neemann on Sat Oct 01, 2022 3:52 pm, edited 2 times in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Syres
Veteran
Posts: 2899
Joined: Thu Aug 09, 2018 11:14 am

Re: Draft error in 28193?

Post by Syres »

Works correctly for me but.. slightly concerned why my Locale no longer states English/United Kingdom (en_GB) as it did on Git Rev 27319

Code: Select all

OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.28193 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 9c16923)
Hash: 9c1692336740c3bc7fa0c4d430ad5ceea223384f
Python 3.9.10, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods: 
  * fasteners 0.3.38
  * Silk 244935936.0.0
  * Plot
  * CfdOF 1.11.6
  * BIM 2021.12.0
  * FeedsAndSpeeds 0.4.0
  * Curves 0.3.0
  * fcgear 1.0.0
  * ThreadProfile 1.81.0
  * A2plus 0.4.54b
  * sheetmetal 0.2.49


OS: Linux Mint 19.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.27319 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 67706b1)
Hash: 67706b14df32b91b948952ea2c9350948ba4d4db
Python version: 3.9.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
User avatar
ragohix769
Posts: 568
Joined: Sat Jul 18, 2020 7:04 am
Location: Rome - Italy

Re: Draft error in 28193?

Post by ragohix769 »

I confirm!
Very strange indeed. To me draft creates a 10.000 m rarther then 10 mm, as in your video. It appear like if he don't understand the unit (mm => m).

Code: Select all

OS: Ubuntu 20.04.4 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: d355b9d9e2f8365a16ed5874b35ffb8a163b19a4
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, OCC 7.5.2
Locale: C/Default (C)
Installed mods: 
  * BIM
After #ElonMuskBuyTwitter I'm no more on Twitter, that's really enough :-(
=> Now you can find me here on #Mastodon: https://mastodon.uno/@opensoul - I hope more people do the same :-)
User avatar
thomas-neemann
Veteran
Posts: 11917
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft error in 28193?

Post by thomas-neemann »

thanks for testing


it's the same for me on windows
w10.png
w10.png (32.66 KiB) Viewed 2156 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft error in 28193?

Post by Roy_043 »

This is an undesirable side-effect of the new handling of the decimal separator.
https://forum.freecadweb.org/viewtopic.php?f=3&t=67344

If the FreeCAD interface language is German (or any other "comma separator language" I suppose) you can fix the problem by checking the new "Use selected language number format" preference.
See Preferences_Editor#General.

Not sure how to solve this if the interface language is English.
User avatar
thomas-neemann
Veteran
Posts: 11917
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft error in 28193?

Post by thomas-neemann »

Roy_043 wrote: Fri Mar 25, 2022 9:31 am This is an undesirable side-effect of the new handling of the decimal separator.
...

Thanks for the tip, I'll test it
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Draft error in 28193?

Post by openBrain »

Roy_043 wrote: Fri Mar 25, 2022 9:31 am If the FreeCAD interface language is German (or any other "comma separator language" I suppose)
Nope. Locales with comma as decimal separator and period as thousand separator (AFAIK).
you can fix the problem by checking the new "Use selected language number format" preference.
Maybe fix. :) Please test and report.
User avatar
thomas-neemann
Veteran
Posts: 11917
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft error in 28193?

Post by thomas-neemann »

openBrain wrote: Fri Mar 25, 2022 9:47 am ...
you can fix the problem by checking the new "Use selected language number format" preference.
...
Thanks for the tip, I'll test it
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Draft error in 28193?

Post by openBrain »

If one having the problem is able to compile, you can test https://github.com/FreeCAD/FreeCAD/pull/6640 to see if it fixes issue. ;)
User avatar
pathfinder
Posts: 315
Joined: Mon Oct 04, 2021 10:27 am

Re: Draft error in 28193?

Post by pathfinder »

Roy_043 wrote: Fri Mar 25, 2022 9:31 am This is an undesirable side-effect of the new handling of the decimal separator.
https://forum.freecadweb.org/viewtopic.php?f=3&t=67344

If the FreeCAD interface language is German (or any other "comma separator language" I suppose) you can fix the problem by checking the new "Use selected language number format" preference.
See Preferences_Editor#General.

Not sure how to solve this if the interface language is English.
It'll work if you change the language, but I reeeeeaaaaally don't want to do this; it makes searching for solutions harder, because I first have to check for the correct English phrases.

Also, if I try to check "English" and "Use selected language number format", it seems to clash with my system settings and leads to all kinds of unwanted behavior:

In Sketcher, commas get ignored.

In Path, periods get ignored, which, among other things, leads to defaults being 100.00 mm instead of 1.00 mm at first opening. And if I open the dialog again, all my settings are off again, because on top of that, commas will be automatically changed to periods.
Post Reply