donovaly
66354b3c58
add units Gauss, Weber and Oersted
2020-01-07 07:36:22 -03:00
donovaly
05dadb4c75
add the units Ohm and Siemens
2020-01-05 15:00:46 +01:00
luz.paz
6f11ed298a
src/Base: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/Base` files
2019-12-25 11:38:58 +01:00
donovaly
cd8b63028c
missing parts from from commit d9d903faea
...
- also add keV and MeV since these are the units used in practice
2019-12-24 13:31:00 +01:00
donovaly
9c707479a6
also add unit THz as requested
2019-12-23 16:49:45 +01:00
donovaly
2949afb55b
add mJ and kW
...
- also some fixes
- add conversions for forces
2019-12-19 13:31:12 +01:00
donovaly
317dd26a7d
correct Unit::Work conversions
...
- also add conversions for Unit::Mass and Unit::Power
2019-12-19 13:31:12 +01:00
donovaly
f5f0728a9f
take care of the UnitsCalculator
...
- also fix uF and uH
- add conversion routine for C and T
2019-12-19 13:31:12 +01:00
donovaly
1ffaaf100a
generate QuantityLexer.c
...
- also set proper unit conversions
- fix MilliWatt and MilliMole
2019-12-19 13:31:12 +01:00
donovaly
82dc8e88f5
add the following units:
...
- mmol
- ml
- bar
- mbar
- kJ
- kWh
- eV
- C
- T
- F (p, n, u, m)
- H (n, u, m)
2019-12-19 13:31:12 +01:00
wmayer
d7ca604c99
Support for Frequency in quantity parser
2019-10-21 11:49:55 +02:00
luz.paz
4c2f2cd210
Misc. typos and whitespace
...
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm,./ChangeLog.txt" -I ../fc-word-whitelist.txt` and `grep`. Excess whitespace auto-removed by Atom editor.
2018-11-03 16:13:06 -03:00
wmayer
9aab910981
add derived unit electric potential
2017-10-16 21:56:13 +02:00
Harald Geyer
ed7630503c
Fix rendering of Unit::ThermalConductivity
...
The old behaviour was:
>>> Quantity('0.9 W/m/K').UserString
u'0.00 W/mm/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1100.00 W/m/K'
The new behaviour is:
>>> Quantity('0.9 W/m/K').UserString
u'0.90 W/m/K'
>>> Quantity('1.1 W/m/K').UserString
u'1.10 W/m/K'
>>> Quantity('1100 W/m/K').UserString
u'1.10 W/mm/K'
2017-10-10 20:35:33 +02:00
Oliver Oxtoby
38fa712032
Base: Add DynamicViscosity and SpecificEnergy units
2017-08-20 16:50:11 +02:00
wmayer
7ab8a9996d
fixes #0003137 : Unit UserString wrong
2017-07-24 16:52:03 +02:00
wmayer
63f9e6c528
quantities must be expressed in units m,g,s for MKS and internal scheme
2017-06-18 23:43:42 +02:00
Itai Nahshon
634cbf1566
Add Units schemaTranslate for Unit::Velocity.
...
Independent of scale, use only mm/min or in/min because it is compatible
with GCODE feed rate units.
(My use case is definition os feed-rates in PathLoadTool.py).
2017-06-18 17:11:49 +02:00
vdwalts
9a3b750fb7
Base: Units for FEM, new heat and heat flux functions
2016-12-21 11:27:41 -02:00
wmayer
f39b89a54d
add class QuantityFormat to control user string of Quantity
...
do some code refactoration to reduce duplicate code
2016-08-06 19:06:29 +02:00
wmayer
7979ec275b
fix bug in factor for Pa in units system
2016-08-05 13:57:27 +02:00
wmayer
1eca045744
use the unicode symbol for mu
2016-08-05 10:38:33 +02:00
wmayer
6176756b28
use const reference in schemaTranslate to avoid tmp. copy
2016-08-05 10:33:41 +02:00
wmayer
5cb8873794
improve whitespaces, fix typos
2016-08-05 10:00:12 +02:00
wmayer
1c89c566c9
whitespace improvements
2016-08-04 17:45:04 +02:00
vdwalts
f9c5661096
Base: Units: add units for thermomechanical analysis
2016-08-04 17:45:04 +02:00
WandererFan
eabc483c6c
Use Units Decimals pref in Quantity::getUserString
2016-07-21 12:55:39 -04:00
Przemo Firszt
7d8fb99cea
Units: Add Density to internal schema
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-07-31 14:04:14 -03:00
Przemo Firszt
b7e7f1f40a
Base: Handle Unit::Stress tha same way as Unit::Pressure in UnitsSchema
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-05-18 16:43:45 +01:00
Przemo Firszt
72b73d8208
Base: Fix pressure unit problem in internal unit schema
...
Signed-off-by: Przemo Firszt <przemo@firszt.eu >
2015-04-09 19:45:09 +02:00
jriegel
9af9283d19
Using Locale delimiter
2014-02-10 21:25:53 +01:00
jriegel
152ecf2df9
More choices in Sketcher grid and later switching to um
2013-12-21 19:15:28 +01:00
jriegel
e7e0bbfbe5
Try to fix std::abs() error...
2013-12-16 00:20:47 +01:00
jriegel
73684a9fdb
fix negative value cascading in unti schemas
2013-12-16 00:02:58 +01:00
jriegel
d5d9ea9c30
Add unti support to Sketcher
2013-12-15 22:47:47 +01:00
jriegel
cfa7045408
Some fixes in unit system
2013-12-08 19:48:13 +01:00
jriegel
75216d9d8c
some fixes in quantity
2013-12-06 23:26:42 +01:00
jriegel
eb5cc8ed6c
Implement the three major unit system schemas
2013-12-05 18:16:31 +01:00
jriegel
b52de075e1
Small clearifikation about the usage of Units interface
2013-12-05 08:54:46 +01:00
jriegel
f58ea31b6a
Some fixes in the unit system
2013-12-03 19:57:29 +01:00
jriegel
87c4741fac
new userString methode
2013-12-03 19:03:12 +01:00
jriegel
3a3afa0783
Switching the UnitsApi to the new Quantity system
2013-12-03 19:03:08 +01:00
jriegel
44c07da571
integrate Quantities into PropertyView and activate preferences again
2013-09-25 21:59:24 +02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00