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 |
|
wmayer
|
d9d903faea
|
Units: extend parser to accept mph, sqft and cft. Fix a bug in imperial civil schema
|
2019-12-23 19:55:21 +01:00 |
|
donovaly
|
9c707479a6
|
also add unit THz as requested
|
2019-12-23 16:49:45 +01:00 |
|
donovaly
|
63bc9c5683
|
add units Mpsi, cal and kcal
- also ass missing parts from commit d7ca604c
|
2019-12-23 16:49:45 +01:00 |
|
wmayer
|
98dfe7c387
|
add posibility to use a unit schema other then the system schema to represent a quantity
|
2019-12-21 13:35:14 +01:00 |
|
donovaly
|
2949afb55b
|
add mJ and kW
- also some fixes
- add conversions for forces
|
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 |
|
Zheng, Lei
|
783947ecd4
|
Base: improve base python object number protocol
|
2019-09-28 15:30:23 +02:00 |
|
wmayer
|
b50b21576e
|
core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
|
2019-09-18 01:01:14 +02:00 |
|
wmayer
|
006e1198dd
|
use NaN for invalid quantities instead of DOUBLE_MIN
|
2019-09-16 18:00:24 +02:00 |
|
Yorik van Havre
|
057c79c11c
|
Doxygen tweaks
|
2019-07-17 18:01:56 -03:00 |
|
wmayer
|
337c9c936f
|
fix various flaws detected by PVS
|
2019-03-01 22:52:41 +01:00 |
|
wandererfan
|
00e6e376c9
|
Add ImperialCivil Units Schema
- units for civil engineering - ft, ft2, ft3, mph,
and angles as degrees/minutes/seconds
|
2018-12-06 08:57:17 -03:00 |
|
wmayer
|
189a729027
|
extend QuantityFormat to set denominator independent of user settings
|
2018-09-17 12:38:46 +02:00 |
|
hokieengr
|
77060a75a6
|
Added support for fractional inch user setting.
|
2018-09-17 10:32:04 +02:00 |
|
wmayer
|
d3ef6905ff
|
+ add option to switch off precompiled header
|
2018-07-25 20:17:11 +02:00 |
|
wmayer
|
1cbc20b0b1
|
fix conversion factors for psi and ksi
|
2018-03-31 15:43:16 +02:00 |
|
luz.paz
|
bbfbb0e7d3
|
Misc. comment typos
|
2018-01-14 12:11:35 -02:00 |
|
wmayer
|
94fcefd207
|
direct support of Volt in units framework
|
2017-09-04 12:08:29 +02:00 |
|
wmayer
|
1673ab801e
|
use specialized exception classes
|
2017-04-28 18:49:11 +02:00 |
|
wmayer
|
33e0bc3a46
|
fix various warnings
|
2017-02-02 20:42:56 +01:00 |
|
wmayer
|
efe14610b7
|
fix & suppress warnings of generated code
|
2016-12-30 13:31:31 +01:00 |
|
wmayer
|
9fe82bfbb9
|
fixes #0002460: Use keyword 'explicit' for Quantity constructor
|
2016-11-05 23:21:42 +01: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 |
|
Eivind Kvedalen
|
d6052a5a27
|
Quantity: Added -= and += operators.
|
2016-04-02 12:01:04 +02:00 |
|
Eivind Kvedalen
|
8ec6b3493d
|
Added Quantity::operator>(...).
|
2015-02-13 21:53:58 +01:00 |
|
jriegel
|
b32b227733
|
clean up number scanner in Units
|
2014-08-03 17:24:42 +02:00 |
|
wmayer
|
a1da4bb4fb
|
+ fixes #0001619: Python script generating 3D model works in V0.13, error in V0.14
|
2014-07-27 14:08:31 +02:00 |
|
wmayer
|
a3056b9d32
|
+ fixes #0001409: implement FreeCAD.Units.Quantity().__float__()
|
2014-02-14 14:50:01 +01:00 |
|
jriegel
|
9efcb3969a
|
fix user preferred
|
2013-12-10 23:32:25 +01:00 |
|
jriegel
|
401cb13035
|
Switching Quantity parser to UTF8
|
2013-12-09 23:50:52 +01:00 |
|
jriegel
|
cfa7045408
|
Some fixes in unit system
|
2013-12-08 19:48:13 +01:00 |
|
jriegel
|
272e60671b
|
some fixes and comparison interface for Unit and Quantity python objects
|
2013-12-06 00:06:58 +01:00 |
|
jriegel
|
eb5cc8ed6c
|
Implement the three major unit system schemas
|
2013-12-05 18:16:31 +01:00 |
|
jriegel
|
894529a223
|
fix error of gcc and remove old parser code.
|
2013-12-05 08:42:33 +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
|
958a14ddbe
|
fis for fix for spelling....
|
2013-12-02 21:06:10 +01:00 |
|
jriegel
|
62fc4c3a1e
|
Fix some spelling
|
2013-12-02 19:50:51 +01:00 |
|
jriegel
|
15ecd1ffe8
|
Adding Unit definition to the python modul
|
2013-11-30 21:46:36 +01:00 |
|
jriegel
|
68f3a1fda4
|
Shifting standard unit definitions
|
2013-11-30 17:58:24 +01:00 |
|
jriegel
|
b706bf73a5
|
Add limits to the InputField
|
2013-11-29 18:24:17 +01:00 |
|
jriegel
|
0a503161b6
|
Add comment to Quantity parser and further coposed units
|
2013-11-10 16:33:37 +01:00 |
|
wmayer
|
b035e9cb0c
|
+ fix build error, fix memory leaks
|
2013-11-09 18:57:34 +01:00 |
|
jriegel
|
3d6743a13b
|
implementing UnitsCalculator and disable changes in Sketcher
|
2013-11-09 07:34:56 +01:00 |
|
jriegel
|
2fb6e75899
|
implementing InputField UseCase in Sketcher EditDatumDialog
|
2013-11-05 19:00:42 +01:00 |
|
jriegel
|
44c07da571
|
integrate Quantities into PropertyView and activate preferences again
|
2013-09-25 21:59:24 +02:00 |
|