Commit Graph

29898 Commits

Author SHA1 Message Date
wmayer
2b32d071f5 PyCXX: update to version 7.1.0 2022-08-01 17:28:23 +02:00
Yorik van Havre
54dcf4d4e1 Merge pull request #7259 from Roy-043/Draft-Fix-handling-of-groups-on-move-copy-and-rotate-copy
Draft: Fix handling of groups on move-copy and rotate-copy
2022-08-01 17:06:09 +02:00
wmayer
401e2558ca PyCXX: update to version 7.0.0 2022-08-01 16:39:26 +02:00
wmayer
739b59ff2d PyCXX: update to version 6.3.0 2022-08-01 14:53:23 +02:00
wmayer
a45a787b4e PyCXX: [skip ci] harmonize whitespaces with upstream 2022-08-01 12:36:07 +02:00
wmayer
fd6dc844be Spreadsheet: fixes #7285: [Bug] FreeCAD crashes if cell value ' is set in Spreadsheet 2022-08-01 08:09:34 +02:00
Uwe
c61ca0d0a7 [FEM] Elmer: fixes for the point filter
- use correct names and support all possible outputs
2022-08-01 04:33:06 +02:00
Uwe
d2cbf80d3c [FEM] Elmer: update .sif files
- because of solver default settings change
2022-08-01 04:27:38 +02:00
Uwe
ea8e13dfa0 [FEM] Elmer: don't push mesh scaled to Elmer
- the mesh scaling was a hack to work around the fact that FC's mesh is in mm while all input units are in SI. It turned out that this made more problems than it solved because Elmer checks the length unit and makes internal recalculations. So the mesh must not be scaled when send to Elmer (despite the ElmerGrid docs doesn't state this).
forum thread: https://forum.freecadweb.org/viewtopic.php?p=614162#p614162
2022-08-01 03:58:09 +02:00
Uwe
927cecc742 [FEM] Elmer: set sensible defaults for elasticity equation
- for BiCGstabl the minimal degree is 2, but 3 is recommended
- when adding the equation, it should do something, therefore enable the calculation of the principal stresses (as it was, nothing was calculated except of the displacement)
2022-08-01 03:42:57 +02:00
wmayer
a7172cd730 App: improve whitespaces 2022-08-01 01:29:47 +02:00
wmayer
1a457d0fb9 App: fix -Winconsistent-missing-override 2022-08-01 01:14:19 +02:00
berniev
b6cae3bfdf App: Modernise ctors dtors defs etc 2022-08-01 00:34:46 +02:00
Bernd Hahnebach
5d4b753940 FEM: python code formatting 2022-07-31 23:47:45 +02:00
Uwe
61684dba50 [.github] [skip CI] checks.yml: disable a whitespace check
- todo whitespace is not important
2022-07-31 22:52:09 +02:00
Chris Hennes
c9ad07a47e Addon Manager: pylint cleanup of list diplay 2022-07-31 15:38:42 -05:00
Uwe
02b994a3fb [FEM] importVTKResults: assure user gets a visible object
- on importing a .vtu/.vtk file the new created should be a visible one. Therefore set its display to surface like we do when a new pipeline is created from within FC by the user
2022-07-31 22:32:04 +02:00
Uwe
62bc30ddf4 [FEM] [skip CI] PropertyPostDataObject: some .clang changes 2022-07-31 22:08:43 +02:00
Uwe
b458ef0208 [FEM] Constraint: BodeHeat: fix regression from commit 4a349525
- a simple indentation mistake
2022-07-31 21:17:52 +02:00
Chris Hennes
66f452c01b Addon Manager: fix thread termination bug 2022-07-31 13:02:14 -05:00
wmayer
a5ccef8146 Fem: use SoAnnotation to highlight result pipeline objects 2022-07-31 17:51:31 +02:00
Uwe
c2eee172eb [App] [skip CI] Document: some .clang style fixes
- for better readability
2022-07-31 17:14:43 +02:00
berniev
d6bd08248f App: Use https 2022-07-31 17:11:14 +02:00
Uwe
4a030cd949 [FEM] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-07-31 15:36:54 +02:00
Uwe
c5a7e13172 [Part] ViewProvider: 2 to M: remove unused includes 2022-07-31 15:36:20 +02:00
Uwe
6de14cd3a0 [Part] ViewProvider: P to T: remove unused includes 2022-07-31 14:55:19 +02:00
luz paz
bf030f76aa Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-31 14:11:48 +02:00
berniev
ba5c312a58 remove redundant void from Base 2022-07-31 14:10:34 +02:00
wmayer
9ddbecb864 Fem: implement a selection observer to notify a ViewProviderFemPostObject when its selection status has changed 2022-07-31 14:01:23 +02:00
wmayer
08d9d73e18 Gui: [skip ci] modernize QuantitySpinBox class 2022-07-31 13:59:28 +02:00
berniev
85170b2879 remove redundant void 2022-07-31 10:27:44 +02:00
Uwe
474981d7b6 [Test] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:47 +02:00
Uwe
6943408cb2 [Spreadsheet] remove unnecessary Python check
we only support Python 3
2022-07-31 05:28:19 +02:00
Uwe
4dd623466d [PD] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:45 +02:00
Uwe
d1332def5c [Path] remove unnecessary Python check
we only support Python 3
2022-07-31 05:27:03 +02:00
Uwe
0c02c28cf4 [SCAD] remove unnecessary Python 3 check
we only support Python 3
2022-07-31 05:26:03 +02:00
Uwe
bb667b516f [FEM] Elmer: fix small number property handling
- use an expression as discussed: https://forum.freecadweb.org/viewtopic.php?p=613897#p613897
2022-07-31 05:19:45 +02:00
luz paz
aec90797b4 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
Chris Hennes
0f1d9e35e7 Addon Manager: Add other_files download for wiki macros 2022-07-30 21:31:26 -05:00
Uwe
f532fa9a1b [FEM] Elmer: fix eigenmode results for point filter
Elmers' eigenmode results have a different result name
2022-07-31 04:30:31 +02:00
Uwe
5107590917 [FEM] add missing eigenfrequcy calculation for Elmer
- while for CCX we output the eigenfrequency, for Elmer the user had to perform the calculation of a sqrt of the complex result.
This is inconvenient and error-prone and also requires the knowledge where the result is output by Elmer and in what format. (cast me more than an hour to find this out)
Therefore perform the calculation for the user and output the result.
2022-07-31 02:31:26 +02:00
Uwe
cbf3de264f [FEM] utils: remove unused import 2022-07-31 02:08:16 +02:00
Floriansimmer
9bdd6d9ce9 Ci v2 (#7282)
* Github: Build and Test

Build and Test:
- ccache
- build
- Unittest
- install
- Unittest of install
- report

misc:
- use .clang-tidy file to configure Clang-tidy checks
- use use .pylintrc to configure Pylint checks
- Update changed-files Action
- better regex for file extension filter
- show enabled clang-tidy checks in Step Report
- show enabled Pylint Checks
- cpplint filter documentation
- modified cpplint filters recomended by https://github.com/sider/runners/blob/HEAD/images/cpplint/sider_recommended_CPPLINT.cfg
- fixed Branch filter for Clazy QT6 checks --> has only worked on pull requests
- fail the CI only on Build  errors, Unittest errors and misspellings

* Github: remove Codespell action as it is now integrated into the check workflow
2022-07-30 22:29:29 +02:00
Adrian Insaurralde Avalos
522a7b3225 Remove unused conda files and PKGBUILD [skip ci] 2022-07-30 19:26:33 +02:00
Zheng, Lei
c443b8de53 Gui: fix ViewProviderLink transform with scale
Fixes FreeCAD/FreeCAD#7113
2022-07-30 19:12:03 +02:00
Uwe
8d41fdb1c4 [App] Application: add a comment
- also some style fixes by MSVC
2022-07-30 19:09:32 +02:00
Uwe
0fc5e7405e [App] Application: revert init sorting
- apparently the order of initialization matters.
2022-07-30 18:59:51 +02:00
Uwe
35e50597f4 [App] sort properties
- to quickly get an overview
2022-07-30 17:34:36 +02:00
wmayer
8abd40a788 Base: [skip ci] use Precision class in Rotation::makeRotationByAxes 2022-07-30 17:21:59 +02:00
wmayer
b4719a3fb3 Base: add Precision class 2022-07-30 17:16:28 +02:00