wmayer
31a01d3c23
Base: fix Lint warnings in Quantity
2023-02-28 15:17:06 +01:00
wmayer
b0b52cda32
Base: fix pow() of Quantity
2023-02-27 22:13:08 +01:00
wmayer
e0d054d6bc
Base: handle several Lint warnings
2023-02-27 20:07:01 +01:00
wmayer
7204be47f2
Base: add missing != operator to Quantity
2023-02-27 20:07:01 +01:00
wmayer
daa23162a4
Base: fix pow() of Unit
2023-02-27 20:07:01 +01:00
Uwe
1032fe4468
[Base] fix issues with new units
...
- also sort units for better overview
2023-02-26 22:19:31 +01:00
Uwe
2a098b1471
[Core] add missing velocity property
...
- fixes compilation because declared in header but no code
- also sort the properties to keep the overview
2023-02-26 16:38:02 +01:00
Oliver Oxtoby
9d5ab79a4c
[App] [Base] Add missing Property classes for all Units ( #6717 )
...
- Add missing Property classes for all Units
- Add missing units to unit calculator, as well as some missing string representations
- also change units used for dynamic viscosity to the customary Pa*s
2023-02-26 15:28:28 +01:00
Jolbas
6c3efbdb3b
Fix create Rotation from scaled matrix
...
Support for creation of Rotation from matrices which is a combination of non uniform scale and a rotation
Fixes according to review
Scale -1 is Uniform, Not NoScaling
Fix hasScale() when negative scale
2023-02-24 20:33:40 -06:00
mosfet80
48097f48be
Merge branch 'FreeCAD:master' into master
2023-02-23 16:11:30 +01:00
0penBrain
569154b73f
Base: introduce 'getSafeUserUnit' that fallbacks to full precision and internal unit ...
...
... in case unit schema would zero a non-zero quantity
For example, using '1 mil' with UnitsSchemaImperialDecimal schema
2023-02-23 15:22:07 +01:00
Andrew
5293461a65
remove unused GZstream library interface files
2023-02-22 16:01:30 +01:00
wmayer
c7a21ecbee
Fixes #8206 : FreeCAD segfaults being run with parameters (e.g .desktop file has /usr/bin/freecad --single-instance)
2023-02-11 17:49:52 +01:00
Uwe
201b95a5b2
[Core] add quantity Magnetization
...
- needed for FEM and Material
2023-02-08 20:33:58 +01:00
Uwe
b41776d077
[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
Uwe
2880a5ca2a
[Core] add current density
...
- necessary to implement electromagnetic features to the FEM WB
2023-02-04 03:22:24 -06:00
Andrew
15dad4542f
remove deleted files in CMakeList
2023-01-24 08:40:43 -07:00
mosfet80
bdc9c03597
Revert "Update CMakeLists.txt"
...
This reverts commit 10e8c98a189a4ecfb5a43b61d6c076682b324499.
2023-01-24 08:40:43 -07:00
mosfet80
7419a16690
Update CMakeLists.txt
...
Remove unused old files
2023-01-24 08:40:43 -07:00
luzpaz
23af228b87
Fix various indentation issues (tabs->spaces)
2023-01-23 16:59:28 +01:00
luzpaz
729685316e
Fix trailing whitespace, typos, headers
...
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
luzpaz
c4fa2e4a32
Fix trailing whitespace
2023-01-20 23:26:04 -06:00
wmayer
70061abf77
Inspection: move to new style connect()
2023-01-13 15:57:18 +01:00
Zheng, Lei
7164674cb4
Base/App/Gui: force using Base::Handle for ParameterManager
...
For reference counting
2023-01-06 09:14:41 -06:00
wmayer
bb566c7777
Base: add overloaded method isIdentity() to Rotation and Placement that accepts a tolerance
2023-01-03 10:54:47 +01:00
wmayer
178eb1dd84
Base: fix and refactor Tools::getUniqueName
2022-12-31 00:18:59 +01:00
wmayer
9ab8685508
Base: [skip ci] if array of reserved names is empty then return the suggested name in Base::Tools::getUniqueName
2022-12-30 16:35:52 +01:00
wmayer
2fa8fb45d8
Base: refactor InventorBuilder
2022-12-13 17:48:51 +01:00
wmayer
6e71964d4e
Base: set values in constructor of NormalItem
2022-12-13 12:47:42 +01:00
Uwe
0e062212b5
[Sketch] Gui: U - End: remove unused headers
...
- also some sorting
2022-12-13 04:02:20 +01:00
wmayer
2e1ec82930
Base: remove deprecated methods of InventorBuilder
2022-12-12 20:50:59 +01:00
wmayer
f4f60d4737
Base: refactor InventorBuilder
2022-12-11 23:52:18 +01:00
wmayer
8d6255b0e8
Base: refactor InventorBuilder
2022-12-09 14:43:59 +01:00
wmayer
ffb97abfbe
Base: refactor NodeItem
2022-12-05 18:35:50 +01:00
wmayer
60ae885471
Base: Remove redundant 'else' and return Py::None() instead of Py::Object() to make it explicit that Python's 'None' is meant
2022-12-05 12:51:38 +01:00
wmayer
313525a012
Core: [skip ci] ignore some code spell checks and filter all '_rc_.py' files
2022-12-05 10:12:49 +01:00
berniev
87c3b58f44
Simplify switch statement (modded)
2022-12-04 19:37:04 +01:00
Zheng, Lei
7dc14634cd
Base: fix Windows build issue
2022-12-03 17:08:17 -06:00
Zheng, Lei
d3c063f88c
Base/App: add new signal interface to Parameter
...
Added new signal interface using boost::signals2 signalParamChanged.
Exposed to Python as ParameterGrpPy.AttachManager() to monitor changes
to all parameters, sub groups under the referring group.
Added new attribute for ParameterGrp(Py) to query the Parent and Manager
of the referring group.
2022-12-03 17:08:17 -06:00
wmayer
4dc1fc8f01
Base: refactor InventorBuilder
2022-12-02 19:06:27 +01:00
wmayer
663a9e665b
Base: refactor InventorBuilder and add more unit tests
2022-12-02 18:53:47 +01:00
wmayer
97ab7714fe
Base: fix InventorBuilder and add more unit tests
2022-12-01 18:05:57 +01:00
wmayer
e18cb45673
Base: refactoring of InventorBuilder
2022-11-30 12:29:09 +01:00
wmayer
c16b94c669
Base: fix build failure with MSVC, overloaded operator << must be in header file
2022-11-29 18:21:12 +01:00
wmayer
c16e4670fd
Base: refactoring of InventorBuilder
2022-11-29 15:20:43 +01:00
wmayer
b325ab93dc
Base: refactoring of InventorBuilder
2022-11-29 13:28:00 +01:00
wmayer
ad1cccdd27
Gui/Mod: handle several compiler warnings:
...
* ignore -Wfree-nonheap-object for generated code
* replace 0 with Qt::NoModifier when creating a QKeyEvent
* in Qt 5.14 QCombobox::activated(QString) is deprecated, use textActivated
* don't mix QCheckBox::setChecked() with tristate API
2022-11-29 10:36:02 +01:00
wmayer
567e0434e6
Base: refactoring of Builder3D/InventorBuilder
2022-11-27 20:06:00 +01:00
wmayer
16e80093c4
Base: refactoring of Builder3D/InventorBuilder
2022-11-27 18:29:58 +01:00
wmayer
9c191c1246
Base: change return type of Line3::SqrLength() and Line3::Length()
2022-11-27 17:58:37 +01:00