Uwe
dfd91f3ea2
[FEM] fix activation logic of post filters
...
only activate them when sensible/possible
2022-03-27 00:57:41 +01:00
Uwe
4dbb0f9155
[FEM] fix activation of post pipeline
...
it can only be activated if a result object is selected from which the pipeline can be loaded
2022-03-27 00:22:06 +01:00
Chris Hennes
60253d0c05
Addon Manager: Convert Warning to Log
2022-03-26 13:42:31 -05:00
wmayer
cb4363330f
Gui: [skip ci] fix a small regression caused by PR #5232 (or commit 7d649fe55)
...
See also forum posting: https://forum.freecadweb.org/viewtopic.php?p=583303#p583303
2022-03-26 18:27:04 +01:00
wmayer
8befdb2459
Gui: [skip ci] fix locale issue with InputField
...
The change of 746a2ae40ade added a regression as shown here: https://github.com/FreeCAD/FreeCAD/pull/6640#issuecomment-1079727756
Thus reverting it.
2022-03-26 17:44:05 +01:00
0penBrain
57ce2213db
Gui: fix some weird behavior of number format option
2022-03-26 16:43:07 +01:00
Zheng, Lei
bff7ec431d
Gui: fix DlgObjectSelection item state synchronization
2022-03-26 10:19:20 -04:00
Zheng, Lei
c3fcf39e9c
App: minor change to LinkParams
2022-03-26 10:19:20 -04:00
Zheng, Lei
6616433d47
Gui: expose Link CopyOnChange setup through context menu
...
The CopyOnChange setup is meant to let user select which dependency to
copy when changing configuration.
2022-03-26 10:19:20 -04:00
Zheng, Lei
9455d869d4
Gui: refactor Object Selection Dialog
...
It is originally used for dependency selection when copying object.
Modified to improve auto dependency selection, and for use by Link
configuration object setup, which also involves dependency selection.
2022-03-26 10:19:20 -04:00
Zheng, Lei
817cfe5a44
App: fix recompute problem caused by expression hidden reference
2022-03-26 10:19:20 -04:00
Zheng, Lei
fcd176aef0
Spreadsheet: fix owner property reference in PropertySheet
...
PropertySheet used to only work when refereceing its own cell either
through cell address or alias. It does not work for reference to other
property of the owner Spreadsheet object.
2022-03-26 10:19:20 -04:00
Zheng, Lei
fbbc89c52c
App/Gui: support Link refresh on change of originally linked configurable object
2022-03-26 10:19:20 -04:00
Uwe
cebb40378d
[skip CI] [FEM] improve wording in material settings dialog
...
- also improve layout settings
2022-03-26 06:13:27 +01:00
Uwe
84e55125f9
[skip CI] [FEM] uniform labeling in a settings dialog
...
- also improve layout settings
2022-03-26 05:59:44 +01:00
Uwe
db4bd62899
[skip CI] [FEM] fix a typo in a dialog
2022-03-26 05:31:19 +01:00
Uwe
045c609b3f
[skip CI] [FEM] uniform labeling in a dialog
2022-03-26 05:22:29 +01:00
Uwe
0734cba01c
[FEM] [Skip CI] improve Gmsh settings UI
...
- fix spelling of "Gmsh"
- fix layout issue reported by Qt Designer
2022-03-26 05:15:32 +01:00
Uwe
bff25dfdd1
[FEM] adapt electrostatic examples to changed unit handling
...
- also a coding improvement
2022-03-26 04:54:36 +01:00
Uwe
a450c50765
[FEM] fix creation of PostPipeline object
...
- the object was not created inside the analysis container (while this was correctly done when it is created from a solver run)
- after the creation, the object was only hardly visible for the user
2022-03-26 04:37:17 +01:00
Uwe
067e2938d1
[skip CI] [FEM] remove an unused header
...
- also some code styles improvements
2022-03-26 04:32:17 +01:00
Uwe
a5b86128be
[FEM] Elecrostatic: use App::PropertyElectricPotential
2022-03-26 02:29:19 +01:00
Uwe
f2def75852
[FEM] Elmer examples: use better names for constraints
...
fixes a ToDo and the unit tests work fine nevertheless
2022-03-26 01:46:54 +01:00
Uwe
41c42eb311
[App] add property for electric potentials
...
- in preparation to fix the electrostatic simulation mess
2022-03-26 01:39:32 +01:00
Uwe
db0c7ecb54
{skip CI] revert unwanted change from previous commit
2022-03-25 23:53:22 +01:00
Uwe
c5191b152a
[skip CI] [FEM] results dialog: fix layout issued reported by Qt Designer
2022-03-25 23:41:58 +01:00
Uwe
e9d8a5da37
[Gui] fix locale issue with InputField
...
fixes the issue first reported here: https://github.com/FreeCAD/FreeCAD/pull/6364#issuecomment-1072886169
Now, since PR #6364 was merged, we must no longer remove the group separator.
(The issue broke for example the FEM results: https://forum.freecadweb.org/viewtopic.php?p=582524#p582524 .)
2022-03-25 22:09:43 +01:00
Uwe
ccbeedb4e4
[FEM] fix missing recompute
...
as reported here: https://forum.freecadweb.org/viewtopic.php?p=582525#p582525
- also fix potential issue that FemGui is used by the script but not loaded
2022-03-25 21:22:15 +01:00
Uwe
5f3b9d42ff
[FEM] fix missing recompute
...
after the ccx_dat_file object has been changed, the analysis must be recomputed
2022-03-25 21:05:43 +01:00
Uwe
26faa6a43f
[FEM] remove new framework CCX from toolbar
...
"new framework" implies especially to new users that this is the CCX of choice. But it is not, since you cannot Since we keep it in the menu and experienced users will find it.
2022-03-25 20:00:39 +01:00
Uwe
650eac3a56
[FEM] fix broken Z88 part 5/5: add missing toolbar icon
...
- now that it is working, expose Z88 to the toolbar as well
2022-03-25 19:55:32 +01:00
Uwe
fdd103814c
[FEM] fix broken Z88 part 4: don't hardcode memory for iterative solvers
...
- we must not hardcode the number of coincidence vector places
The user must have a chance to change this setting for the iterative solvers according to the Z88 docs.
We use as default the number Z88 uses in its distributed example.
2022-03-25 19:28:24 +01:00
Uwe
db3e261653
[FEM] update Z88 tests
...
(I doubt that it is sensible to check if a hardcoded memory value is written. The test will fail if you use a non-default memory setting on your FreeCAD. The CI uses of course the default)
2022-03-25 19:04:21 +01:00
Uwe
b186269f54
[skip CI] [FEM] some style changes by MSVC
...
- to avoid annoying unnecessary diffs while working on the FEM module
2022-03-25 18:55:33 +01:00
Uwe
f88c95d743
[FEM] fix broken Z88 part 3: don't hardcode memory
...
- we must not hardcode the number of stiffness matrix places, especially not for the Cholesky solver
The user must have a chance to change this setting in case of a solver error. This is also according to the Z88 docs that says it is a two step process:
- the solver first computed the necessary places
- the user must set the value accordingly in case it is too low
- also some code style fixes
2022-03-25 18:40:12 +01:00
Uwe
b3208f643e
[FEM] fix broken Z88 part 2: fix error handling
...
- when the solver failed, we cannot return a non-existing res_obj
2022-03-25 18:01:12 +01:00
Uwe
e9835c0b10
[FEM] fix broken Z88 part 1: don't hardcode solver
...
- especially don't hardcode the choly solver that fails quickly for finer meshes
- setting sorcg as default since it shows the best performance with the cantilever tests
2022-03-25 16:49:03 +01:00
wmayer
54a5114d71
Fem: split strings with placeholders to make sure it's still created correctly if translation is broken
2022-03-25 15:48:46 +01:00
wmayer
ccc0d54d97
TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
...
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
Yorik van Havre
338a27cbdc
Arch: Fixed placement of rebars in IFC export
2022-03-25 13:41:45 +01:00
wmayer
6279408456
TD: [skip ci] activate PCH of TechDraw (App)
...
For MSVC this reduces compile time by ~50%
2022-03-25 13:34:07 +01:00
Uwe
0e98485112
[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
58c020b47f
[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
Uwe
8bd4bb9c6d
[skip CI] [FEM] remove unused comment
2022-03-25 05:35:44 +01:00
Uwe
5757cdf2ad
[TD] remove a single-header file
2022-03-25 04:11:53 +01:00
Uwe
b25d7ad48d
[TD] Gui Headers: remove unused header - part 4/4
2022-03-25 03:43:44 +01:00
Uwe
175484cf3f
[TD] add missing header
2022-03-25 03:04:39 +01:00
Uwe
965868b799
[TD] Gui Headers: remove unused header - part 3
2022-03-25 02:47:09 +01:00
Uwe
093a8edec5
[TD] Gui Headers: remove unused header - part 2
2022-03-25 02:34:36 +01:00
Uwe
d0ec4aafdc
[TD] Gui Headers: remove unused header - part 1
2022-03-25 01:58:33 +01:00