Commit Graph

29532 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
b2b2f6aabf [TechDraw] Improve readability of TaskDetail.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
ec2dc0f495 [TechDraw] Improve readability of TaskCenterLine.cpp 2022-07-15 11:31:11 -04:00
wmayer
a8ac45b090 Replace std::ignore with boost::ignore_unused()
According to https://isocpp.org/blog/2016/09/quick-q-stdignore-for-ignoring-unused-variable std::ignore is not supposed to be used for this
2022-07-15 13:15:47 +02:00
Przemo Firszt
1e2b7e5a2b Update fedora spec to v0.21
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2022-07-14 17:17:50 +02:00
wmayer
0140ca6efc Gui: [skip ci] print debug information in GuiNativeEvent::tdx_drv_handler 2022-07-14 16:00:02 +02:00
wmayer
c697f3c159 Gui: [skip ci] improve whitespaces in GuiNativeEvent::tdx_drv_handler 2022-07-14 15:49:36 +02:00
wmayer
bfb544a739 Base: add convenience classes/functions that are marked as deprecated in Qt 5.15 and removed in Qt 6 2022-07-14 14:52:23 +02:00
wmayer
b1147c047a Gui: move QuiLoader for MinGW to global namespace 2022-07-14 14:44:56 +02:00
wmayer
cd93e17333 Main: simplify MainPy.cpp 2022-07-14 14:35:03 +02:00
wmayer
8ed9f1ac0e Base: [skip ci] fix regression in ~ILoggerBlocker caused by 9b984c11c3ce90 2022-07-14 14:32:52 +02:00
Yorik van Havre
2513132eac Merge pull request #7174 from Roy-043/Draft-Fix-EditMode-for-hatch,-facebinder-and-shapestring
Draft: Fix EditMode for hatch, facebinder and shapestring
2022-07-14 12:02:01 +02:00
Yorik van Havre
578c0d9a3c Merge pull request #7186 from Roy-043/Draft_Fix_Hatch_task_panel_title
Draft: Fix Hatch task panel title
2022-07-14 11:58:34 +02:00
Roy-043
c6c67b1943 Update view_hatch.py
There is no need for `Gui.Control.closeDialog()` in `setEdit`
`Set colors` removed from the context menu.
2022-07-14 09:20:25 +02:00
Roy-043
40d952dccc Update view_facebinder.py
There is no need for `Gui.Control.closeDialog()` in `setEdit`
2022-07-14 09:17:08 +02:00
Roy-043
8a45231bcd Draft: Fix Hatch task panel title
Form -> Hatch
2022-07-14 09:07:12 +02:00
sliptonic
3b6b8b285a Merge pull request #7137 from Russ4262/fix/path_array_polar
Path: Fix Type=Polar regression in PathArray
2022-07-13 18:40:24 -05:00
Marshal Horn
3a3a20da46 Replaced python2 usage of next()
iterator.next() is deprecated in python3.
next(iterator) is the direct replacement.
In some cases a for() loop makes more sense
2022-07-14 01:28:10 +02:00
Uwe
1ddb42dcb2 [FEM] femutils.py: style changes
- as requested
2022-07-14 01:21:54 +02:00
sliptonic
60abde7b74 Merge pull request #7178 from sliptonic/bug/misc
[Path]  Several small bug fixes
2022-07-13 17:34:21 -05:00
Wanderer Fan
e2eb653614 [TD]fix crash on body with no shape 2022-07-13 14:31:16 -04:00
Bernd Hahnebach
02fef68c8b FEM: Python code formatting 2022-07-13 12:04:52 +02:00
Uwe
0cc0de67b2 [Gui] ViewProviderGeometryObject: fix color and transparency
- fixes the issue reported in
https://forum.freecadweb.org/viewtopic.php?p=609353#p609353
the color and transparency are childs of the material and have to be set as such.

