wmayer
83d4080fe8
App: fixes #10460 : App::PropertyPythonObject is not saving data
...
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
luzpaz
129d5882a7
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
Pesc0
42cb756522
remove remaining six dependencies
2023-03-26 23:39:00 +02:00
Uwe
eecf57ffe9
[FEM] improve messages in mesh generation
...
- no longer output an error on mesh from a BooleanFragments. There are cases when this fails, but other cases where one must use a BoopleanFragments compound and this works well, see https://forum.freecad.org/viewtopic.php?t=71070 . Therefore a warning is sufficient.
- disable log messages not important for the average users.
- avoid code duplication
2023-02-13 16:55:00 +01:00
Uwe
fa780e8b5b
[FEM] add new filter to display iso contours
...
- very valuable to display for example electromagnetic field lines
2023-02-13 16:53:21 +01:00
Uwe
f26481ca20
[FEM] change hiding logic on calling task panels
...
- the typical workflow is to change e.g. a constraint setting or material property and to check how and if this change changes the simulation result. it is therefore very annoying that on every call of a task panel the results are hidden.
This PR changes this to hide only meshes and the filter functions but to keep the results. If a user don't like to see results for example to select faces, he hides results anyway.
2023-02-10 16:47:52 +01:00
Uwe
04915b694b
[FEM] add new constraint for magnetization
2023-02-09 14:41:25 +01:00
Uwe
82b6e03625
[FEM] add current density constraint
...
- also add corresponding App::PropertyCurrentDensity
- also fix a typo in test_object.py
2023-02-05 21:10:15 +01:00
Uwe
040f86c4d5
[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
27f50ad131
[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
369bb48c90
[FEM] BodyHeat constraint: use unique icon
...
- it was not possible to distinguish the constraint from the heatFlux constraint
2022-07-27 03:09:15 +02:00
Bernd Hahnebach
e49abfb350
FEM: python code formatting
2022-07-12 15:04:26 +02:00
wmayer
a80d9e5ef8
Fem: [skip ci] fix deleting Result object if its children has been deleted beforehand
2022-05-28 12:08:44 +02:00
Uwe
1baf3f2bfa
[FEM] fix Gmsh deletion handling
...
- fixes the issue that one could accidentally delete a mesh despite it has submeshes
- also a coding style improvement
2022-03-25 05:50:31 +01:00
Uwe
5482c4be95
[FEM] mechanical result: add proper deletion handling
...
- use a warning with possibility to cancel like for the C++ FEM objects
2022-03-25 05:38:49 +01:00
UR-0
46282db7c8
FEM: constraint centrif, Gui tools
2021-07-09 22:04:19 +02:00
UR-0
974f41e0cc
FEM: constraint centrif, App objects and methods:
...
- CalculiX centrifugal body loads
- CalculiX label CENTRIF from *DLOAD card
- implement FreeCAD NonGui code
- the object, ccx writer, etc
2021-07-09 22:03:58 +02:00
donovaly
148c528b09
[skip ci] [FEM] don't hide Gmsh mesh by default
...
it is very annoying that the mesh is hided when closing the task dialog because one often has to play with the Gmsh properties and need to see the mesh.
See also https://forum.freecadweb.org/viewtopic.php?f=18&t=56401&start=10#p489734
2021-03-25 09:01:51 +01:00
Bernd Hahnebach
a62b5b314b
FEM: code formatting, revert parts of commit f4a65dcbb6
2021-02-16 16:17:47 +01:00
luz paz
f4a65dcbb6
FEM: doxygen
2020-12-04 17:50:00 +01:00
Bernd Hahnebach
029eec37ab
FEM: remove superfluous 'pass'
2020-11-26 09:07:25 +01:00
luz paz
9f74b422a9
Fix various typos [skip-ci]
2020-10-24 12:25:46 +02:00
Bernd Hahnebach
43ad6aa729
FEM: constant vacuum permittivity, add object to overwrite constant
2020-06-29 17:46:43 +02:00
UR-0
3dfc9471ab
FEM: ccx constraint section print, add task panel
2020-06-24 07:52:16 +02:00
UR-0
50d834c0bc
FEM: ccx constraint section print, add object
2020-06-24 07:52:16 +02:00
Bernd Hahnebach
b7282284d5
FEM: gmsh view provider, small improvements
2020-06-04 00:15:15 +02:00
Bernd Hahnebach
aedc4c6fde
FEM: move task panel in separate module, constraint initial flow velocity
2020-06-03 23:49:07 +02:00
Bernd Hahnebach
fa4e548f69
FEM: move task panel in separate module, mesh region
2020-06-03 23:49:05 +02:00
Bernd Hahnebach
aa4108088a
FEM: move task panel in separate module, mesh group
2020-06-03 23:49:03 +02:00
Bernd Hahnebach
416ec56a22
FEM: move task panel in separate module, mesh boundary layer
2020-06-03 23:49:01 +02:00
Bernd Hahnebach
92b570b555
FEM: move task panel in separate module, material reinforced
2020-06-03 23:48:59 +02:00
Bernd Hahnebach
c755c12115
FEM: move task panel in separate module, material common
2020-06-03 23:48:57 +02:00
Bernd Hahnebach
3d0ae34955
FEM: move task panel in separate module, element rotation 1D
2020-06-03 23:48:55 +02:00
Bernd Hahnebach
8dc2eec23b
FEM: move task panel in separate module, element geometry 2D
2020-06-03 23:48:52 +02:00
Bernd Hahnebach
2cfee8bf5b
FEM: move task panel in separate module, element geometry 1D
2020-06-03 23:48:50 +02:00
Bernd Hahnebach
74722733e4
FEM: move task panel in separate module, element fluid 1D
2020-06-03 23:48:48 +02:00
Bernd Hahnebach
3e53bb1f6b
FEM: move task panel in separate module, constraint tie
2020-06-03 23:48:46 +02:00
Bernd Hahnebach
ac8e5e397b
FEM: move task panel in separate module, constraint flow velocity
2020-06-03 23:48:44 +02:00
Bernd Hahnebach
4916fa8ac1
FEM: move task panel in separate module, constraint electrostatic potential
2020-06-03 23:48:42 +02:00
Bernd Hahnebach
93ebf400fd
FEM: move task panel in separate module, gmsh mesh
2020-06-03 23:48:40 +02:00
Bernd Hahnebach
a78cc759ec
FEM: move task panel in separate module, solver ccxtools
2020-06-03 23:48:38 +02:00
Bernd Hahnebach
c80355f14c
FEM: move task panel in separate module, result mechanical
2020-06-03 23:48:34 +02:00
Bernd Hahnebach
5421ea0027
FEM: fix some Python object task panels if ther is no analysis
2020-05-26 13:55:45 +02:00
HoWil
52da15b815
FEM: add elmer electric force equation object
2020-05-25 15:46:00 +02:00
Bernd Hahnebach
f6147e1ffb
FEM: material task panel, code formating
2020-05-23 07:59:17 +02:00
qingfengxia
ee440bea61
FEM: material task panel, make use of the new input field update method
2020-05-23 00:03:16 +02:00
qingfengxia
74f70b9a64
FEM: material task panel, add method to update input field values
2020-05-23 00:03:14 +02:00
qingfengxia
ac46d8c82c
FEM: fix unit for volumetric thermal exapnsion coefficient
2020-05-23 00:03:12 +02:00
Bernd Hahnebach
fa398b8857
FEM: python base constraint VP, rename class and module
2020-05-22 01:08:14 +02:00
Bernd Hahnebach
067659c23d
FEM: python base VP, rename class and module
2020-05-22 01:08:12 +02:00