Commit Graph

21951 Commits

Author SHA1 Message Date
Uwe
66e8a2bef3 [Spreadsheet] remove Python.h and Xerces 2022-03-20 20:44:17 +01:00
Uwe
b037d8e240 [PD] remove unused Xerces 2022-03-20 20:43:02 +01:00
Uwe
fe213a48f0 [Part] remove unused Xerces 2022-03-20 19:37:20 +01:00
wmayer
21404f319b Path: fix assignment operator of CLine
* Assignment operator in class CLine should have return type CLine&. Otherwise a copy is created at each call.
2022-03-20 19:32:32 +01:00
wmayer
8b72d595d6 Mesh: [skip ci] remove superfluous semicolon 2022-03-20 19:31:35 +01:00
Uwe
ee0b9be87c [Measure] remove unused file 2022-03-20 19:26:22 +01:00
luz paz
1db77d367c AddonManager: remove superfluous 'pass' per LGTM
ref: https://lgtm.com/rules/910088/
2022-03-20 14:21:57 -04:00
Daniel Wood
deea933a23 [Material] evaluate the number of columns correctly when rebuilding the FCMats (#5910)
* evaluate the number of columns correctly.
* simplify awk command
2022-03-20 19:20:29 +01:00
Uwe
24176431fb [Inspection] remove Python.h from headers
is not necessary anymore
2022-03-20 18:09:46 +01:00
Uwe
ccc5198815 [Measure] remove unused includes 2022-03-20 17:56:00 +01:00
Uwe
00ffc38850 [Measure] remove Python.h from headers
is not necessary anymore
2022-03-20 17:41:04 +01:00
wmayer
c9a0fae9db lgtm: [skip ci] FIXME comment
Change FIXME or remove it
2022-03-20 16:51:23 +01:00
sliptonic
166e4a3e1e Merge pull request #6616 from FreeCAD/Path/LGTM-pas
Path: remove superfluous 'pass' per LGTM
2022-03-20 10:41:40 -05:00
wmayer
cb81addfa1 Mesh: [skip ci] lgtm: Multiplication result converted to larger type
Multiplication result may overflow 'float' before it is converted to 'double'.
2022-03-20 15:53:04 +01:00
Uwe
8f894ebefe [Part] remove Python.h from headers
seems not to be necessary anymore
2022-03-20 14:16:55 +01:00
Uwe
d06dc1527c [PD] remove Python.h from headers
seems not to be necessary anymore
2022-03-20 14:16:41 +01:00
wmayer
c3aebfeb1e MeshPart: suppress incorrect warning with clang/MSYS 2022-03-20 13:45:43 +01:00
wmayer
fdf5df5645 Fem: [skip ci] change include order to fix compiler warning due to a re-defition of a macro in a Python header 2022-03-20 13:44:55 +01:00
Uwe
d355b9d9e2 [Part] fix TaskFaceColors dialog
fixes these issues:
- the actual or chosen color is never displayed in the dialog's color button (it was there but with zero transparency)
- after a color has been set one does not see it (because the changed faces were still highlighted and got the highlight color)
2022-03-20 05:41:34 +01:00
luz paz
8939e3a2eb Path: remove superfluous 'pass' per LGTM
ref: https://lgtm.com/rules/910088/
2022-03-19 20:06:48 -04:00
wmayer
a999a249e3 Qt: remove some more leftovers of Qt4 2022-03-19 23:27:28 +01:00
andrea reale
13e09b36f8 remove QT4 references 2022-03-19 23:07:38 +01:00
sliptonic
06959ededb Merge pull request #6575 from Russ4262/fix/rebuild_empty_job_with_gui
Path: Extend Job integrity check to GUI side, issue #6207 [Bug]
2022-03-19 15:44:28 -05:00
Chris Hennes
21ac5f9a9c Addon Manager: Add py-slvs to allowed packages
Used by ASM3, and maintained by @realthunder.
2022-03-19 12:32:59 -05:00
Uwe
8ccc661379 [FEM] adapt a test to previous commit
(I run of course all tests using the Test Framework WB but did not get an error.)
2022-03-19 18:09:14 +01:00
Uwe
29f5e78583 [FEM] proper Elmer input file write solution
- assure that independent on the used unit scheme, SI units are written to the Elmer input file
- reverts commits https://github.com/FreeCAD/FreeCAD/commit/4a7f7a0faa and https://github.com/FreeCAD/FreeCAD/commit/28a4f6aef
2022-03-19 17:48:11 +01:00
wmayer
90d546d1e7 Fem: replace raw pointer with WeakPtrT to check if the object has been deleted, fix crash in destructor of TaskFemConstraintOnBoundary 2022-03-19 15:37:31 +01:00
Uwe
00ea879bfd [FEM] change example to fit with Elmer's tutorial
- this example is the Elmer tutorial number 13: https://www.nic.funet.fi/pub/sci/physics/elmer/doc/ElmerTutorials.pdf and they use a potential of 1.0, since Elmer uses SI units, it is 1.0 V
2022-03-19 15:29:55 +01:00
Uwe
e7f1fd5444 [Part] TaskFaceColors: remove unused includes
- also some code style fixes by MSVC and sorting
2022-03-19 15:16:09 +01:00
wmayer
2ad512f14b Sketcher: [skip ci] close directory in unit test 2022-03-19 13:54:59 +01:00
Uwe
c360c6e5f5 [FEM] electrostatic dialog revision
- use a quantity spinbox and do simple signal/slot handling in the UI file
2022-03-19 05:01:23 +01:00
Uwe
aba3d40b2f [FEM] forgot this test case in previous commit 2022-03-19 03:51:06 +01:00
Uwe
258bce7261 [FEM] update test files to previous Elmer fixes 2022-03-19 03:34:18 +01:00
Uwe
28a4f6aefa [FEM] fix vacuum permittivity for the Elmer solver
also a missing fix for the density
2022-03-19 03:06:27 +01:00
Uwe
4a7f7a0faa [FEM] fix the Elmer solver writer
- fixes #6604
as it was, Elmer was almost unusable because most values were input with wrong units to Elmer.
Elmer uses pure SI units

ToDo: fix the still wrong Vacuum permittivity
2022-03-19 01:53:26 +01:00
Uwe
4fa884a2cf [FEM] [skip CI] improve electrostatic dialog
- to gain more horizontal space
2022-03-19 01:50:37 +01:00
Uwe
66a5cd1a49 [Part] Section cut: add missing color handling for the cut faces
- the color was not handled at all and thus was often criticized
2022-03-18 17:05:47 +01:00
sliptonic
94c32d9a46 Merge pull request #6590 from sliptonic/feature/warnlegacy
[Path]  Warn user if enabling legacy tools
2022-03-18 10:46:42 -05:00
Wanderer Fan
c9f6aea463 [TD]fix default scale 2022-03-18 08:21:21 -04:00
Uwe
b98ada4c07 [Part] Section Cut: add missing handling of valueChanged
- when the user changed the value without moving the slider (e.g. by clicking), nothing happened
2022-03-18 06:26:12 +01:00
Chris Hennes
1fb1524492 Test: Change Metadata exception tests to use assertRaises 2022-03-17 19:09:01 -05:00
Uwe
e3f6fa6661 [skip CI] [FEM] cleanup SVG code of new icon 2022-03-18 00:45:08 +01:00
Uwe
1293eb2116 [FEM] add icon for the new supported MYSTRAN solver 2022-03-18 00:18:25 +01:00
Uwe
5f5e5a4b35 [skip CI] [FEM] save an icon as plain SVG 2022-03-18 00:16:57 +01:00
Uwe
2cb9ddddae [FEM] task dialogs: remove unused includes
- also some code style fixes from MSVC
2022-03-17 23:31:17 +01:00
Uwe
7d692a82db [FEM] save new icon as plain SVG 2022-03-17 22:38:09 +01:00
Uwe
4e7b96d250 [FEM] add missing preferences settings
- since 0.19 we support to check meshes
- since 0.20 we support buckling

- also revise dialog to get rid of arbitrary limits etc.
2022-03-17 22:33:56 +01:00
Uwe
9590317cd9 [FEM] settings dialogs: uniform width
- some minor changes automatically done by Qt Designer
2022-03-17 21:47:58 +01:00
Uwe
d00e52c81d [FEM] settings dialogs: remove unused includes 2022-03-17 21:27:46 +01:00
Uwe
1ddb4d27e7 [FEM] remove unused headers from WBs main files
- also some code style fixes by MSVC
2022-03-17 20:33:33 +01:00