Commit Graph

44 Commits

Author SHA1 Message Date
hasecilu
b1515377b5 Add ':' to TODOs to activate highlight
Some linters have a special highlightning on "TODO:" comments.
2023-12-19 17:01:17 -06:00
wmayer
985def3416 Base: apply clang format 2023-11-13 12:01:26 -05:00
Uwe
a58c74c556 [Core] disable the the unit Oersted
- is not feasible for practical usage and (was up to now not used, thus no consequence)
  moreover, Oersted is a cgs unit while we use SI units, thus also not suitable for FEM, only makes problems for magnetization
2023-02-08 19:59:36 +01:00
0penBrain
6182059a0f Core: partially revert 83233a7 that introduced composed units
Parser shall only deal with atomic units or it breaks other composed units
 Fixes #6735
2022-04-13 03:45:39 +02:00
Preslav
5030d8bb6d Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
donovaly
6c67300d62 [Base] add electrical conductivity
- this is necessary to perform electrodynamics simulations. Since the typical values are in the range of 1e6 S/m, we need the new units kS and MS

- since this is for simulations, also add electrical conductivity to the FEM material cards
2021-03-25 17:13:52 +01:00
luz paz
01b21e0d06 Base: Fix header uniformity, whitespace, and doxygen
[skip ci]
2020-11-22 18:12:16 +01:00
donovaly
d1b354fc6b add units Gauss, Weber and Oersted 2020-01-07 07:36:22 -03:00
donovaly
68ea38cc8d add the units Ohm and Siemens 2020-01-05 15:00:46 +01:00
donovaly
3da00267cf cosmetics to keep the overview 2019-12-24 13:31:00 +01:00
donovaly
b255475d7c missing parts from from commit 33b8054228
- also add keV and MeV since these are the units used in practice
2019-12-24 13:31:00 +01:00
wmayer
2484cd56ef 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
a6a043a6f2 also add unit THz as requested 2019-12-23 16:49:45 +01:00
donovaly
edd97de6a2 add units Mpsi, cal and kcal
- also ass missing parts from commit 0021efbf
2019-12-23 16:49:45 +01:00
wmayer
546dc43929 Base: [skip ci] fix block comment in lexer file 2019-12-19 17:08:11 +01:00
donovaly
26196ae612 add mJ and kW
- also some fixes
- add conversions for forces
2019-12-19 13:31:12 +01:00
donovaly
4b99ee28ce generate QuantityLexer.c
- also set proper unit conversions
- fix MilliWatt and MilliMole
2019-12-19 13:31:12 +01:00
wmayer
617a8d7598 Support for Frequency in quantity parser 2019-10-21 11:49:55 +02:00
wandererfan
9c88743d1d Use correct unicode symbols for DMS units 2018-12-23 11:03:02 -02:00
wandererfan
fefe83ecbb 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
luz.paz
360e581672 Misc. typo and whitespace fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=3&t=30988#p256964
along with other misc. fixes
2018-09-19 17:26:03 +02:00
wmayer
13b3abef35 direct support of Volt in units framework 2017-09-04 12:08:29 +02:00
Oliver Oxtoby
59cc63faea Base: Make Quantity parser accept 1/[unit] as [unit]^-1 2017-08-20 16:53:57 +02:00
wmayer
a0af969a47 recreate lexer files without deprecated register keyword 2016-12-29 23:18:23 +01:00
wmayer
47b41a7883 fixes #0002460: Use keyword 'explicit' for Quantity constructor 2016-11-05 23:21:42 +01:00
Wolfgang E. Sanyer
4f264cff28 Bug fix for ID#0002453
Note that the version of Bison and Flex used to generate the two .c files are newer than
in the last commit from 2010. Also,for anyine working on tbis in the future, dont forget
to run flex and bison on the .l and .y files respectively.
2016-05-20 10:05:18 +02:00
vginkeo
8ec2665c1c FEM: C++98 compatible fix to constraint displacement reference deletion, update vertice, edge, face selection 2016-02-29 13:06:16 +01:00
Yorik van Havre
17522b7b2f Revert "FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection."
This reverts commit ac4d466443.
2016-02-19 00:05:55 -02:00
vginkeo
555382e8be FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection. 2016-02-18 19:15:16 -02:00
jriegel
4cd434a096 New parser c-files 2014-08-10 19:17:40 +02:00
jriegel
eb8c06aaa3 clean up number scanner in Units 2014-08-03 17:24:42 +02:00
jriegel
11dd48375d fix swedish minus simbol 2014-08-03 16:01:21 +02:00
jriegel
16c6fe2470 Add unti support to Sketcher 2013-12-15 22:47:47 +01:00
jriegel
c5c8a80a8f small fix in Quantity lexer 2013-12-12 20:20:11 +01:00
jriegel
bfb7b66beb changing ym to um 2013-12-10 23:05:08 +01:00
jriegel
21c517eff0 Some fixes in unit system 2013-12-08 19:48:13 +01:00
jriegel
a5739ee1ea fis for fix for spelling.... 2013-12-02 21:06:10 +01:00
jriegel
15648c1bcc Fix some spelling 2013-12-02 19:50:51 +01:00
jriegel
0612ebcb28 Adding Unit definition to the python modul 2013-11-30 21:46:36 +01:00
jriegel
62e71613b2 Shifting standard unit definitions 2013-11-30 17:58:24 +01:00
jriegel
8a6c8f6d45 Add comment to Quantity parser and further coposed units 2013-11-10 16:33:37 +01:00
jriegel
ac9395d113 Make Unit string output parsably and add Pascale and Newtons 2013-11-10 16:33:35 +01:00
jriegel
7fe834ffbe first finished implementation of Quantity parser 2013-09-24 11:00:51 +02:00
jriegel
8d53370ffe Start new Unit and Quantity system 2013-08-11 23:03:34 +02:00