Commit Graph

27743 Commits

Author SHA1 Message Date
sliptonic
6f3cd260ae fixes #13206 2024-04-01 18:20:27 -05:00
sliptonic
202473b287 fixes #13207 2024-04-01 18:20:27 -05:00
bgbsww
b710444271 Rewrite PropertyTopoShape::getShape to fix dangling reference 2024-04-01 16:54:59 -05:00
ppphp
53ff51b10e fix for yaml version 2024-04-01 16:46:57 -05:00
wmayer
a4cd7f6012 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
Chris Hennes
efe7dc287f Merge pull request #13196 from bgbsww/bgbsww-toponamingCompSolidPyImp
Toponaming/Part move in PyImps
2024-04-01 11:30:44 -05:00
Furgo
6a3afb875d Fix to WebGL export. Closes: #13186 2024-04-01 11:25:23 -05:00
PaddleStroke
956841056e Sketcher: Symmetry fix #13164 2024-04-01 11:20:40 -05:00
PaddleStroke
81e1d7249d Sketcher: Add line mid-point auto-constraint 2024-04-01 11:20:02 -05:00
PaddleStroke
acd7832c2b SpreadSheet: Double clicking a spreadsheet changes to spreadsheet wb 2024-04-01 12:18:38 -04:00
sliptonic
a77afda2da Merge pull request #13130 from maxwxyz/fem-icons
UI: update FEM icons
2024-04-01 11:16:09 -05:00
Max Wilfinger
9f0a2ea3f7 adjust Part Design icons incl. WB icon 2024-04-01 11:15:33 -05:00
FEA-eng
cb6c092958 FEM: Update ObjectsFem.py 2024-04-01 11:04:56 -05:00
marioalexis
1b379c916a Fem: Improve post-processing object style - fixes #13017 2024-04-01 11:04:29 -05:00
PaddleStroke
6f817fa190 Sketcher: Chamfer Fix #13049 2024-04-01 11:04:02 -05:00
David Carter
8776c5bf98 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
6b721ac797 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
lyphrowny
e99ee08514 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
sliptonic
d82ee98d46 Merge pull request #12602 from FlachyJoe/arc-distance
Sketcher : ArcLength Constraint
2024-04-01 10:43:35 -05:00
André
48f0e5043a 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
0910d7e814 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
Roy-043
9aa0fca3e4 Sketcher: Rename Sketcher_BSplineApproximate.svg
For consistency: rename the icon to match the command name.
2024-03-31 17:40:40 +02:00
wmayer
b908e46b26 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
5adb384e20 PD: refactor Mirrored::getTransformations 2024-03-31 17:32:27 +02:00
bgbsww
a2f342fe54 Add Tests 2024-03-31 09:32:06 -04:00
pre-commit-ci[bot]
15d7980173 [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
041ed30055 fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
ppphp
8863b9ac4c fix: c++20 deprecate [=] 2024-03-31 10:47:32 +02:00
Max Wilfinger
e38b8d9bd4 update hardcoded XPMs to .svg files. Updated .svg icons for clarity. 2024-03-30 11:25:13 +01:00
wmayer
df4a517e32 Mesh: fix linter warnings 2024-03-30 00:21:58 +01:00
wmayer
c98d05b51d Mesh: remove problematic method MeshGrid::Rebuild(unsigned long, unsigned long)
and MeshGrid::CalculateGridLength(unsigned long, unsigned long)

For almost flat meshes CalculateGridLength may compute a grid with a huge amount of cells that allocates the whole RAM of the system while for an exactly flat mesh a grid with a sensible number of cells is computed.

Use the overloaded methods of MeshGrid::Rebuild(unsigned long) and MeshGrid::CalculateGridLength(unsigned long) instead
2024-03-30 00:21:58 +01:00
Chris Hennes
8858e1ddc0 Merge pull request #13197 from bgbsww/bgbsww-toponamingAppPartPy
Toponaming/Part:  move in  AppPartPy
2024-03-28 13:57:30 -05:00
Chris Hennes
c37c32edc9 Merge pull request #13154 from chennes/translations20240325
Update translations and fix script
2024-03-28 13:51:39 -05:00
Roy-043
cef812dd9d Merge pull request #13191 from Roy-043/Draft-add-Fuse-property-to-patharray-and-pathtwistedarray
Draft: add Fuse property to patharray and pathtwistedarray
2024-03-28 18:58:36 +01:00
Zheng, Lei
f00784f00e Toponaming/Part: move in remaining ifdef methods and the new TopoShapePy methods 2024-03-28 13:09:14 -04:00
bgbsww
f0581fd768 Toponaming/Part Tests 2024-03-28 13:09:14 -04:00
Zheng, Lei
7b833117fa Toponaming/Part: move TopoShapePyImp ifdef methods in 2024-03-28 13:09:14 -04:00
bgbsww
540684f8b0 Toponaming/Part: Rework and clean python interface and add tests 2024-03-28 13:09:09 -04:00
bgbsww
58bfabf925 Toponaming/Part: Rework and clean python interface and add tests 2024-03-28 12:47:33 -04:00
Chris Hennes
d8c8af4d8f Merge pull request #13156 from bgbsww/bgbsww-toponamingTopoShapePyImp2
Toponaming/Part: move ToposhapePyImp get methods into place
2024-03-28 09:18:56 -05:00
Chris Hennes
34f53e097b Merge pull request #12535 from CalligaroV/toponaming-WireJoiner
Part/Toponaming: Transfer WireJoiner
2024-03-28 09:17:49 -05:00
Zheng, Lei
644491fcd7 Transfer in makeCompound python interface and other tnp clauses into AppPartPy 2024-03-28 09:01:31 -04:00
Zheng, Lei
f87d064598 Toponaming/Part: move Toposhapepy get methods in 2024-03-28 09:01:31 -04:00
Max Wilfinger
356dfb2080 add missing commands to tree context menu to be consistent with other WBs 2024-03-28 13:02:18 +01:00
Roy-043
f54723fc73 Sketcher: Improve menu text of Sketcher_MapSketch
The old menu text of Sketcher_MapSketch did not describe the tool very well. Not just a face can be selected.

"Map sketch to face..." -> "Attach sketch..."

Forum topic:
https://forum.freecad.org/viewtopic.php?t=86112
2024-03-28 12:05:08 +01:00
Roy-043
8ff3a1ec39 Draft: add Fuse property to patharray and pathtwistedarray
See #13172.
2024-03-28 12:03:46 +01:00
tomate44
2f124008ae TopoShapePy: enable multithreading in function distToShape 2024-03-28 11:00:27 +01:00
tomate44
a32e67c85e TopoShapePy: add optional tolerance to function distToShape 2024-03-28 11:00:27 +01:00
bgbsww
51a311e6fb Toponaming/Part: Bug fix for #13169 while we sort this out 2024-03-27 21:33:57 -05:00
wandererfan
f530f1a5c8 [TD]fix fail on undo of cosmetic delete 2024-03-27 13:23:45 -04:00