Commit Graph

36679 Commits

Author SHA1 Message Date
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
wmayer
35a10e8717 Gui: use of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
e48134e0e7 Gui: extend and add overloaded method of TaskDialog::addTaskBox 2024-03-26 15:57:20 +01:00
wmayer
66450bba2f Part: add export macro for Windows builds 2024-03-26 15:54:13 +01:00
wmayer
279efa05c6 Part: make GUI for ProjectOnSurface feature 2024-03-26 15:54:13 +01:00
wmayer
baac64f40f Part: add ViewProviderProjectOnSurface 2024-03-26 15:54:13 +01:00
wmayer
070300f3a7 Part: make projection on surface parametric 2024-03-26 15:54:13 +01:00
PaddleStroke
da471d2419 TechDraw: Remove "cosmetic eraser" from toolbar 2024-03-26 09:01:58 -04:00
Günther Eder
af46c6d9b8 fix: BoundBox exception when inserting BIM section plan into TechDraw. (#13153) 2024-03-26 11:23:55 +01:00
Yorik van Havre
c5ef0e0ee9 Arch: Small fix in webgl export - fixes #13160 2024-03-26 11:21:52 +01:00
Roy-043
34c252b4f8 Merge pull request #13051 from yorikvanhavre/draft-wp-set-color
Draft: Allow to change grid color in WP taskpanel
2024-03-26 11:17:13 +01:00
Roy-043
b16c431883 Merge pull request #13100 from Roy-043/Draft-fix-handling-of-shapes-in-shape2dview.py
Draft: fix handling of shapes in shape2dview.py
2024-03-26 11:12:59 +01:00
wmayer
cb0f92dbde Sketcher: fix typo in function name -> areCollinear
The same function exists in the Draft module but don't fix it there to avoid to possibly break add-ons
2024-03-26 10:34:01 +01:00
CalligaroV
6d9c49e454 Part/Toponaming: Transfer WireJoiner
* Applied modifications to reduce the number of Lint warnings (round 3)
 * Added note about the WireJoiner class in Mod/CAM/App/Area.cpp
2024-03-26 09:57:47 +01:00
CalligaroV
11da8d9c0a Part/Toponaming: Transfer WireJoiner
* Applied modifications to reduce the number of Lint warnings (round 2)
2024-03-26 09:57:47 +01:00
CalligaroV
9da39d8ac9 Part/Toponaming: Transfer WireJoiner
* Applied modifications to reduce the number of Lint warnings (round 1)

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-03-26 09:57:47 +01:00
CalligaroV
2d66dfbf40 Part/Toponaming: Transfer WireJoiner
* Added test for WireJoiner::IsDeleted()
 * Fixed a typo in test for WireJoiner::Modified()
 * Fixed a typo in test for WireJoiner::Generated()

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-03-26 09:57:47 +01:00
CalligaroV
c6d3ada29d Part/Toponaming: Transfer WireJoiner
* Added test for WireJoiner::Generated()

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-03-26 09:57:47 +01:00