Commit Graph

23411 Commits

Author SHA1 Message Date
tomate44
bb8f8d4647 [Part] Change BSplineCurve/Surface setBounds() method name to scaleKnotsToBounds() 2022-08-23 12:41:55 +02:00
tomate44
e1ce35de14 [Part] Add setBounds method to BSplineCurve
and change BSplineSurface.setBounds() to use dedicated OCCT function
2022-08-23 12:41:55 +02:00
Uwe
4f8ceb287e [FEM] pipelines: distinguish stresses (#7246)
- it seems using the same Field name for a vector and a scalar result causes problems with ParaView, see https://forum.freecadweb.org/viewtopic.php?p=601775#p601775
 therefore rename the vectors
2022-08-23 02:22:52 +05:00
wmayer
3f07755a8f Test: add test feature for unit tests 2022-08-22 15:46:40 +02:00
wmayer
70cdbcb9ad TD: [skip ci] fix warnings of checkers about whitespaces 2022-08-22 08:37:08 +02:00
Chris Hennes
1b322aa612 Addon Manager: Fix subproces call on Linux 2022-08-21 20:37:02 -05:00
Wanderer Fan
0a58649409 [TD]use Label in waiting for thread message 2022-08-21 21:18:26 -04:00
Wanderer Fan
81949d0817 [TD]use new style QObject::connect 2022-08-21 21:18:26 -04:00
Chris Hennes
5bc07eddd1 Addon Manager: Update preferences for new git 2022-08-21 15:18:14 -05:00
Chris Hennes
b6e55601b1 AddonManager: pylint cleanup, git 2022-08-21 14:32:15 -05:00
Chris Hennes
2286635e49 Addon Manager: Refactoring and pylint cleanup 2022-08-21 14:32:15 -05:00
Chris Hennes
52b1926d22 Addon Manager: Refactor to test git and eliminate GitPython 2022-08-21 14:32:15 -05:00
Chris Hennes
723fecc6f8 Addon Manager: Create new git handling mechanism 2022-08-21 14:32:15 -05:00
Chris Hennes
140090ed0e Part: Add missing include to PCH 2022-08-21 14:23:26 -05:00
wmayer
7be7780621 Part: add Part.makeFilledSurface() that internally uses GeomFill_Generator 2022-08-21 18:21:13 +02:00
wmayer
8c298493de Mod: replace std::ifstream/std::ofstream with Base::ifstream/Base::ofstream 2022-08-21 12:46:53 +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
wmayer
34279d26ba TD: fix UTF-8 handling in LineGroup 2022-08-20 16:00:36 +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
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
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
653af31293 [FEM] [skip CI] sorting in Fem.qrc 2022-08-14 23:02:05 +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
9fb77d5caa [FEM] [skip CI] Elmer writer: fix indentation mistake
- found by Pylint checker
2022-08-14 20:41:29 +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