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
0penBrain
4ddf99fc78
CI: enable CI cleaning for real
2023-03-26 17:53:34 +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
Uwe
67c75dad2f
[FEM] Elmer: add missing deformation info
...
- also some formatting changes done by clang
2023-03-26 09:32:56 +02:00
wandererfan
20e44eba50
[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
5aeba7a46f
[TD] QGIViewDimension.h: fix compiler warning
...
- about unused private field
2023-03-25 21:03:40 +01:00
Uwe
37edcf1088
[FEM] App: improve PreCompiled.h
...
- remove unused includes
- sort entries and remove duplicates
2023-03-25 19:22:57 +01:00
Uwe
0d478cd733
[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
f5742a71ad
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
32d0ac6417
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
a0b48c5a4b
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
54ea0108a9
Merge pull request #8974 from chennes/toponamingMappedElement
...
App/Toponaming: Add MappedElement
2023-03-25 10:56:55 -05:00
0penBrain
ca1a63f946
CI: fix bug with codespell returning code being 65 when errors are found
2023-03-25 16:40:00 +01:00
0penBrain
c828a9b288
CI: limit to strictly needed when bash command is allowed to fail
2023-03-25 16:40:00 +01:00
Chris Hennes
92a14f9a13
Addon Manager: Fix tests breaking on second run
2023-03-25 10:27:51 -05:00
Uwe
1539573cd9
[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
48458583a1
[FEM] revert a04c33c40f
2023-03-25 11:38:03 +01:00
marioalexis
f1fc505955
Fem: Remove unnecessary type check for active analysis
2023-03-25 08:54:01 +01:00
Uwe
99f15b37c1
[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
a04c33c40f
[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
a65a7f6740
[Sketcher] Fix segmentation fault in ViewProviderSketch::setEdit
...
Closes #8979
2023-03-25 00:02:32 +01:00
Kevin Martin
048b358c01
[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
f996b1e50a
[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
wmayer
c579db1ee0
Gui: fix failure of QMetaObject::connectSlotsByName
...
because in Qt6 QSpinBox::valueChanged(QString) and QComboBox::activated(QString) have been removed
2023-03-24 22:11:24 +01:00
Uwe
768bfc1eae
[FEM] fine-tune default solver setting
...
- if the default solver has not yet been set and there is only one solver available, set this as default
2023-03-24 21:46:26 +01:00
wmayer
f30a6c634a
Gui: fix some lint warnings
2023-03-24 21:19:27 +01:00
Uwe
b88c43c89a
[FEM] improve new default solver setting
...
- fix bug if no solver should be default
- only provide solvers that are available to be the default
- also add commit opened transactions
- also remove unused include and correct an include
2023-03-24 20:24:02 +01:00
wmayer
2082329223
Gui: move built-in Python code of DlgProjectUtility to script file
2023-03-24 19:50:49 +01:00
0penBrain
081c23e514
Gui: use QActionGroup signal for dimension indicator change handling
2023-03-24 19:31:41 +01:00
0penBrain
6bd88f64db
Gui: add live retranslation to dimension indicator
2023-03-24 19:31:41 +01:00
0penBrain
6a3e6ec46b
Gui: dimension indicator moved to custom widget to handle unit schema change in other places
2023-03-24 19:31:41 +01:00
0penBrain
3ed1ce28ee
Gui: change dimension indicator from QToolButton to QPushButton for lighter style
...
Consistency with navigation style indicator
Also fix typo in function name and remove comment
2023-03-24 19:31:41 +01:00
Uwe
1774455cf3
[FEM] improve recently added addition method
...
- for the solvers the workflow should be that one can directly after adding a solver child to it via the toolbar
Therefore select the added solver object
2023-03-24 17:32:53 +01:00
sliptonic
1e5fa5de60
Merge pull request #8941 from chuckwagoncomputing/expression-colors
...
Path: Don't override style colors
2023-03-24 09:58:46 -06:00
Ajinkya Dahale
fc3086a96e
[Sketcher] Fix some coincidence issues in B-spline drawing
...
See https://github.com/FreeCAD/FreeCAD/pull/8530#issuecomment-1474824366 .
When there are already existing points and coincidence auto-constraints are
added in the process of making a B-spline (either by control points or
interpolation), unintended behaviour can happen.
Additionally, when creating B-spline by interpolation, if consecutive points are
coincident (or very close to each other), the OCCT algorithm fails. This is also
prevented in this commit.
2023-03-24 16:30:48 +01:00
Ajinkya Dahale
60e79a14e4
[Sketcher] Fix corner-case issue creating periodic b-splines
...
See: https://github.com/FreeCAD/FreeCAD/pull/8530#issuecomment-1474824366 .
2023-03-24 16:30:48 +01:00
Ajinkya Dahale
d2d69e274c
[Sketcher] Run clang-format on DrawSketchHandlerBSplineByInterpolation.h
2023-03-24 16:30:48 +01:00
Ajinkya Dahale
d6060c79aa
[Sketcher] Clear out some TODOs and other comments
2023-03-24 16:30:48 +01:00
Ajinkya Dahale
02558f3793
[Sketcher] Fix and support periodic B-spline by interpolation
...
This commit is part of a project funded by the Open Toolchain Foundation under
the title "Open Toolchain Foundation - Curve drawing tool in Sketcher
Workbench".
2023-03-24 16:30:48 +01:00
Ajinkya Dahale
bae30c6bd7
[Sketcher][planegcs] Fix knot position in non-uniform B-spline
...
The default factors set in `addConstraintInternalAlignmentKnotPoint` does not
work if the knots around a C1 knot are not equally far.
2023-03-24 16:30:48 +01:00