Std UnitsCalculator: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
mNo edit summary
Line 1: Line 1:

<languages/>
<languages/>
{{UnfinishedDocu}}
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Std_UnitsCalculator
|Name=Std_UnitsCalculator
|MenuLocation={{StdMenu|[[Std Tools Menu|Tools]]}} → Units calculator...
|MenuLocation={{StdMenu|Tools}} → Units calculator...
|Workbenches=All
|Workbenches=All
|SeeAlso=[[Units]]
|SeeAlso=[[Units]]
Line 17: Line 17:
<!--T:4-->
<!--T:4-->
[[File:Units_Calculator_it.png|none|frame|The units calculator dialog]]
[[File:Units_Calculator_it.png|none|frame|The units calculator dialog]]

==Usage==

==Options==


<!--T:10-->
<!--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'''. [[Expressions#Units|Here]] is a list of all known units.
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-->
<!--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.<br> The third field shows the result.
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.


<!--T:5-->
<!--T:5-->
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.
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.
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.

==Usage== <!--T:12-->
# Invoke using the {{MenuCommand|{{StdMenu|[[Std Tools Menu|Tools]]}} → Units calculator...}}


<!--T:7-->
<!--T:7-->
The dialog can stay open as long as you want and does not block the rest of FreeCAD
The dialog can stay open as long as you want and does not block the rest of FreeCAD

==Limitations== <!--T:13-->

==Scripting== <!--T:14-->


<!--T:8-->
<!--T:8-->
{{Std Base navi}}
{{Std Base navi}}


<!--T:15-->
{{Userdocnavi}}
{{Userdocnavi}}
</translate>
</translate>

Revision as of 01:03, 7 February 2020

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