New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Unit system with dimensions displayed in meters #7395
Comments
Looking at the code MKS is supposed to display values bellow 100mm in mm and values above that but bellow 10000000mm are displayed in m and so on for even higher or lower values FreeCAD/src/Base/UnitsSchemaMKS.cpp Lines 57 to 64 in a8cb4e7
These are sane ranges IMO, if there is somewhere where mm are being used regardless of these rules I think that would be a bug but we would need examples of that. |
@FEA-eng respond please, where is there an issue where mm are displayed with MKS? if no example is given this issue should be closed IMO, or probably closed either way and instead make an issue for the field that is not respecting the unit schema. |
@adrianinsaval I would expect the (m/kg/s/degree) unit system to display meters at all times, not only when the dimensions are close to 1 m. That's how it's done in other CAD software (like SolidWorks). Seeing mm displayed everywhere (for example the default 10 mm depth of extrusion) with MKS system enabled is really confusing. Maybe this request should be changed to something like "make the MKS system display meters regardless of the dimension value" instead. |
I see no reason why you would want to see 10mm as 0.01m, "other software does it" is not a very good argument (although it can be valid for some stuff). Can you give me an example of a situation where forcing m for every value is advantageous? |
Small dimensions displayed in meters may seem inconvenient but it's mainly about consistency (and clarity). Especially if you are going to show the dimensions to someone, then the units should be consistent according to the rules of engineering. I'm not a civil engineer but guys from that field would likely agree with me that the MKS system should show meters at all times. |
the problem with making MKS show in meters for values bellow 0.1m is that our default number of decimals is just 2 IIRC, meaning it'll get rounded a lot. Maybe we can make this range dependent on the configured number of decimals |
In freecad version 0.21 rc the measurements below ten meters show in millimeters. Could be shown in millimeters measured smaller than 0.1m |
now that #9583 is merged this might be more feasible |
that would be when using the Standard unit system, MKS lowers this to values bellow 100mm as explained above. |
- use correct unit for velocity - typo in include guard
- use correct unit for velocity - typo in include guard
- use correct unit for velocity - typo in include guard
I agree with @FEA-eng's point. It is less about precision, but about consistency and predictability. I was quite confused when I set units to be
After reading the full forum thread linked on the description, I understand that the |
@WandererFan what do you think of the above? Is it really worth having a separate meters only system? |
Is there an existing request for this?
Forums discussion
https://forum.freecadweb.org/viewtopic.php?f=8&t=71365
Subproject(s) affected?
Core
Idea description
The currently available MKS (m/kg/s/degree) unit system doesn't always result in dimensions being displayed in meters - millimeters are still used for values bellow 0.1m
For some applications (e.g. civil engineering) it would be useful to have a unit system that actually changes the display of all dimensions to meters.
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: