Commit Graph

29151 Commits

Author SHA1 Message Date
Uwe
007bbc532f [FEM] fix 2 crashes with line and scalar filter
- same crash origin like the crash fixed earlier today: https://github.com/FreeCAD/FreeCAD/commit/c72f888682
2022-06-12 22:18:59 +02:00
wmayer
d1648f80ab plugin: [skip ci] copy sizeHint handling to QuantitySpinBox implementation in QtDesigner plugin 2022-06-12 21:56:08 +02:00
wmayer
d49209049c Gui: set a minimum width for quantity spin boxes in FEM dialogs to ignore the results of (minimum)sizeHint() 2022-06-12 20:25:40 +02:00
wmayer
5bad428702 Gui: add function to determine size that a quantity spin box would need to display a certain text 2022-06-12 20:01:41 +02:00
Kuzemko Alexsandr
05eb2d0324 Crowdin Add some menu text for translation. 2022-06-12 13:02:41 -04:00
Uwe
c44a15d3d9 [GUI] fix screenshot watermark
as reported here: https://forum.freecadweb.org/viewtopic.php?p=601651#p601651
2022-06-12 18:39:14 +02:00
Uwe
950034f764 [FEM] line filter, resolution tweak
- disable keyboard tracking for the resolution
2022-06-12 18:22:24 +02:00
Uwe
391ed3db8a [FEM] fix line filter resolution
- when the resolution changes, the data must be refreshed for visualization and the plot
2022-06-12 18:18:26 +02:00
Uwe
a08a6a8acf [Main] change URL
as reported in the forum: https://forum.freecadweb.org/viewtopic.php?p=601657#p601657
we should use our new URL
2022-06-12 18:12:28 +02:00
Uwe
a0689c7f9f [FEM] fix plots of line filter
- when the line geometry changed, the axis data must be refreshed to get correct plots
2022-06-12 17:24:41 +02:00
Uwe
c54e336073 [FEM] function dialogs size fix
- as suggested in 9713993233 (r75908012)
the labels should have maximum size policy
2022-06-12 16:52:41 +02:00
Uwe
88f48bc1c6 [FEM] remove hardcoding of spinbox sizes 2022-06-12 16:40:41 +02:00
Uwe
aefa08792a [FEM] fixes for line filter
- on changing a point coordinate, either by clicking a point or by changing the spinbox in the dialog, the color bar must be refreshed and data must be evaluated for all fields along the new line
2022-06-12 16:35:08 +02:00
Uwe
f1fbc95b0d [FEM] function dialogs fix
- keyboard tracking must be turned off
2022-06-12 16:25:02 +02:00
Uwe
b6ed98b5b6 [FEM] fix along line dialog
- as suggested in 9713993233 (r75908012)
- keyboard tracking must be turned off
2022-06-12 16:17:21 +02:00
Zheng, Lei
f6b5a3cb92 Spreadsheet: fix border rendering for merged cells 2022-06-12 16:11:59 +02:00
Zheng, Lei
b5327f5db7 Spreadsheet: fix binding of merged cells 2022-06-12 16:11:59 +02:00
Zheng, Lei
b21507f6e3 Spreadsheet: replace obsolete href with hiddenref in binding 2022-06-12 16:11:59 +02:00
Uwe
12b12fa941 [FEM] fix crash with data point filter
- when the filter is upon another filter that e.g. clipped all data, we cannot access data
2022-06-12 14:56:54 +02:00
wmayer
86df83b7a9 PD: several fixes of shape binder:
* add action to context-menu to remove an element
* use an exclusive button group to avoid to have several buttons pressed at the same time
* allow to completely clear the support
* when pressing OK/Cancel then operate on the document the shape binder is part of (which isn't necessarily the active document)
* remove obsolete parameter from ViewProviderShapeBinder::highlightReferences()
2022-06-12 14:03:42 +02:00
wmayer
3e6d0e775f PD: allow to clear the shape when nullifying the Support property 2022-06-12 14:01:19 +02:00
Zheng, Lei
1c8c6a48af Spreadsheet: fix range selection 2022-06-12 13:51:09 +02:00
Yorik van Havre
4e8dfb152d Merge pull request #7004 from Roy-043/Arch-ArchSectionPlane-always-showed-plan-symbols-of-windows
Arch: ArchSectionPlane always showed plan symbols of windows
2022-06-12 11:58:40 +02:00
Yorik van Havre
05301abfcb Merged crowdin translations 2022-06-12 11:56:37 +02:00
Uwe
c33eaef4c9 [FEM] point filter: fix data display for coordinate change
- not only by clicking the data must be shown, also by changing a single coordinate value in the dialog.
2022-06-12 04:51:19 +02:00
Uwe
409ccfaaf8 [FEM] fix color bar handling of point filter
- recoloring the gradient bar for a single point is senseless. One therefore already got dozens of errors that max = min in the console. Therefore don't recolor for point filters
2022-06-12 04:02:11 +02:00
Uwe
64e6e7a781 [FEM] fix point filter output
fixes #7008:

- the point data must be read also when the center changed
- when the dialog is called it has only the value for the current field, thus recompute the feature to fill all fields with data
- on clicking on a mesh point display the value at the clicked position
- due to the object's recomputation at the start, a complete recomputation (for the whole pipeline) is needed on closing the dialog
2022-06-12 03:34:02 +02:00
Uwe
94e376346e [FEM] fix display of point filter
- results of 1e8 or 1e-7 in fixed notation are almost unreadable, therefore use scientific notation if necessary
2022-06-12 01:05:26 +02:00
wmayer
6639146f2e PD: allow to set object in shape binder dialog by typing its name 2022-06-12 00:38:48 +02:00
Uwe
658d2b26e9 [FEM] point filter: fix initialization issue
- we cannot assume to have a geometry at position (0, 0, 1) this initialize at (0, 0, 0)
- also don't hardcode the unit in the UI file

- also fix wrong property description
- property "Radius" is not used in the code and it seems it is only there as copy paste bug once the point filter was implemented. However close to a release, keep the property and just mention it is unused.
2022-06-12 00:25:58 +02:00
wmayer
cbad816a3f PD: use WeakPtr to avoid any possible dangling pointers 2022-06-11 23:37:33 +02:00
VM4Dim
9a4af08b71 Fix for non-Latin Group name in Tree View 2022-06-11 15:24:25 -04:00
wmayer
0a5f47fe03 PD: show object label instead of internal name in shape binder dialog 2022-06-11 21:00:15 +02:00
wmayer
36208f38e0 Test: [skip ci] extend test for issue #6949 2022-06-11 16:10:09 +02:00
0penBrain
7892f31c31 Expression: add unit test for issue #6948 2022-06-11 15:59:06 +02:00
0penBrain
d96a7ac9d8 [Bugfix] Expression: fix precedence+associativity management in parenthesis removal
Fixes #6948
2022-06-11 15:59:06 +02:00
wmayer
b7d8d26c52 Part: do not expect a face to be infinite if meshing it has failed
See https://forum.freecadweb.org/viewtopic.php?p=601240#p601240
2022-06-11 13:01:15 +02:00
Uwe
64f9edf52c [FEM] fix unit handling of filter functions
- the function properties use already units but the dialogs were unitless
2022-06-11 04:54:51 +02:00
Uwe
27de11d82f [skip CI] [FEM] sort UI file
I forgot to use our UI sorter
2022-06-11 04:46:21 +02:00
Uwe
a002957cb4 [skip CI] [FEM] whitespace and comments to keep overview 2022-06-11 04:28:21 +02:00
Uwe
dffe68ba73 [Path] fix compilation with precompiled headers
- also sort includes to keep overview
2022-06-11 00:56:00 +02:00
Wanderer Fan
bc92b424d6 [TD]fix icons for dark schemes 2022-06-10 17:49:43 -04:00
Roy-043
0cf6c7d61b Arch: ArchSectionPlane always showed plan symbols of windows 2022-06-10 22:32:45 +02:00
sliptonic
065e2ab988 Merge pull request #6886 from younghang/master
Path: Fix PointProjectionFailed
2022-06-10 09:06:38 -05:00
Uwe
8bcab38d76 [FEM] fix unit handling of line filter
- in contrary to other filters the properties have no unit handling
(there are several bugs in line filter and to fix them, unit handling is necessary)
2022-06-10 14:17:42 +02:00
Uwe
6e1fc33efd [skip CI] [FEM] fix initialization mistake
- initial point should be (0, 0, 0)
  (mistake introduced by me today)
2022-06-10 14:11:42 +02:00
Uwe
2aa6d0f02a [FEM] fix illegal storage access in point filter
- occurred when changing Field to "None"

- also remove doubled and unused code and add a blank line to separate the different filters in the code better
2022-06-10 13:16:23 +02:00
Yorik van Havre
3af0623431 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
6aaa94d2f2 Updated ts files 2022-06-10 10:29:18 +02:00
Uwe
1145a9a06e [FEM] fix unit handling of point result filter
- the App part used already units but the dialog worked unitless. This is error-prone and confusing. Therefore use unit widgets in the dialog.
- also fix issue that unit was not reset (after e.g. a temperature maybe a unitless strain should be shown)
2022-06-10 04:20:25 +02:00