Commit Graph

36737 Commits

Author SHA1 Message Date
PaddleStroke
581dee4d48 Sketcher: Fixes #13181 2024-04-02 09:48:44 +02:00
wmayer
d063ea58a4 Gui: Fix Std_LinkActions
Currently the active button of the Std_LinkActions command is toggable that is confusing behaviour.
This PR makes the action group non-checkable
2024-04-02 08:19:38 +02:00
wmayer
3b39c0885b PD: Fixes 12673: Transforming of sub-shape binder fails
The problem is caused by conflicting values of the anonymous enum of ViewProviderSubShapeBinder. The solution is to set a higher value than the highest value of EditMode
2024-04-02 08:18:46 +02:00
wmayer
a7470332f7 PD: replace static_cast with dynamic_cast
The use of static_cast here could cause undefined behaviour because at this point it's not guaranteed that findBodyOf()
really returns a PartDesign::Body
2024-04-02 08:17:45 +02:00
bgbsww
99da05f8a6 Rewrite PropertyTopoShape::getShape to fix dangling reference 2024-04-01 16:54:59 -05:00
ppphp
ecf6532969 fix for yaml version 2024-04-01 16:46:57 -05:00
wmayer
ac1d887336 Gui: fix compiler warning 2024-04-01 19:42:08 +02:00
wmayer
4b18a1018b FEM: Handle unknown exception when applying a constraint to a B-Spline surface
Fixes #13213

