Commit Graph

22064 Commits

Author SHA1 Message Date
Uwe
a8d398e896 [FEM] fix deletion issue
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=582532#p582532

Now only a warning is issued if the user tries to delete the main PostObject if it is not empty.
2022-03-24 05:44:02 +01:00
Uwe
c9f2c1d40c [FEM] fix transparency bug
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=582526#p582526
After setting the transparency, the object has to be redrawn

- also remove a doubled header
2022-03-24 04:50:54 +01:00
Uwe
d62d495f2b [FEM] remove unused header introduced by previous commit 2022-03-24 03:05:48 +01:00
Uwe
89d1446a13 [FEM] scale fix for post meshes
- post result meshes must inherit the parent scaling
- also change Scale to enum as proposed by @wwmayer
2022-03-24 02:37:10 +01:00
sliptonic
35bac7cf96 Merge pull request #6649 from sliptonic/bug/5832
[Path] Fixes #5832
2022-03-23 18:51:20 -05:00
luz paz
d021a2035a FEM: minor fix in warning text [skip ci] 2022-03-23 23:59:22 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
Uwe
a3780fc127 [FEM] post object: some whitespace and style fixes
all made by MSVC
2022-03-23 21:51:25 +01:00
Uwe
4cd69ee774 [PD] Task dialogs: remove unused headers 2022-03-23 19:43:47 +01:00
Uwe
ce05e4f017 [PD] Helix: catch case of touching Helix
when the helix touches itself along a single helical edge one gets a cryptic error.
This PR gives the user feedback what is going on.
2022-03-23 19:29:23 +01:00
Uwe
f6cb87f8c4 [PD] fix #6482
The idea with the large factor, introduced in #5363 fixed real bugs, so it should not be reverted.
However we must compensate the factor at the path position movement. Otherwise we get wrong helix positions when the angle is negative.

The PR was tested with the files in the bug reports:
https://forum.freecadweb.org/viewtopic.php?f=3&t=65136
https://forum.freecadweb.org/viewtopic.php?p=572618#p572618
2022-03-23 19:29:02 +01:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
26c3958809 Start: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
51186c018e Sketcher: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
7633a079b4 Reen: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
6a69efc4a6 Path: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
635534cb15 Measure: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
f76c121c28 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
84f5b40789 Import: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
1b9f30fe76 Draft: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
1b4c23eeea Drawing: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
2a2b8835c0 Spreadsheet: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
669b22252a Raytracing: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
49cab1328e Web: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
3268179b7b Surface: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
6578eac6b9 Cloud: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
8c7213e847 MeshPart: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
ec4d8a7500 Mesh: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
d1d4b996e7 PD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
6d2d45ceb7 Part: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
a057e5486d Robot: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
wmayer
58d1cc4818 Image: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
d430940515 [PD] ShapeBinder: re-add an include that I recently incorrectly removed 2022-03-23 18:58:36 +01:00
Uwe
8a8a1f83fb [FEM] header files: remove unused includes 2022-03-23 17:36:08 +01:00
Uwe
56dd1f1ff0 [Path] Fixes #5832
Remove unused and confusing spiral and triangle patterns
2022-03-23 10:35:58 -05:00
Uwe
d6b09e14bb [Image] [skip CI] add a comment 2022-03-23 16:26:58 +01:00
Uwe
e09383ce6f [FEM] revert incorrect header removal
- also add comment to prevent this in future
2022-03-23 16:22:57 +01:00
Uwe
fa8d89a108 [FEM] Electrostatic: read values with its unit 2022-03-23 16:03:35 +01:00
Yorik van Havre
2a833b46c8 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-03-23 10:51:15 +01:00
Yorik van Havre
1563822763 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
wmayer
54342101af Gui: remove all leftovers of iisTaskPanel 2022-03-23 10:37:28 +01:00
Yorik van Havre
3e86aaa3ab Merge pull request #6619 from matthijskooijman/draft-misc-fixes
Draft: Misc fixes
2022-03-23 10:30:12 +01:00
Yorik van Havre
d12a201d89 Translations: updated ts files 2022-03-23 10:24:55 +01:00
Uwe
a908e6fece [FEM] remove some unused includes 2022-03-23 05:43:40 +01:00
Uwe
fb3aa74a5e [skip CI] [FEM] whitespace fix 2022-03-23 05:21:48 +01:00
Uwe
80ad680dc9 [FEM] SI unit fixes for Elmer
- since we use consistently SI units (as recommended my the Elmer forum), we need to scale the input mesh (we use ElmerGrid that has an option fur this purpose)
- Since the result will be in the scaled mesh, we need to scale it back

With this PR, one gets now correct result independent of
- the used unit scheme
- the simulation type (electrical or thermo-mechanical)
2022-03-23 05:00:40 +01:00
Uwe
b57cdc850d [Assembly] remove it
as discussed: https://forum.freecadweb.org/viewtopic.php?p=582152#p582152
2022-03-23 01:59:51 +01:00
Uwe
024a959c2a [PD] [skipCI] minor header fixes 2022-03-23 01:37:46 +01:00
Uwe
9ec4358dcc [PD] [skip CI] Helix: consistency adjustment
- in Part and PD we have in Pad/Pocket a step of one for the angle and also the App part of Helix uses already a step of 1
2022-03-23 00:58:21 +01:00