Commit Graph

31107 Commits

Author SHA1 Message Date
wmayer
c26dc2e685 Gui: do not change size properties when loading an image 2023-03-28 11:45:44 +02:00
Uwe
548f9ce072 [FEM] TaskFemConstraintTemperature: remove unused function 2023-03-28 05:42:36 +02:00
luzpaz
229518d392 OpenSCAD: linting OpenSCADCommands.py
Fixes bad indentation, seperate import statements, remove py2 syntax
2023-03-28 01:41:55 +00:00
Uwe
642b8b3196 [FEM] Transform constraint overhaul
- fix warning about local scope
- make the angles a PropertyAngle to handle the unit
- also fix some too long code lines
2023-03-28 02:11:36 +02:00
Uwe
5a1bd28631 [PD] FeaturePipe.cpp formatting fixes
- remove commented includes (once mistakenly added by me)
- also fix too long lines
2023-03-28 01:56:30 +02:00
Uwe
49acbb2c65 [FEM] Temperature constraints overhaul
- fix bug that changing constraint type in dialog lost flux value
- accept and not immediately save any changed value
- make the temperatures a PropertyTemperature to get rid of hacks
- also fix some too long code lines
2023-03-28 01:23:47 +02:00
luzpaz
a68dabbd7f OpenSCAD: removed deprecated python2 unicode string
Removed redundant python2 unicode syntax from `OpenSCADUtils.py`
2023-03-27 19:53:40 +00:00
Uwe
98ed45b3f1 [FEM] ConstraintDisplacement: fix property conversion
- as the comment correctly wrote it was a PropertyFloat before and PropertyDistance after - fox the routine accordingly
2023-03-27 21:29:52 +02:00
Andrew
a75f194af7 Remove unused mod complete 2023-03-27 19:45:57 +02:00
luzpaz
c2ddf26e14 OpenSCAD: linting OpenSCAD2Dgeom.py
Fix bad indentation and separate import statements
2023-03-27 16:44:26 +02:00
alexneufeld
655066a135 Explicitly use App.Vector in docstrings 2023-03-27 16:34:28 +02:00
alexneufeld
3628c3055c fix incorrect docstring for Part.Shape.extrude method 2023-03-27 16:34:28 +02:00
luzpaz
87154535ed OpenSCAD: linting OpenSCADFeatures.py
Fix bad indentation and separated import statements
2023-03-27 16:31:18 +02:00
wmayer
ca935a49f3 Part: make PropertyGeometryList more permissive
Since not all Geometry sub-classes fully implement Save() / Restore() raising an exception instead may invalidate a project. To avoid this
PropertyGeometryList now explicitly handles NotImplementedError exceptions.

See also: https://forum.freecad.org/viewtopic.php?t=77148
2023-03-27 16:09:33 +02:00
Yorik van Havre
3e1528a714 Draft: Better DWG export message - issue #8887 (#8893)
* Draft: Better DWG export message - issue #8887
2023-03-27 16:03:04 +02:00
wmayer
4b982a3dbd Gui: filter category qt.svg 2023-03-27 15:50:34 +02:00
wmayer
64771f3d4d Gui: fix some lint warnings 2023-03-27 15:49:17 +02:00
wmayer
5e257feb65 Gui: add method isEnabledDecimalPointConversion() to Translator
and use it in DlgGeneralImp::setDecimalPointConversion to fix annoying warning in debug builds
2023-03-27 15:49:17 +02:00
Chris Hennes
2368d2cc11 Merge pull request #9074 from Pesc0/fixtypo
Fix typo in Mod/OpenSCAD/prototype.py
2023-03-27 08:47:17 -05:00
Adrian Schröter
f91ad00ed2 libE57Format: fix compile using gcc13
Adding missing header file. Also submitted this upstream here:

