Commit Graph

29564 Commits

Author SHA1 Message Date
sliptonic
bd7e5c210b Merge pull request #7178 from sliptonic/bug/misc
[Path]  Several small bug fixes
2022-07-13 17:34:21 -05:00
Wanderer Fan
5abbfd7087 [TD]fix crash on body with no shape 2022-07-13 14:31:16 -04:00
Bernd Hahnebach
edcd16afaf FEM: Python code formatting 2022-07-13 12:04:52 +02:00
Uwe
c76913454a [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
c7aca5b5d2 [FEM] [skip CI] electrostatic: remove unused code 2022-07-13 03:23:19 +02:00
Uwe
c8064ed059 [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
e141910597 Fixes #7164 2022-07-12 14:15:52 -05:00
sliptonic
a78d504ea4 remove G53 from fixture list 2022-07-12 13:24:05 -05:00
sliptonic
ea1236664c Avoid python 3.6 error.
subprocess doesn't have capture_output.
Use subprocess.PIPE instead.
2022-07-12 12:23:06 -05:00
sliptonic
f4f37ecdd1 G38 fixes for probe visualization per mlampert 2022-07-12 12:22:36 -05:00
sliptonic
c4c553617f minor black fixes 2022-07-12 12:22:36 -05:00
sliptonic
842fd4772b 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
99262f6356 FEM: extend codespell command in code conventions 2022-07-12 15:04:26 +02:00
Bernd Hahnebach
bbbd4d07bf 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
e49abfb350 FEM: python code formatting 2022-07-12 15:04:26 +02:00
Roy-043
202f4fdc7f Draft: Fix EditMode for hatch, facebinder and shapestring 2022-07-12 13:30:01 +02:00
Bernd Hahnebach
ff802c7274 FEM: elmer solver writer, add some comment in the regard of units 2022-07-12 11:35:45 +02:00
Wanderer Fan
452c2ce7e7 [TD]fixes for 8c0ab46b4d 2022-07-11 22:57:46 -04:00
Peter Marquardt
5267658651 Draft: fix spacing of ToolTip text 2022-07-12 02:59:30 +02:00
LarryWoestman
e7a8fd18e0 Path: Reformatted to a line lenght of 88 using black. 2022-07-11 15:09:15 -07:00
LarryWoestman
62d8d8b993 Path: Added 4 refactored postprocessors and postprocessor tests. 2022-07-11 15:09:15 -07:00
LarryWoestman
8265de7b55 Path: Moved all of the global values to a dictionary named "values". 2022-07-11 15:09:14 -07:00
sliptonic
ff5e3734da Lower level discrete tests for Linuxcnc post 2022-07-11 15:09:14 -07:00
wmayer
e24cd8f03c Part: [skip ci] fix possible build failure 2022-07-11 11:12:45 +02:00
wmayer
732e6d9cee Sketch: [skip ci] fix -Wsign-compare 2022-07-11 11:08:52 +02:00
Uwe
5d389e3835 [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
07fab3e4f8 [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
713e160731 [FEM] remove doubled slots from preferences UI files 2022-07-10 17:25:19 +02:00
wehrle
a236ca843f correction 2022-07-10 13:43:46 +02:00
Uwe
4de0e6fb19 Revert "[Gui] preferences: add button to switch gradient colors"
This reverts commit 25ffc89063.
2022-07-10 02:20:58 +02:00
Uwe
25ffc89063 [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
b3c0e7bc5a [Gui] [skip CI] DlgPreferencesImp: a code style improvement 2022-07-10 00:14:34 +02:00
Uwe
19530b337f [Part] [PD] add preferences setting for transparency
- allow to specify the default transparency for new shapes
2022-07-09 23:24:17 +02:00
Benjamin Bræstrup Sayoc
a014cac3c3 [TechDraw] Alphabetize TechDraw.qrc for readability 2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
43f6c17942 [TechDraw] Rename icon filenames for consistency 2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
8c0ab46b4d [TechDraw] Improve readability of commands 2022-07-09 13:07:30 -04:00
Uwe
bf606e980c [Part] AppPartPy.cpp: compilation fix for precompiled headers 2022-07-09 19:04:40 +02:00
Uwe
162a39fb8c [Part] Geom2d*: add more necessary includes
- these gp_* inlcudes are weird
2022-07-09 18:43:18 +02:00
Uwe
92129e83a1 [Part] ShapeFix: remove unneeded includes
- also sort includes
2022-07-09 18:30:04 +02:00
Uwe
3c369285ce [Part] Geom2d*: add more necessary includes 2022-07-09 18:28:36 +02:00
Uwe
fc96cee7d5 [Part] Geom2d*: add necessary includes 2022-07-09 18:15:02 +02:00
Uwe
53d67a537a [Part] Geom2d: remove unneeded includes
- also sort includes
2022-07-09 17:57:53 +02:00
Uwe
a09f04ded6 [Part] ChFi2d_FilletAlgoPyImp.cpp: add necessary include 2022-07-09 17:28:22 +02:00
Uwe
494cedd863 [Part] ChFi2d etc.: remove unneeded includes
- also sort includes
2022-07-09 17:13:38 +02:00
Uwe
6f28ba4eb8 [Part] FeaturePart*: remove unneeded includes
- also sort includes
2022-07-09 16:57:06 +02:00
Uwe
c7a6bcef58 [Part] FeatureRevolution.cpp: add necessary includes 2022-07-09 16:37:26 +02:00
Uwe
ea0c3e8598 [Base] fix a -Wunused CI compiler warning 2022-07-09 16:23:04 +02:00
Uwe
4bbd240e5f [Part] FeatureExtrusion.cpp: add necessary include 2022-07-09 16:20:24 +02:00
Uwe
7030956099 [Part] Feature*: remove unneeded includes
- also sort includes
2022-07-09 15:59:22 +02:00
Uwe
a54c2ed21b [Part] Arc*: remove unneeded includes
- also sort includes
2022-07-09 14:38:13 +02:00