Commit Graph

28474 Commits

Author SHA1 Message Date
Chris Hennes
1fbdb6885d Addon Manager: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
Chris Hennes
32829c8423 Gui: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
sliptonic
5370e721e2 Merge pull request #6647 from Russ4262/fix/millface_face_region_no_base
Path: MillFace - Fix Face Region with no Base geometry [Bug]
2022-03-28 09:51:18 -05:00
wmayer
7ffc05ec59 Fem: fix error: Unhandled Base::Exception caught in GUIApplication::notify 2022-03-28 15:56:49 +02:00
wmayer
b50ec016bd Gui: fixes #6663: [Bug] Decimal separator not chosen by locale system settings anymore 2022-03-28 15:38:51 +02:00
wmayer
8cf6bf6909 SMESH: fixes #6553: [Bug] gmsh with VTK9.x does not work 2022-03-28 13:46:21 +02:00
Uwe
1aadb84b6f [Gui] fix for DlgSettingsColorGradient dialog
- we have cases where the max = min is correct. For example in the FEM DataAtPoint filter - since it is a point, max = min.
2022-03-28 12:27:43 +02:00
Uwe
4bfee097e1 [skip CI] [Gui] some UI improvements for the color gradient dialog
- mostly by Qt Designer
- also some code style fixes by MSVC
2022-03-28 10:38:19 +02:00
Uwe
e4cec83945 [FEM] fix crash in pipeline creation
fixes #6670
2022-03-28 02:41:38 +02:00
Uwe
cdd1b0e9ae [FEM] fix network pressure value display in result pipelines
was forgotten in https://github.com/FreeCAD/FreeCAD/commit/8a6f7cb687a
2022-03-28 02:25:19 +02:00
Uwe
09069fb4ee [FEM] some fixes for the Z88 settings dialog
- separate the solver from the binary settings
- fix tooltips and label names
2022-03-28 01:37:54 +02:00
Uwe
153fa35bdb [PD] shape binder: code style improvements
all done by MSVC
2022-03-27 21:48:09 +02:00
Uwe
8a8fe98454 fix some occurrences where size() is misused as Boolean
- as suggested by @wwmayer: 70714eedc9 (r69648152)
2022-03-27 21:38:15 +02:00
wmayer
96de83006b Fem: [skip ci] use the required type for the vtk API 2022-03-27 20:54:26 +02:00
wmayer
06aa45d7d4 Fem: fix segmentation fault in FemPostDataAlongLineFilter::GetAxisData()
It's possible that pdata becomes a null pointer.
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=18&t=67507
2022-03-27 19:18:33 +02:00
Uwe
42596f2f1b [FEM] fix value display in result pipelines
- as reported here: https://forum.freecadweb.org/viewtopic.php?p=583133#p583133

The point is that the user cannot know that he has to multiply the shown numbers for displacements by 0.001 but for the displayed stresses by 1e6 while the temperature is already correct.

The fix is to be consistent and display in SI units. This commit does this and was tested using unit systems with mm and meter based length.
2022-03-27 18:24:03 +02:00
sliptonic
f0f8907f29 Merge pull request #6659 from sliptonic/bug/profile
[Path] Fixes #6658
2022-03-27 10:58:41 -05:00
sliptonic
4550c7e938 Merge pull request #6664 from sliptonic/bug/spindledirectiondefault
[Path] Bug/spindledirectiondefault
2022-03-27 10:58:09 -05:00
Florian Simmer
594a799a75 [Github] Add detet to the ignored misspellings
see:https://github.com/FreeCAD/FreeCAD/pull/6464#issuecomment-1066980812
2022-03-27 15:49:06 +02:00
Uwe
04f693048f [Gui] a Win compile fix 2022-03-27 15:30:48 +02:00
wmayer
ae61d8df53 Gui: [skip ci] fix locale issue for InputField on Windows 2022-03-27 11:35:46 +02:00
wmayer
5591f98b17 FEM: [skip ci] fix possible crash in setupFilter() function 2022-03-27 11:32:33 +02:00
wmayer
aab8a91e08 Fem: [skip ci] fix compiler warnings
* add Python.h to PreCompiled.h to fix warning for MSVC: warning C4005: 'COMPILER': macro redefinition
* add Python.h to FemPostPipelinePyImp.cpp to fix warning for clang: pyconfig.h:1672:9: warning: '_LARGEFILE_SOURCE' macro redefined [-Wmacro-redefined]
2022-03-27 11:21:19 +02:00
Uwe
93482ea8e5 [FEM] more work on filter activation
- warp, clip filters etc. are perfectly valid over a line filter
- handle activation for line, stress line and point filter
2022-03-27 07:44:35 +02:00
Uwe
0180a2ffff [FEM] introduce custom pipeline mode
- in order to benefit from the previous fix when e.g. setting up a clip filter of a clip filter one needs the set inputs untouched. The existing modes however changed all an the addition of a new filter.
Use this new mode as default since it preserves the inputs as the users set them on the filter creation
2022-03-27 07:19:56 +02:00
Uwe
d62f2895e2 [FEM] fix some post filter creation issues
- only one object can be used
- don't forbid to use another filter as input for a new filter
2022-03-27 07:09:36 +02:00
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
sliptonic
c9f60aadb4 [Path] Make tool controller set default spindle direction from tool attributes if it exists 2022-03-26 12:17:22 -05: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
sliptonic
b977079fd6 [Path] Make 'forward' the default for spindle direction 2022-03-26 11:27:33 -05: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