Commit Graph

33 Commits

Author SHA1 Message Date
luz.paz
c7785267a7 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
b1bfb62583 add derived unit electric potential 2017-10-16 21:56:13 +02:00
Harald Geyer
f50a19df2f 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
f93bdfb927 Base: Add DynamicViscosity and SpecificEnergy units 2017-08-20 16:50:11 +02:00
wmayer
6ae540b053 fixes #0003137: Unit UserString wrong 2017-07-24 16:52:03 +02:00
wmayer
c8084ac5c5 quantities must be expressed in units m,g,s for MKS and internal scheme 2017-06-18 23:43:42 +02:00
Itai Nahshon
a42391fa3b 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
59ac40a584 Base: Units for FEM, new heat and heat flux functions 2016-12-21 11:27:41 -02:00
wmayer
61b62ee314 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
f8dc307820 fix bug in factor for Pa in units system 2016-08-05 13:57:27 +02:00
wmayer
1e6981b089 use the unicode symbol for mu 2016-08-05 10:38:33 +02:00
wmayer
787cfc660d use const reference in schemaTranslate to avoid tmp. copy 2016-08-05 10:33:41 +02:00
wmayer
1783528282 improve whitespaces, fix typos 2016-08-05 10:00:12 +02:00
wmayer
affdb168b7 whitespace improvements 2016-08-04 17:45:04 +02:00
vdwalts
a42fd4b1fb Base: Units: add units for thermomechanical analysis 2016-08-04 17:45:04 +02:00
WandererFan
de7b7e50ab Use Units Decimals pref in Quantity::getUserString 2016-07-21 12:55:39 -04:00
Przemo Firszt
288fc3d5c1 Units: Add Density to internal schema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-31 14:04:14 -03:00
Przemo Firszt
dc0ab6f20e 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
813d30904f 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
bb8fcd2bf3 Using Locale delimiter 2014-02-10 21:25:53 +01:00
jriegel
b7ae0dddff More choices in Sketcher grid and later switching to um 2013-12-21 19:15:28 +01:00
jriegel
0470ad002b Try to fix std::abs() error... 2013-12-16 00:20:47 +01:00
jriegel
491643ab60 fix negative value cascading in unti schemas 2013-12-16 00:02:58 +01:00
jriegel
16c6fe2470 Add unti support to Sketcher 2013-12-15 22:47:47 +01:00
jriegel
21c517eff0 Some fixes in unit system 2013-12-08 19:48:13 +01:00
jriegel
d3ff113711 some fixes in quantity 2013-12-06 23:26:42 +01:00
jriegel
69a4bbc46a Implement the three major unit system schemas 2013-12-05 18:16:31 +01:00
jriegel
2df4f4ff7f Small clearifikation about the usage of Units interface 2013-12-05 08:54:46 +01:00
jriegel
27becf2e7b Some fixes in the unit system 2013-12-03 19:57:29 +01:00
jriegel
6ff12d9a4b new userString methode 2013-12-03 19:03:12 +01:00
jriegel
87c8d5b022 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel
c8cc4a179a 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