Std UnitsCalculator: Difference between revisions

From FreeCAD Documentation
m (→)
No edit summary
(19 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu{{#translation:}}}}
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand|Name=Std_UnitsCalculator|MenuLocation=Tools → Unit calculator...|Workbenches=All|SeeAlso=...}}
|Name=Std_UnitsCalculator
|MenuLocation={{StdMenu|Tools}} → Units calculator...
|Workbenches=All
|SeeAlso=[[Units]]
}}

== Description == <!--T:3-->


<!--T:2-->
<!--T:2-->
Opens the unit calculator dialog, which allow to transform Quantities into different units.
The units calculator dialog allows to calculate quantities to different units.

==== Synopsis ==== <!--T:3-->
The first field defines a value and a corresponding unit (what kind of units get recognized you can see in the [[Quantity]] description). In the second field you specify the resulting unit. The third field present the result. Pressing return in field one or two will add the result of the calculation to the log area for later usage.


<!--T:4-->
<!--T:4-->
[[File:Units_Calculator_it.png|none|frame|The units calculator dialog]]
If one of the fields get red in the background means an error occourd. Either the parser gets and error in the unit expression or the source and target unit do not fit. Hovering over an red input field shows you the error string.

==Usage== <!--T:16-->

==Options== <!--T:17-->

<!--T:10-->
The first field defines a value and a corresponding unit. If you enter an unknown unit, you get a ''syntax error''. Units with exponents can be inserted in the form '''m^3'''. See the [[Expressions#Units]] page for a list of all known units.

<!--T:11-->
In the second field you specify the resulting unit. If the unit type of the second filed does not match the unit type of the first field, you get a ''unit mismatch''. For example if you try to calculate "12 g" to "nm", because a mass cannot be expressed as a length.

<!--T:18-->
The third field shows the result.


<!--T:5-->
<!--T:5-->
The Copy button copies the result into the Clipboard, so you can use it in any other dialog of FreeCAD.
Pressing return in field one or two will add the result of the calculation to the log area for later usage. The {{Button|Copy}} button copies the result into the clipboard, so you can use it in another dialog of FreeCAD.


<!--T:6-->
<!--T:6-->
In the field ''Quantity'' you can set a value. Its unit will be the [https://en.wikipedia.org/wiki/International_System_of_Units#Derived_units base unit] of the selected ''Unit category''. For example a value ''75'' and the unit category "Frequency" results in "75.00 Hz". The number of decimals for the ''Quantity'' can be set in the ''Decimals'' field. In the combo box ''Unit system'' you can select a unit system. The ''Preference system'' is the unit system set in the [[Preferences_Editor#Units|general preferences]]. For example "75.00 Pa" with the "Standard" system results to "0.011 psi" with the "Imperial decimal" system.
The dialog is a non-modal dialog and can stay open as long as you want. It do not block the rest of FreeCAD.


==== Dialog ==== <!--T:7-->
<!--T:7-->
The dialog can stay open as long as you want and does not block the rest of FreeCAD
[[File:Units_Calculator_it.png]]


<!--T:8-->
The Dialog with the three fields and the log area.
{{clear}}
</translate>
</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Revision as of 21:47, 23 March 2020

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Std_UnitsCalculator

Menu location
Tools → Units calculator...
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Units

Description

The units calculator dialog allows to calculate quantities to different units.

The units calculator dialog

Usage

Options

The first field defines a value and a corresponding unit. If you enter an unknown unit, you get a syntax error. Units with exponents can be inserted in the form m^3. See the Expressions#Units page for a list of all known units.

In the second field you specify the resulting unit. If the unit type of the second filed does not match the unit type of the first field, you get a unit mismatch. For example if you try to calculate "12 g" to "nm", because a mass cannot be expressed as a length.

The third field shows the result.

Pressing return in field one or two will add the result of the calculation to the log area for later usage. The Copy button copies the result into the clipboard, so you can use it in another dialog of FreeCAD.

In the field Quantity you can set a value. Its unit will be the base unit of the selected Unit category. For example a value 75 and the unit category "Frequency" results in "75.00 Hz". The number of decimals for the Quantity can be set in the Decimals field. In the combo box Unit system you can select a unit system. The Preference system is the unit system set in the general preferences. For example "75.00 Pa" with the "Standard" system results to "0.011 psi" with the "Imperial decimal" system.

The dialog can stay open as long as you want and does not block the rest of FreeCAD