- also some code style fixes done automatically by MSVC
2022-07-13 05:42:21 +02:00
Uwe
1ce91df8f7 [FEM] [skip CI] electrostatic: remove unused code 2022-07-13 03:23:19 +02:00
Uwe
33a769a426 [FEM] fix solver console bugs
- for Elmer and Z88 on Windows several windows pop up (console windows). This is maybe annoying and the user is wondering what is going on, but the main problem is that when you close them, you break the solving process.
Therefore, on Windows only, hide the empty popup windows.
2022-07-13 02:51:31 +02:00
sliptonic
6364c75240 Fixes #7164 2022-07-12 14:15:52 -05:00
sliptonic
10abaee855 remove G53 from fixture list 2022-07-12 13:24:05 -05:00
sliptonic
6bc60776f6 Avoid python 3.6 error.
subprocess doesn't have capture_output.
Use subprocess.PIPE instead.
2022-07-12 12:23:06 -05:00
sliptonic
38e4182440 G38 fixes for probe visualization per mlampert 2022-07-12 12:22:36 -05:00
sliptonic
334778c3c0 minor black fixes 2022-07-12 12:22:36 -05:00
sliptonic
ccc4965d48 Merge pull request #7007 from LarryWoestman/post_refactor
Path:  (WIP) Add some refactored postprocessors along with some tests.
2022-07-12 09:29:12 -05:00
Bernd Hahnebach
c010a8e6b9 FEM: extend codespell command in code conventions 2022-07-12 15:04:26 +02:00
Bernd Hahnebach
f773f165a7 FEM: typos, found with:
codespell -q 2 -S *.ts -S *.dyn -S *.svg  -L childs,dof,dum,freez,methode,nd,normaly,programm,som,uint,vertexes,inout  src/Mod/Fem/
2022-07-12 15:04:26 +02:00
Bernd Hahnebach
41a8ed83af FEM: python code formatting 2022-07-12 15:04:26 +02:00
Roy-043
e9761691ae Draft: Fix EditMode for hatch, facebinder and shapestring 2022-07-12 13:30:01 +02:00
Bernd Hahnebach
90b0d3253e FEM: elmer solver writer, add some comment in the regard of units 2022-07-12 11:35:45 +02:00
Wanderer Fan
ac7b8026e4 [TD]fixes for 6cf4e31d7a 2022-07-11 22:57:46 -04:00
Peter Marquardt
a1c8380be3 Draft: fix spacing of ToolTip text 2022-07-12 02:59:30 +02:00
LarryWoestman
93b29c587b Path: Reformatted to a line lenght of 88 using black. 2022-07-11 15:09:15 -07:00
LarryWoestman
b2a7654c31 Path: Added 4 refactored postprocessors and postprocessor tests. 2022-07-11 15:09:15 -07:00
LarryWoestman
15360abc95 Path: Moved all of the global values to a dictionary named "values". 2022-07-11 15:09:14 -07:00
sliptonic
fc961d72a0 Lower level discrete tests for Linuxcnc post 2022-07-11 15:09:14 -07:00
wmayer
a0012ce7c0 Part: [skip ci] fix possible build failure 2022-07-11 11:12:45 +02:00
wmayer
4aecefb3cc Sketch: [skip ci] fix -Wsign-compare 2022-07-11 11:08:52 +02:00
Uwe
72c465a19c [FEM] check if solver executables exist
- currently one can enter any path for the solver executables, a check is missing

- moreover for Z88 the executable name is error-prone (just happened to me and cost me half an hour to find out what is wrong), therefore check also the correct filename. For Elmer this cannot be done since there are different executables one can choose of (e.g. for multi-threading etc.)
2022-07-11 02:23:14 +02:00
Uwe
91d7e0b896 [FEM] fix CCX multi-threading bug
- in the preferences one could specify more CPU cores than available

- also correct a label sine the number of cores are since FC 0.20 used for all CCX solver runs

- also remove unnecessary (doubled) slots from the UI file
2022-07-10 17:33:33 +02:00
Uwe
1c8eb28220 [FEM] remove doubled slots from preferences UI files 2022-07-10 17:25:19 +02:00
wehrle
a5a2401a44 correction 2022-07-10 13:43:46 +02:00
Uwe
f3a986de23 Revert "[Gui] preferences: add button to switch gradient colors"
This reverts commit 535e49f1c16311feed63097934a6175a45498f43.
2022-07-10 02:20:58 +02:00
Uwe
918f1e562a [Gui] preferences: add button to switch gradient colors
- when finding a suitable background color gradient, it is annoying that there is no button to switch the begin/end color of the gradient. With the button one can quickly see the the changes and find a suitable gradient much quicker
2022-07-10 02:19:01 +02:00
Uwe
06157e3e3d [Gui] [skip CI] DlgPreferencesImp: a code style improvement 2022-07-10 00:14:34 +02:00