Commit Graph

17 Commits

Author SHA1 Message Date
wmayer
68f760d958 Base: [skip ci] improve whitespaces 2022-08-15 11:42:26 +02:00
wmayer
b485f7943c Base: expose enum NumberFormat to Python 2022-08-15 11:12:53 +02:00
Uwe
3c00213506 [Base] [skip CI] fix a typo in QuantityPy.xml 2022-08-15 01:22:02 +02:00
wmayer
9415e7b6da Base: [skip ci] implement method Quantity.toStr() to control string representation 2020-02-29 22:51:55 +01:00
wmayer
f9cc8b143a Base: [skip ci] support of __round__ of QuantityPy 2020-02-16 21:50:06 +01:00
wmayer
9e8be1aa23 extend QuantityFormat to set denominator independent of user settings 2018-09-17 12:38:46 +02:00
wmayer
e32c37598b add attribute to control format of a quantity via Python 2017-07-24 22:47:10 +02:00
wmayer
2fe8e5c070 + fixes #0001696: Quantity.getValueAs('rad') touches the Property 2014-08-18 13:30:14 +02:00
wmayer
927811213d + fixes #0001410: Base::Quantity::getValueAs does not properly check the dimension 2014-02-14 17:14:39 +01:00
wmayer
cc016c9365 + fixes #0001409: implement FreeCAD.Units.Quantity().__float__() 2014-02-14 14:50:01 +01:00
jriegel
8da9922f18 fix user preferred 2013-12-10 23:32:25 +01:00
jriegel
b16190181b some fixes and comparison interface for Unit and Quantity python objects 2013-12-06 00:06:58 +01:00
jriegel
87c8d5b022 Switching the UnitsApi to the new Quantity system 2013-12-03 19:03:08 +01:00
jriegel
0612ebcb28 Adding Unit definition to the python modul 2013-11-30 21:46:36 +01:00
jriegel
c8cc4a179a integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
jriegel
bf3371a95d implementing Quantity further 2013-09-10 18:27:24 +02:00
jriegel
8d53370ffe Start new Unit and Quantity system 2013-08-11 23:03:34 +02:00