wmayer
dd25480c2d
Base: implement default constructor and open() function for Base::ifstream and Base::ofstream
2022-08-21 11:23:04 +02:00
wmayer
3631f8481d
PD: [skip ci] fix UTF-8 handling in Hole feature
2022-08-21 11:07:15 +02:00
Chris Hennes
2bd102b5e9
Sketcher: Tweak tip language for ConstrainRadiam
...
Based on a question in CrowdIn.
2022-08-20 18:11:11 -05:00
Chris Hennes
966d5e3f5a
GUI: Remove unnecessary translation calls
2022-08-20 17:48:39 -05:00
wmayer
34279d26ba
TD: fix UTF-8 handling in LineGroup
2022-08-20 16:00:36 +02:00
wmayer
2cb05a6ae8
Gui: [skip ci] fix UTF-8 handling of icon resources
2022-08-20 15:47:07 +02:00
Benjamin Bræstrup Sayoc
070f33961c
[TechDraw] Remove uneeded redefinitions of inherited functions
2022-08-19 09:14:10 -04:00
Wanderer Fan
a1cc69c8e3
[TD]code review changes for Gui
2022-08-18 19:43:04 -04:00
Wanderer Fan
e80c42e8f1
[TD]code review changes for dvp, dvs
2022-08-18 19:43:04 -04:00
Wanderer Fan
4cefaa3a13
[TD]code review changes for dgh, dpg, dpgi, dra
2022-08-18 19:43:04 -04:00
Wanderer Fan
90450e8a4a
[TD]code review changes for dvp and dvd
2022-08-18 19:43:04 -04:00
Wanderer Fan
e30ee84bf4
[TD]fix typo in message
2022-08-18 13:02:50 -04:00
Wanderer Fan
6f646a8d2d
[TD]prevent running threads on object delete
2022-08-18 09:34:32 -04:00
Wanderer Fan
e97b95341a
[TD]code clean ups
...
- QtConcurrent include and CMake for Win
- include clean up dvp, dvs, dvd
- variable names and nested if clean up
- remove debug code
2022-08-18 09:34:32 -04:00
Wanderer Fan
459dde957c
[TD]add preference for progress reporting
2022-08-18 09:34:32 -04:00
Wanderer Fan
2483b1524e
[TD]fix detail of section not displayed on restore
2022-08-18 09:34:32 -04:00
Wanderer Fan
0babc10a99
[TD]fix projectShape for shape outline
2022-08-18 09:34:32 -04:00
Wanderer Fan
aa1193559b
[TD]clazy warnings and duplicate setter/getter
...
- clazy warning re missing Q_OBJECT
- include TechDrawGlobal.h in headers
- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
Wanderer Fan
2c047e361d
[TD]fix segfault on repeated open/close
...
[TD]fix memory leak in ViewProviderPage
[TD]fix QGView redraws at idle
2022-08-18 09:34:32 -04:00
Wanderer Fan
80d5e9a0b8
[TD]respect AutoDistribute on load
2022-08-18 09:34:32 -04:00
Wanderer Fan
2c19c29d3c
[TD]move section cut and detail common to thread
2022-08-18 09:34:32 -04:00
Wanderer Fan
ae3a955877
[TD]add progress reporting framework
2022-08-18 09:34:32 -04:00
Wanderer Fan
5a92b30f17
[TD]run hlr and extractFaces in threads
2022-08-18 09:34:32 -04:00
Wanderer Fan
b467cd32f2
[TD]refactor scene/view/mdi
...
- move scene related functions out of mdiViewPage
and QGVPage.
- route requests for scene/view/mdi through
ViewProviderPage
2022-08-18 09:34:32 -04:00
Uwe
6c6daa1939
[Netgen] fix typos found by codespell
2022-08-18 02:39:47 +02:00
Uwe
2af2552c30
[Gui] background default colors
...
- for better contrast and "fresher" look, see developers forum
2022-08-18 02:38:45 +02:00
Uwe
d0ebececbe
[Netgen] add headers to support recent Netgen
...
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=618174#p618174
- also fix compiler warnings about unsafe bool handling
2022-08-17 12:32:02 +02:00
Uwe
4ce5f5bd69
[FEM] point filter: add units for flux results
2022-08-17 00:10:22 +02:00
Uwe
212a058c2f
[FEM] Elmer: fix flux equation
...
- the Flux solver must be executed before Heat and Electrostatic
- the analysis can have multiple Flux equations -> write a unique solver name to case.sif
- the Flux equation can currently only take 2 possible values. Therefore provide them as enum
2022-08-16 03:49:26 +02:00
wmayer
eeeceba634
ReverseEngineering: [skip ci] improve doc string of approxSurface
2022-08-15 15:23:39 +02:00
Uwe
6e59fb50a6
[FEM] initial pressure: bind expression to QuantitySpinBox
2022-08-15 11:54:33 +02:00
wmayer
68f760d958
Base: [skip ci] improve whitespaces
2022-08-15 11:42:26 +02:00
wmayer
b485f7943c
Base: expose enum NumberFormat to Python
2022-08-15 11:12:53 +02:00
Uwe
d0ee6a46a0
[FEM] fix body heat source constraint
...
- as the name implies, it must be possible to set the heat to different bodies
- for this a selection dialog is necessary
- check that heat is not zero
2022-08-15 02:47:01 +02:00
Uwe
32d74bb0ca
[FEM] potential constraint: change default value
...
- in practice one wants to apply potentials to faces via this constraint, therefore enable to set a potential by default, also assure that the initial unit is V
2022-08-15 02:41:35 +02:00
Uwe
1cd02ffee8
[FEM] potential constraint: allow to set expression for value
2022-08-15 01:33:35 +02:00
Uwe
3c00213506
[Base] [skip CI] fix a typo in QuantityPy.xml
2022-08-15 01:22:02 +02:00
Uwe
653af31293
[FEM] [skip CI] sorting in Fem.qrc
2022-08-14 23:02:05 +02:00
Uwe
94cc1b867a
[Gui] revert the revert of setting unit factor for F/m
...
- see https://github.com/FreeCAD/FreeCAD/commit/2f0824be#r81159352
2022-08-14 22:58:12 +02:00
Uwe
4614b0cf59
[FEM] move initial pressure to fluid constraints group
...
- this is a fluid-specific constraint
2022-08-14 22:32:29 +02:00
Uwe
91bf791e3c
[Gui] revert setting unit factor for F/m
...
- see https://github.com/FreeCAD/FreeCAD/commit/2f0824be#r81159352
2022-08-14 20:49:58 +02:00
Uwe
9fb77d5caa
[FEM] [skip CI] Elmer writer: fix indentation mistake
...
- found by Pylint checker
2022-08-14 20:41:29 +02:00
Uwe
4548bc430b
[.github] disable too many lines check
...
- we are aware of that some modules are too long but bothering us every time is not very helpful. However, the preset 1000 lines is a relatively small number. (Personally I prefer for better overview more in a single file since then search & replace, comparing code etc. is easier than having 10 files with each 100 lines opened.)
2022-08-14 20:40:12 +02:00
wmayer
86be2871d4
Test: unit test for handling of the factor of F/m
...
This test is supposed to cause a failure because of the wrong factor of F/m for SI1 and SI2 in commit 2f0824be
2022-08-14 20:17:13 +02:00
Uwe
25a829bd0c
[FEM] add initial pressure constraint ( #7364 )
...
* [FEM] add initial pressure constraint
- this is needed for fluids
2022-08-14 20:00:36 +02:00
Uwe
4218fb280a
[FEM] permittivity: improve code
...
- in commit 2f0824be I hard-coded the permittivity incorrectly
2022-08-14 19:12:59 +02:00
wmayer
35478e5aef
Test: [skip ci] failUnless is deprecated, replace it with assertTrue
2022-08-14 19:06:39 +02:00
andrea
fd714a20b7
remove unused CXX standards. change boost min version to 1.65
...
reintroduce c++14
2022-08-14 18:11:14 +02:00
Uwe
865481fcf4
[FEM] fix handling of vacuum permittivity
...
- fix message that permittivity object was not handled
- set an expression, otherwise the user gets only "0.000" for the default of 8.8e-12
- use as unit the common "F/m" (this is also more user-friendly than "s^4*A^2 / (m^3*kg)")
- fix a ToDo
2022-08-14 17:59:42 +02:00
Uwe
7d815e78d6
[FEM] Elmer example: remove wrong permittivity
...
- a permittivity of 1 F/m is not physical, also not for testing. In fact overwriting a constant is not good practice for an example
2022-08-14 17:54:15 +02:00