Commit Graph

23072 Commits

Author SHA1 Message Date
Uwe
12440921bb [FEM] Elmer: fix python error when solver failed
we must then stop the execution of the script
2022-07-25 02:54:12 +02:00
wmayer
a399f044c0 Image: [skip ci] Fix several clazy issues:
* Missing emit keyword on signal call ImageGui::ImageView::closeEventIgnored [-Wclazy-incorrect-emit]
2022-07-25 01:21:23 +02:00
wmayer
45f534bc32 Mesh: Fix several clazy issues:
* Use multi-arg instead [-Wclazy-qstring-arg]
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Using copy-ctor but class SbMatrix has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-25 01:14:40 +02:00
Uwe
20c770c899 [FEM] ViewProviderDocumentObject: fix parenthesis mistake
(I don't know how this happened)
2022-07-24 19:25:53 +02:00
Uwe
8e7e057430 [FEM] fix color bar handling on hiding post objects
- fixed the remaining part of #7230: on hiding an object, refresh the color bar of the new visible object (if there is any)
2022-07-24 19:17:24 +02:00
Uwe
864c9ecac5 [FEM] set default selection mode to BoundBox for post objects
- this fixes a long-standing annoyance that popped up also from time to time in the forum:
  the post objects deliver information via its coloring but a selection in the tree changed the shape color

Even experienced users like me did not know about the SelectionStyle property and always had to click into the model to see the real color, not the selection color.
Therefore SelectionStyle set to BoundBox is sensible as default settings for post objects since this assures that the users always see the right coloring.
2022-07-24 16:24:01 +02:00
Uwe
c1946884d8 [FEM] fix regression of missing stress results
- fixes the regression that went in short as "last minute fix": commit 3af54a7dda -> fixes #7242

- also remove a doubled entry in an IF
2022-07-24 05:41:33 +02:00
wmayer
fed9f20f48 Import: use Part::ImportExportSettings to access parameters 2022-07-23 21:58:51 +02:00
wmayer
b00044c656 Part: initialize controls of DlgImportExportStep with ImportExportSettings 2022-07-23 21:16:04 +02:00
wmayer
710e16b340 Part: implement class ImportExportSettings for consistent parameter access 2022-07-23 21:15:22 +02:00
Uwe
057e90bf29 [FEM] TaskBoxes: add missing info about transparency
The user had no info about the current transparency nor the value he will be selecting.
2022-07-23 19:41:18 +02:00
Uwe
689737b443 [FEM] better fix for missing colorbar update for FemPostObject
- better fix for #7230 because we can call the direct paint method and because the bar is now also updated when the object is shown

- also add a ToDo note
2022-07-23 16:57:16 +02:00
Uwe
cce5de8087 [Path] remove check for python 2 2022-07-23 15:12:35 +02:00
Uwe
adff3da37a [FEM] task_material_common: add a comment 2022-07-23 14:22:48 +02:00
Uwe
1f7374edf1 [FEM] fix material task dialog for fluids
- this fixes a mistake from commit ef088674
- it also consistently use the thermal expansion coefficient
- add code comments

now the material task dialog works with all fluid materials without errors or warnings
2022-07-23 04:59:10 +02:00
Syres916
44a3582923 [Part] Bugfix Primitives correction of decimal..
...places on creation
See https://forum.freecadweb.org/viewtopic.php?f=3&t=70339
2022-07-23 03:27:32 +02:00
wmayer
639ff927de Part: fix TopoShape.isInside() for faces 2022-07-22 15:32:30 +02:00
Yorik van Havre
c30f21446d Merge pull request #7233 from Roy-043/Arch-Housekeeping-import-translate-from-correct-file
Arch: Housekeeping: import translate from correct file
2022-07-22 12:55:06 +02:00
Uwe
b22e5737a5 [FEM] [skipCI] ViewProviderFemPostPipeline: remove unused include
- also sorting
2022-07-22 02:08:11 +02:00
Uwe
9f9a874247 [FEM] fix missing colorbar update for FemPostObject
- fixes issue #7230

- to update the color bar for post objects, the Field property has to be reset to trigger this. This PR does this.
2022-07-22 01:20:18 +02:00
luz paz
a55f5eb1ae Fix typos in Part and TechDraw workbenches
[skip ci]
2022-07-21 15:15:35 +02:00
Roy-043
bafe141745 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Uwe
98b9ba20fe [FEM] [skip CI] fix UI file height entry
- was automatically done by QT designer
2022-07-21 03:43:26 +02:00
Benjamin Bræstrup Sayoc
6ed38eeb99 [TechDraw] Improve readability of DrawViewDetail.cpp
[TechDraw] Improve readability of DrawViewDimension.cpp

[TechDraw] Improve readability of DrawViewDimExtent.cpp

[TechDraw] Improve readability of DrawViewDraft.cpp

[TechDraw] Improve readability of DrawViewImage.cpp

[TechDraw] Improve readability of DrawViewMulti.cpp
2022-07-20 16:44:26 -04:00
edi271
a203b1ae30 [TD] Add SurfaceFinishSymbol command
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-20 16:13:56 -04:00
Wanderer Fan
111aef4866 [TD]review comments and rebase for PR7197 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
e326f9bd99 [TechDraw] Improve readability of DrawViewClip.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
3979d589a3 [TechDraw] Improve readability of DrawViewBalloon.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
b349d02496 [TechDraw] Improve readability of DrawViewArch.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
fa27525021 [TechDraw] Improve readability of DrawViewAnnotation.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
6aef122551 [TechDraw] Improve readability of DrawTile.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
380219ad7f [TechDraw] Improve readability of DrawRichAnno.cpp 2022-07-20 12:59:12 -04:00
Uwe
7ab531c51a [TD] last part of removal of superfluous nullptr checks 2022-07-20 12:17:16 +02:00
Uwe
40d8ebb372 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
1819aa9c0c [PD] TaskExtrudeParameters: add missing simplification
forgot this change in commit 98dae1b2
2022-07-20 11:35:46 +02:00
Yorik van Havre
d665c9b8d0 Merge pull request #7215 from Roy-043/Draft-Remove-unnecessary-DisplayStatusbar-preference
Draft: Remove unnecessary DisplayStatusbar preference
2022-07-20 10:45:36 +02:00
Yorik van Havre
e8fd473072 Merge pull request #7217 from manuvarkey/dev_branch_1
Arch: Add support for editing profile type, add L and T sections
2022-07-20 10:38:03 +02:00
Uwe
98dae1b217 [PD] TaskExtrudeParameters: simplify code
to avoid several time the same translatable string
2022-07-20 03:16:56 +02:00
adrianinsaval
0e22ada9dd [PD Pad/Pocket] Fix bug with midplane usage in TwoLengths mode (#7216)
* [PD Pad/Pocket] Fix bug with midplane usage in TwoLengths mode
2022-07-20 03:13:01 +02:00
Uwe
31bc9f3913 [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
8304a0942e [TD] remove more superfluous nullptr checks 2022-07-20 02:32:52 +02:00
wmayer
fba4663baa Part: add instruction how to adjust the maximum number of grid lines 2022-07-19 11:50:56 +02:00
Uwe
af18a97913 [TD] Gui: remove more superfluous nullptr checks 2022-07-19 03:40:32 +02:00
Uwe
43f289f27a [PD] [skip CI] FeatureExtrude.cpp: fix a comment 2022-07-19 03:30:48 +02:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Uwe
003757176c Mod: remove some more superfluous Boolean checks 2022-07-19 02:40:59 +02:00
Uwe
93796e2d92 [TD] App: remove some superfluous nullptr checks 2022-07-19 02:03:50 +02:00
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Uwe
fadd455d16 [Part] add missing part from: cleanup new preferences Feature 2022-07-19 01:16:47 +02:00
Manu Varkey
a0bea6b24f Arch: Add support for editing profile type, add L and T sections 2022-07-19 01:18:04 +05:30