https://github.com/asmaloney/libE57Format/pull/243
2023-03-27 12:52:18 +02:00
wmayer
2801f07221 Material: fix icon path 2023-03-27 11:27:32 +02:00
wmayer
611ed8f56a Mesh: fix -Wclazy-connect-by-name 2023-03-27 11:22:21 +02:00
wmayer
f6d9a8a345 Mesh: fix some clang-tidy warnings 2023-03-27 11:22:21 +02:00
Andrew
bf57f49a2e clean Mod/Mesh from #if 0 2023-03-27 11:22:21 +02:00
Pesc0
30d85a1d56 Fix typo in Mod/OpenSCAD/prototype.py 2023-03-27 11:14:08 +02:00
Yorik van Havre
4c1e17aae0 Merge pull request #9021 from chennes/draftDXFImportFix
Draft: Handle wantedLayer is None
2023-03-27 10:12:23 +02:00
Chris Hennes
ba835c7b92 Merge pull request #9068 from chennes/addonManagerExtractPysideInterface
Addon Manager: Extract PySide QtCore interface
2023-03-26 20:45:25 -05:00
Chris Hennes
a5ddf3d255 Addon Manager: Pylint and Black cleanup 2023-03-26 20:18:05 -05:00
Uwe
a5a73aceca [FEM] [skip ci] add tooltip to a preferences option 2023-03-27 02:53:11 +02:00
Chris Hennes
fcda1ffc25 Addon Manager: Extract PySide QtCore interface 2023-03-26 18:45:01 -05:00
Chris Hennes
66a738ab1e Merge pull request #9067 from Pesc0/removesix
remove remaining six dependencies
2023-03-26 17:36:47 -05:00
Pesc0
017b2b7f2d add TODO in Mod/Path/Base/Util.py 2023-03-26 23:56:01 +02:00
Pesc0
42cb756522 remove remaining six dependencies 2023-03-26 23:39:00 +02:00
Uwe
e2b3a5d2f7 [FEM] [skip ci] add tooltip to preferences options 2023-03-26 21:25:33 +02:00
Andrew
b916c387fb Clean Mod/Part. remove old OCC <7.3 and #if 0 code. 2023-03-26 21:17:18 +02:00
Uwe
b9864e7b0a [Sketch] placecgs: remove unused includes
- also sort includes
- also fix too long lines etc. (done by clang formatter)
2023-03-26 20:27:18 +02:00
Abdullah Tahiri
da76caa13e NotificationArea: Correct painting position
===========================================

QT has a open bug regarding filling the contents of a QMenu in aboutShow:
https://bugreports.qt.io/browse/QTBUG-54421

This commit presents a work-around this bug.

The two step procedure of this commit, forces a recalculation of the size
from the slot and then manually moves the widget to the right position.
2023-03-26 20:26:20 +02:00
Uwe
b08db09cf6 [FEM] fix binary check
- the current implementation only considers explicitly given binaries (with full path) and ignores the setting to check the environment paths
- also remove 2 trailing whitespaces
2023-03-26 19:35:20 +02:00
CarlOlson
7a00359fda add generated code chnages, remove unused file and add bison *.output to gitignore 2023-03-26 18:48:59 +02:00
CarlOlson
926c1253af update expression grammar to handle parens around cond 2023-03-26 18:48:59 +02:00
wmayer
5ba1f1f5d4 Gui: refactor MacroManager 2023-03-26 18:41:56 +02:00
wmayer
5ad97548ca PD: do not record Gui command as Doc command 2023-03-26 18:41:56 +02:00
wmayer
506615042e Sketch: fix trailing whitespaces of recorded sketcher commands 2023-03-26 18:41:56 +02:00
wmayer
07cf291516 Core: support to load old project files containing image planes
See forum: https://forum.freecad.org/viewtopic.php?p=670545#p670545
2023-03-26 13:51:07 +02:00
Abdullah Tahiri
251022cfc9 NotificationArea: Preference pages clang-formatting 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
ef84d56970 NotificationArea: Preference page to control warnings and errors 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
ddd9a97211 NotificationArea: subscription to errors and warnings
=====================================================

Subscription to errors and warnings is controlled by parameters.
2023-03-26 11:33:57 +02:00
Abdullah Tahiri
d06e99ae34 Console: wrong alignment 2023-03-26 11:33:57 +02:00
Uwe
4e977be134 [FEM] proper support for transient analyses
- for the first time ever you get now for every time step a result in FreeCAD
- this way also change output filename prefix to "FreeCAD" to avoid we depend on the default name Elmer gives and that was already changed in the past and to distinguish the *.vtu files from those created e.g. directly by ElmerGui
- also remove an unnecessary output to the case.sif file
2023-03-26 10:00:45 +02:00
Uwe
0a38b04c88 [FEM] change example file
- make mesh more coarse to save calculation time
- since it is the example for transient solving, get one more result
2023-03-26 09:52:32 +02:00