Commit Graph

32357 Commits

Author SHA1 Message Date
Uwe
6dc12e0c19 [FEM] update a file license
- like in #8933
2023-03-18 01:04:17 +01:00
Uwe
95087132a2 Merge pull request #8934 from jbaehr/partdesign-ingolutegear-profileshift
PD: Implement Profile Shift for InvoluteGear
2023-03-18 00:48:44 +01:00
Chris Hennes
5e6a63be24 Fem: Fix licensing of Calculix test FCStd files (#8933)
* Fem: Fix licensing of Calculix test FCStd files
2023-03-18 00:47:02 +01:00
wmayer
608521d9f5 Gui: add missing include for Qt6 build 2023-03-18 00:08:40 +01:00
wwmayer
3c98b09128 Base: fixes #8902: Segfault from Part WB functionality in python scripting (#8927) 2023-03-17 22:50:30 +01:00
Jonas Bähr
e05231aa7f PD: Implement Profile Shift for InvoluteGear
This commit adds the ability to shift the involute profile inside or
outside. Profile shift is implemented as coefficient, i.e. normalized by
the module, so that it the whole profile scales with the module without
chaning shape.
To verify the profile, the tests implement an "over pins measurement"
using formulae found in literature.
Backward compatibility with FreeCAD-v0.20 is garanteed by already
existing tests, not touched by this commit.

This addresses issue #5618.
2023-03-17 22:22:34 +01:00
0penBrain
775332e535 CI: minor improvements in texts 2023-03-17 19:50:12 +00:00
Uwe
cf29318063 [FEM] add an example for a turbulent flow 2023-03-17 17:57:09 +01:00
Uwe
17e3c70c3f [FEM] improve check for fluid material
- it is sufficient if there is a dynamic viscosity defined
2023-03-17 17:56:41 +01:00
Uwe
619e909202 [FEM] fix 1D thermomech example
- the heat capacity of water was wrong
- also specify just thermal expansion, this make that water is recognized as material and then all water parameters will be available

(that the analysis fail despite CalculiX reports everything went well s is another issue, I will investigate later)
2023-03-17 17:55:50 +01:00
Uwe
14b5c95f06 [FEM] Elmer: add new default coordinate system
- for new versions of Elmer the default coordinate system is "Cartesian". (if 2D or 3D is determined by the "Variable" setting for the equation)
2023-03-17 16:03:23 +01:00
Paddle
a70b808930 Draft: Remove unit selector in status bar as it is now implemented in core's sizeLabel. 2023-03-17 14:04:24 +00:00
Paddle
0ef42a1455 Sketcher: Add parameter observer for system unit, such that the view is updated when user change the unit system through the sizeLabel widget. 2023-03-17 14:04:24 +00:00
Paddle
98b97d7c68 Core: Add possibility to change the unit in the sizeLabel. 2023-03-17 14:04:24 +00:00
Abdullah Tahiri
6e29309a82 NotificationArea: Preferences - width 2023-03-17 11:29:30 +01:00
Abdullah Tahiri
a2bd55109d NotificationArea: Convert plain text to HTML to perserve format 2023-03-17 11:29:30 +01:00
Abdullah Tahiri
4b7a44739f NotificationArea: Use fixed size notifications 2023-03-17 11:29:30 +01:00
Abdullah Tahiri
eb590aed5d NotificationBox: Allow to set a fixed notification width 2023-03-17 11:29:30 +01:00
Abdullah Tahiri
3ece84fd9d NotificationArea: Allow wrapping of message text to avoid rendering issues with long messages 2023-03-17 11:29:30 +01:00
mosfet80
dafcb0b64e Delete deprecated thumbnailer (#8798)
Remove thumbs
2023-03-17 11:06:21 +01:00
Florian Foinant-Willig
d751fd6944 Fix missing python addProperty and removeProperty of Document object 2023-03-17 10:34:32 +01:00
Uwe
2759105469 [FEM] fix flow equation
- the density must be output using the correct units. Due to this bug also the viscosity was written with wrong units-
- if there is a dynamic viscosity given for a material, use it directly
2023-03-17 03:55:23 +01:00
Uwe
929713af03 [FEM] improve deletion warning
- don't popup a warning if all children of an object are selected too when deleting the object
2023-03-16 21:54:09 +01:00
wmayer
a62d01ea2a Gui: set-up a logging category filter to suppress the most annoying Qt warnings 2023-03-16 20:40:00 +01:00
mosfet80
489c36fe8d Delete src/Tools/ImageTools/ImageConv directory
ImageConv Tools  are not used in the Freecad project.
2023-03-16 20:17:22 +01:00
sliptonic
07df9a4e84 Path Update license to CC 4.0 2023-03-16 19:49:40 +01:00
marioalexis
3d3c20e72a Fem: Remove unused member node 2023-03-16 17:50:21 +01:00
Russell Johnson
383902e495 Path: Update license
Addresses user-specific need in #8894
2023-03-16 17:46:27 +01:00
LarryWoestman
db3fcf9ac4 Path: Updated the licensing to Creative Commons 4.0 2023-03-16 16:33:47 +01:00
wandererfan
966c577ec4 [TD]add wait for threads to Dimension test script 2023-03-16 10:37:14 -04:00
wandererfan
d76efcd0cf [TD]prevent bleed through on Detail mat 2023-03-16 10:37:14 -04:00
wandererfan
aa93708439 [TD]skip center marks for view frame 2023-03-16 10:37:14 -04:00
wmayer
16e27eecc7 TD: port to Qt6
* in QtConcurrent::run the order of 1st and 2nd argument are swapped
* QtConcurrent::run asserts that the argument of the passed function pointer is not non-const
* Used methods of QFontDatabase are static in Qt5 and Qt6
* QTextStream::setCodec() has been removed in Qt6
* Argument of enterEvent() has changed from QEvent to QEnterEvent
* QTextCharFormat::setFamily() is deprecated
2023-03-16 09:17:39 -04:00
wandererfan
04db253b8a [TD]trap bad format spec
- bad format spec can break QString::asprintf
2023-03-16 08:32:57 -04:00
Uwe
de7d061f33 [Lint] remove checks for line endings
- there is no need to check for certain OS line endings, git handles them well apparently
2023-03-16 06:24:25 +01:00
Uwe
31677a3e25 [FEM] use unique result mesh name
- it is a long-standing bug that the name of the result mesh object is not unique. For example for a frequency analysis you get for every result the same object "ResultMesh". When now a "ResultMesh" object is deleted because one result mode object should be deleted, all result modes loose their mesh.
To fix this, use a unique name for the mesh object.
2023-03-16 06:19:10 +01:00
Uwe
e85e327b8b [FEM] better pipeline connection for CalculiX
- make the connection also working for frequency and buckling analysis by directly creating/updating the pipeline where the CalculiX results are loaded
2023-03-16 06:12:14 +01:00
berniev
8c76b4b321 Finish #8879 and remove the unwanted files 2023-03-16 03:48:59 +01:00
Chris Hennes
d3c14f9cea CI: Run the C++ test suite as part of the GitHub CI
Refactors the tests to rename them to runPythonTests and runCPPTests.
2023-03-15 18:34:39 +00:00
Chris Hennes
68737d9c3a Merge pull request #8819 from galou/empty_identifier_not_allowed
Do not allow an empty identifier in `getIdentifier`
2023-03-15 15:22:42 +00:00
Gaël Écorchard
695c258fa3 Merge branch 'master' into empty_identifier_not_allowed 2023-03-15 14:14:15 +01:00
Yorik van Havre
7e7674ae4a Merge pull request #8795 from yorikvanhavre/draft-layermanager
Draft: Added LayerManager command from BIM
2023-03-15 11:59:59 +01:00
Yorik van Havre
0eb1c9ad56 Merge pull request #8818 from yorikvanhavre/draft-grid-fix
Draft: Fixes grid on/off behaviour - fixes #5878
2023-03-15 11:59:30 +01:00
Chris Hennes
902914aaff Merge pull request #8776 from chennes/toponamingIndexedName
App: Toponaming indexed name
2023-03-14 19:21:19 -05:00
wmayer
6345ae3d7a MSYS2: fix creation of ProgressIndicatorPy 2023-03-14 22:24:33 +01:00
wmayer
38a100962c Import/Part: [skip ci] restore some comments 2023-03-14 21:47:41 +01:00
Chris Hennes
ad1b5c7ff6 Addon Manager: Pylint cleanup 2023-03-14 13:59:51 -05:00
Chris Hennes
5f3b86e87c Addon Manager: Fix #8833 2023-03-14 13:59:51 -05:00
Chris Hennes
45c0b634fa App: Clean up IndexedName and add tests
Fixes the matching algorithm when provided a vector of existing names:
The original algorithm was equivalent to a 'startswith' algorithm, when it should
have been testing for exact and complete string equality. This also does some
refactoring to rename and clarify variables and functions, simplifies some
functions by using standard library calls when possible, and addresses various
linter complaints. It also applies our current clang-format to the files.

Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com>
2023-03-14 13:08:23 -05:00
Paddle
71a94da497 Sketcher: Stylesheet, fix manualUpdate button style. 2023-03-14 16:28:14 +01:00