Commit Graph

36696 Commits

Author SHA1 Message Date
wmayer
b998bc181c Base: Fix linter warnings in ParameterPy 2024-04-01 14:23:41 +02: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
c7209b3387 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 3795444df473651
2024-03-31 17:38:26 +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
Dov Grobgeld
8707578ce1 Fix regexp string quoting 2024-03-31 17:28:47 +02:00
wmayer
098d42573b Gui: fix computing status value and use enum to avoid magic numbers 2024-03-31 10:59:00 +02:00
wmayer
15537b0c23 Gui: the overlay icon for the call tips list is too small 2024-03-31 10:48:50 +02:00
ppphp
0488a7bb8e add version check macro for compatibility 2024-03-31 10:47:32 +02: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
2bce6946dc fix: c++20 deprecate copy_option 2024-03-31 10:47:32 +02:00
ppphp
8863b9ac4c fix: c++20 deprecate [=] 2024-03-31 10:47:32 +02:00
Roy-043
fcf638849b Gui: Std_ViewLeft should be last in "Individual views" toolbar
See #13227.
2024-03-30 17:46:25 +01:00
Max Wilfinger
78249a8ed8 add missing view top option + arrangement 2024-03-30 11:50:17 +01: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
wmayer
d46b738b79 Test: add unit tests for mesh grid creation 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
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
wmayer
7256e1c827 Gui: add overloaded method pixmapFromSvg() to pass the device pixel ratio of a widget 2024-03-28 07:27:29 +01:00
wmayer
7f2bb822d8 Fixes #12865: CommandView Cursor Icons use hardcoded XPM
For the cursor use the device pixel ratio to avoid to look pixelated on HiDPI screens
2024-03-28 07:26:12 +01:00
wmayer
a44262b736 Gui: add SVG icons 2024-03-28 07:26:12 +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
Roy-043
394ed4a38f Merge pull request #13172 from Roy-043/Draft-add-Fuse-property-to-pointarray
Draft: add Fuse property to pointarray
2024-03-27 16:44:53 +01:00
Roy-043
3f21f9eb72 Merge pull request #13162 from yorikvanhavre/draft-fix-webgl
Arch: Small fix in webgl export
2024-03-27 16:44:15 +01:00
bgbsww
a21966087c Toponaming/Part: remove senseless voids 2024-03-27 08:49:51 -04:00
Chris Hennes
89907f6299 FEM: Rename vtkWriter to femVTKWriter to make MSVC happy 2024-03-27 12:08:29 +01:00
bgbsww
f297666cd9 Toponaming/Part: Fix elementMatch to use full clause and be deterministic 2024-03-26 23:01:54 -05:00
Roy-043
7dc1ce17c9 Draft: add Fuse property to pointarray
Fixes #12906.
2024-03-26 22:36:18 +01:00
wmayer
a70dadf770 RE: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
0c6a0ccad8 Surface: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
5f64e2191e Part: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
6e575c4dd2 MeshPart: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
1f51aba1dc Drawing: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
411a967f7d Mesh: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
858f6023b5 Gui: allow to add task box with no header and
add methods to add a task box to a watcher
2024-03-26 15:57:20 +01:00