An OCC exception is raised when trying to normalize a null vector. The solution is to check the square length before normalizing it
2024-04-01 19:38:28 +02:00
sliptonic
6ca35709dd Merge pull request #13256 from wwmayer/extend_parameterpy
Base: expose a method to rename a parameter group to Python
2024-04-01 11:32:21 -05:00
Chris Hennes
8a6bb8884b Merge pull request #13196 from bgbsww/bgbsww-toponamingCompSolidPyImp
Toponaming/Part move in PyImps
2024-04-01 11:30:44 -05:00
Furgo
ecf5eba82e Fix to WebGL export. Closes: #13186 2024-04-01 11:25:23 -05:00
PaddleStroke
4b16444bae Core: Std_ToggleTransparency: Fixes #11353 2024-04-01 11:23:49 -05:00
PaddleStroke
c26f52c4e4 Sketcher: Symmetry fix #13164 2024-04-01 11:20:40 -05:00
PaddleStroke
64054d13c4 Sketcher: Add line mid-point auto-constraint 2024-04-01 11:20:02 -05:00
PaddleStroke
f9c9870273 SpreadSheet: Double clicking a spreadsheet changes to spreadsheet wb 2024-04-01 12:18:38 -04:00
sliptonic
5ee34d7ead Merge pull request #13130 from maxwxyz/fem-icons
UI: update FEM icons
2024-04-01 11:16:09 -05:00
Max Wilfinger
eaf1e7ecee adjust Part Design icons incl. WB icon 2024-04-01 11:15:33 -05:00
FEA-eng
63b7ff464a FEM: Update ObjectsFem.py 2024-04-01 11:04:56 -05:00
marioalexis
816226d332 Fem: Improve post-processing object style - fixes #13017 2024-04-01 11:04:29 -05:00
PaddleStroke
5668b6952b Sketcher: Chamfer Fix #13049 2024-04-01 11:04:02 -05:00
Florian Foinant-Willig
aed5727ac3 [PD] Fix crash related to SuppressibleExtension 2024-04-01 11:02:25 -05:00
David Carter
57c66a96a6 Material: Add thermal reference temperature (#13026)
* Material: Add thermal reference temperature

Fixes #13019

Adds the property 'Thermal Expansion Reference Temperature' to
the Thermal properties

* Fix delegates
2024-04-01 11:00:45 -05:00
André Althaus
79f9da420c Ignore suppressed features in patterns
This will remove all suppressed features from the Originals list
before calculating the patterns.
2024-04-01 10:58:24 -05:00
mosfet80
26f8de3a45 Update sub_buildWindows.yml
updated microsoft/setup-msbuild@ to version 2
fix deprecation warning
2024-04-01 10:55:45 -05:00
lyphrowny
f6ababfdb4 FEM: Fix cxx typo and remove calculix from solvers tab in examples (#12876)
* FEM: remove calculix from solvers

* FEM: remove calculix from joint with ccxtools if branches

* FEM: remove calculix from its if

* FEM: fix cxx typo in translations

* FEM: fix cxx typo in classes name

* FEM: fix ccx typo in shortcuts

* FEM: convert FEM_*CcxTools to CamelCase

* FEM: remove tests related to calculix

* FEM: remove test_solver_calculix.py from Fem/CMakeLists.txt

* FEM: convert all 'CalculiXccxTools' to 'CalculiXCcxTools'

* FEM: revert changes in all *_*.ts files

* FEM: convert 'SolverCcxtools' to 'SolverCcxTools'

* FEM: convert remaining 'Ccxtools' to 'CcxTools'
2024-04-01 10:51:23 -05:00
mosfet80
4b7b09d1f8 Clean FindEigen3.cmake (#12632) 2024-04-01 10:47:19 -05:00
sliptonic
75c589d355 Merge pull request #12602 from FlachyJoe/arc-distance
Sketcher : ArcLength Constraint
2024-04-01 10:43:35 -05:00
André
3604e57d6d Allow adding subfeatures to MultiTransform if there is no active Body (#12538)
* Allow adding subfeatures to MultiTransform if there is no active Body

Previously the active Body would be checked and used to add new
subfeatures.
This would either do nothing, when no Body was active,
causing confusion for users becaues than can edit other features without
an active Body.
Or it would add the subfeature to the wrong Body if another Body than the
one of the MultiTransform was active.

Now the Body of the MultiTransform is checked and used.

# Conflicts:
#	src/Mod/PartDesign/Gui/TaskMultiTransformParameters.cpp

* Change getTopTransformedObject() to protected

This needs to be called from the MultiTransform.

* Fix typo
2024-04-01 10:40:17 -05:00
Adrián Insaurralde Avalos
5a960792e5 Material: fix windows debug builds
Material: fix cmake linking of yaml-cpp<0.7.0
write version in final report
2024-04-01 10:38:23 -05:00
PaddleStroke
cd94350df0 Core: Introduce Tab-Bar workbench selector 2024-04-01 10:35:53 -05:00
wmayer
c3f70bfa7f Base: expose a method to copy a parameter group to Python 2024-04-01 14:56:19 +02:00
wmayer
e16ccc33ce Base: expose a method to rename a parameter group to Python 2024-04-01 14:43:23 +02:00
wmayer
a0e901defd Base: Fix linter warnings in ParameterPy 2024-04-01 14:23:41 +02:00
Roy-043
6c0865a7b9 Sketcher: Rename Sketcher_BSplineApproximate.svg
For consistency: rename the icon to match the command name.
2024-03-31 17:40:40 +02:00
wmayer
1d5de9d356 Base: Fix console logging macros
The notifier string must be a std::string() instead of an empty C string as otherwise the wrong methods are called so
    that all messages are sent to the void.

    This regression was caused by commit dc08aa8e0f
2024-03-31 17:38:26 +02:00
wmayer
7d10f5ed73 PD: Mirror feature should be more permissive
If you have a mirror feature and set the mirror plane with the normal feature editing the recompute works. But if the mirror plane is set with the property editor then the recompute fails with the message that no mirror plane reference is set.

This is related to a an empty sub-name list of the link property instead of a single and empty sub-name element.

This PR allows to specify a sketch, plane or datum plane without a sub-name.

For more details see: https://forum.freecad.org/viewtopic.php?t=86568

This fixes #13238
2024-03-31 17:32:27 +02:00
wmayer
ede1ccc191 PD: refactor Mirrored::getTransformations 2024-03-31 17:32:27 +02:00
Dov Grobgeld
67ac3631ce Fix regexp string quoting 2024-03-31 17:28:47 +02:00
bgbsww
c8d54181d4 Add Tests 2024-03-31 09:32:06 -04:00
wmayer
7cbb28ca53 Gui: fix computing status value and use enum to avoid magic numbers 2024-03-31 10:59:00 +02:00
wmayer
e422084e92 Gui: the overlay icon for the call tips list is too small 2024-03-31 10:48:50 +02:00
ppphp
91457bbdee add version check macro for compatibility 2024-03-31 10:47:32 +02:00
pre-commit-ci[bot]
b5fa008272 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-31 10:47:32 +02:00
ppphp
c014ab7a4e fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
ppphp
aa54ba73df fix: c++20 deprecate copy_option 2024-03-31 10:47:32 +02:00
ppphp
da7ee06d67 fix: c++20 deprecate [=] 2024-03-31 10:47:32 +02:00
Roy-043
6fbd8916ab Gui: Std_ViewLeft should be last in "Individual views" toolbar
See #13227.
2024-03-30 17:46:25 +01:00
Max Wilfinger
67b587efde add missing view top option + arrangement 2024-03-30 11:50:17 +01:00
Max Wilfinger
6ca8b2daae update hardcoded XPMs to .svg files. Updated .svg icons for clarity. 2024-03-30 11:25:13 +01:00
wmayer
82e1091c19 Mesh: fix linter warnings 2024-03-30 00:21:58 +01:00