units displayed in sketcher

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
wis
Posts: 2
Joined: Sat Oct 23, 2021 3:57 pm

units displayed in sketcher

Post by wis »

I set units to "US customary" in preferences. In Sketcher, the constraints seem to be displayed in fractions of 25.4 inches. For example, a constraint entered (and displayed in the dialog box) as six inches shows on the display as: 023622 ".

Do I have to set some other switch to get the constraint displayed properly? They show correctly when I'm working in metric.

Info from Help->About:

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: units displayed in sketcher

Post by GeneFC »

There is nothing "customary" about "US customary." It is an obsolete system that has not been seriously used for a long time.

If you want to work in inch-based units switch to Imperial decimal. Sometimes Building units are more convenient for those working with architecture.

Gene
wis
Posts: 2
Joined: Sat Oct 23, 2021 3:57 pm

Re: units displayed in sketcher

Post by wis »

The problem manifests when using a spreadsheet value in the constraint. Entering ' 6" ' directly in the constraint dialog gives correct display.

With a spreadsheet value of 6 aliased to "hgt", for example, a constraint specified as "<<Spreadsheet>>.hgt" is displayed as "0.23622" (or as noted previously), 6/25.4), even though the displayed value after "OK" shows ' 6.00000 " '.

[img]C:\Users\wis1\Desktop\sketcher_constraint_issue.png[/img]
Post Reply