Commit Graph

31089 Commits

Author SHA1 Message Date
Kevin Martin
8b36716bf8 Remove reference to a trademarked name 2023-03-27 09:11:52 -04:00
Kevin Martin
375e94dc3a Fix encoding error for import from older DXF files
The C++ importer incorrectly treated the contents of all TEXT and MTEXT
objects as beind encoded as UTF-8, but this is not true for DXF files
before AutoCAD 2007, where the encoding is "plain ASCII" plus some in-band
\U+dddd encoding. This would cause errors if the text contained non-ASCII
characters such as the Degree Sign.

This change causes the correct encoding to be used.
2023-03-27 07:14:07 -04:00
Adrian Schröter
3bd3a7de9a 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
351a25681a Material: fix icon path 2023-03-27 11:27:32 +02:00
wmayer
6a4fdceaff Mesh: fix -Wclazy-connect-by-name 2023-03-27 11:22:21 +02:00
wmayer
82b168da15 Mesh: fix some clang-tidy warnings 2023-03-27 11:22:21 +02:00
Andrew
bebadad9bf clean Mod/Mesh from #if 0 2023-03-27 11:22:21 +02:00
Yorik van Havre
ff5df2ce1f Merge pull request #9021 from chennes/draftDXFImportFix
Draft: Handle wantedLayer is None
2023-03-27 10:12:23 +02:00
Chris Hennes
cb10dbcceb Merge pull request #9068 from chennes/addonManagerExtractPysideInterface
Addon Manager: Extract PySide QtCore interface
2023-03-26 20:45:25 -05:00
Chris Hennes
506b93a4c5 Addon Manager: Pylint and Black cleanup 2023-03-26 20:18:05 -05:00
Uwe
9ebca4aec5 [FEM] [skip ci] add tooltip to a preferences option 2023-03-27 02:53:11 +02:00
Chris Hennes
d8e6260d61 Addon Manager: Extract PySide QtCore interface 2023-03-26 18:45:01 -05:00
Chris Hennes
fd1a8dc85a Merge pull request #9067 from Pesc0/removesix
remove remaining six dependencies
2023-03-26 17:36:47 -05:00
Pesc0
8e142f7a2e add TODO in Mod/Path/Base/Util.py 2023-03-26 23:56:01 +02:00
Pesc0
1c093e8729 remove remaining six dependencies 2023-03-26 23:39:00 +02:00
Uwe
afecf62faf [FEM] [skip ci] add tooltip to preferences options 2023-03-26 21:25:33 +02:00
Andrew
1eaf8a724e Clean Mod/Part. remove old OCC <7.3 and #if 0 code. 2023-03-26 21:17:18 +02:00
Uwe
53de24ae2d [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
77799d5ec4 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
e90347e3f7 [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
3e139a2eb1 add generated code chnages, remove unused file and add bison *.output to gitignore 2023-03-26 18:48:59 +02:00
CarlOlson
b778a28b8a update expression grammar to handle parens around cond 2023-03-26 18:48:59 +02:00
wmayer
991a7c1a4b Gui: refactor MacroManager 2023-03-26 18:41:56 +02:00
wmayer
7c2b91cfdc PD: do not record Gui command as Doc command 2023-03-26 18:41:56 +02:00
wmayer
651029e774 Sketch: fix trailing whitespaces of recorded sketcher commands 2023-03-26 18:41:56 +02:00
wmayer
a2579ebb92 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
cdb47d2f4f NotificationArea: Preference pages clang-formatting 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
699d8a83ec NotificationArea: Preference page to control warnings and errors 2023-03-26 11:33:57 +02:00
Abdullah Tahiri
8608c6a845 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
8321a9defb Console: wrong alignment 2023-03-26 11:33:57 +02:00
Uwe
bd2b95562b [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
b0eec67163 [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
Uwe
e0695a18c8 [FEM] Elmer: add missing deformation info
- also some formatting changes done by clang
2023-03-26 09:32:56 +02:00
wandererfan
181c7ba5eb [TD]fix bad 3d dimensions
- mapToPage was left in place when converting to using
  projectPoint instead of projectToPlane.
2023-03-25 18:14:26 -04:00
Uwe
9af1a451ba [TD] QGIViewDimension.h: fix compiler warning
- about unused private field
2023-03-25 21:03:40 +01:00
Uwe
3ddb996c04 [FEM] App: improve PreCompiled.h
- remove unused includes
- sort entries and remove duplicates
2023-03-25 19:22:57 +01:00
Uwe
a76403df4c [FEM] Gui: improve PreCompiled.h
- only include necessary Qt files
- remove unused OCC includes
- sort entries and remove duplicates
2023-03-25 18:34:01 +01:00
Chris Hennes
249b7db3dd Merge pull request #9012 from wwmayer/fix_from_string
App: in PropertyPythonObject::fromString only assign a dict to __dict…
2023-03-25 12:32:44 -05:00
wmayer
c0a0ddf1e0 Gui: by default restore the last visited page in the preferences dialog
See also: https://forum.freecad.org/viewtopic.php?t=77071
2023-03-25 18:23:09 +01:00
Chris Hennes
3d6c9a4cc1 Merge pull request #9047 from chennes/addonManagerFixRepeatedTests
Addon Manager: Fix tests breaking on second run
2023-03-25 11:02:45 -05:00
Chris Hennes
3b6cbc3f67 Merge pull request #8974 from chennes/toponamingMappedElement
App/Toponaming: Add MappedElement
2023-03-25 10:56:55 -05:00
Chris Hennes
ce50ab5036 Addon Manager: Fix tests breaking on second run 2023-03-25 10:27:51 -05:00
Uwe
f0796014bc [FEM] Elmer: fix transient analyses
- different time results were never output, only the final one
  the reason is that the Output Intervals intervals property was missing
- a second reason was that the result scaling solver must be executed every time an output should be generated
- the BDF Order property is a transient-only property
2023-03-25 12:29:10 +01:00
Uwe
79842733ac [FEM] revert f3cebc81379 2023-03-25 11:38:03 +01:00
marioalexis
fc8cc7e728 Fem: Remove unnecessary type check for active analysis 2023-03-25 08:54:01 +01:00
Uwe
831f001026 [FEM] update transient analysis example file
- get outputs every 25 % and the last one is the final time
2023-03-25 05:48:14 +01:00
Uwe
954fa3f506 [FEM] Elmer: fix transient analyses
- different time results were never output, only the final one
  the reason is that the Output Intervals intervals property was missing
- a second reason was that the result scaling solver must be executed every time an output should be generated
- the BDF Order property is a transient-only property
2023-03-25 05:48:02 +01:00
xtemp09
73929ad90f [Sketcher] Fix segmentation fault in ViewProviderSketch::setEdit
Closes #8979
2023-03-25 00:02:32 +01:00
Kevin Martin
aaec21965a [Import] DXF: correction to documentation
Correction to documentation comment noticed while addressing these issues.
The comment for readDXF did not document its fourth option_source argument.
2023-03-24 23:03:52 +01:00
Uwe
96d1fb6e50 [FEM] only show toolbar button for available solvers
- if there is e.g. no Z88 solver available, there is no need to pollute the toolbar with an icon for it
2023-03-24 22:41:48 +01:00