Commit Graph

29083 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
9d949c60aa [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-25 07:29:42 +00:00
Florian Foinant-Willig
ffb2ebe4c6 [PD] helix fix 2024-08-24 20:38:58 -05:00
Andrea
1afe48140d Update ViewProviderFemMesh.cpp
fix warning: variable 'j'and 'i' is not initialized
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Update ViewProviderFemMesh.cpp
[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2024-08-24 19:53:10 -05:00
marioalexis
ad28897c09 Fem: Disconnect connection when destroying Constraint object 2024-08-24 19:51:24 -05:00
Chris Hennes
f8a34d8063 Addon Manager: Adjust button reference for Qt6 compatibility 2024-08-24 19:40:27 -05:00
Chris Hennes
baec1037d8 Part: Fix compilation with Qt6/MSVC
-/permissive does not allow the original unwrapped call to ParseTupleAndKeywords
2024-08-23 20:45:26 -05:00
luzpaz
05c90f398a Measure: fix linting TaskMeasure.cpp
Adds missing whitespace before opening brackets (observed in #15907)
2024-08-22 18:54:45 -05:00
bgbsww
c8c657eefe Fix shape color / materials issues in fuse 2024-08-22 18:53:55 -05:00
bgbsww
c59b422f2c Toponaming fix #15969 following LS3 code change 2024-08-22 18:52:22 -05:00
wmayer
c9a586f34a Building: Boost dependency errors
Fixes #15999
2024-08-22 18:50:24 -05:00
bgbsww
40d23c2639 Toponaming: Support disabling hashing; getting element history 2024-08-22 11:24:09 -05:00
Shai Seger
a750034490 Cam simulator feature update (#15597)
* remove redundant code

* Improve lighting, add ambient occlusion

* Add cleanup code. Dialog is now deleted when cloesd.

* change back to ambient occlusion

* Fix G8x drill sequence bug.  issue #14369

* fix bad simulation artifacts under Linux and QT. Issue #14369

* fix merge issue

* fix border artifact on buttons

* support showing path lines. revise the gui.

* add option for arbitrary solids. wip

* use vectors instead of mallocs

* Handle arbitrary stock shapes + show base shape.

* Complete the base shape display feature. eliminate co-planar artifacts.

* support window scaling. upstream issue #14334

* Apply lint fixes

* some missing lints.

* Attend pylint issues

* Apply code fixes based on @kadet1090 review

* fix some clang-tidy warnings.

* CAM: Linter cleanup round 1

---------

Co-authored-by: Chris Hennes <chennes@gmail.com>
2024-08-21 15:18:52 -05:00
wmayer
80a09b3853 Part: Make ViewProviderPart::applyMaterial more robust
* Fixes hard crashes and throw an exception if value is out of range
* Fixes several linter warnings
2024-08-21 18:40:27 +02:00
wandererfan
131956e201 [TD]fix crash on Cosmetic line > 10m 2024-08-19 12:34:53 -04:00
wandererfan
595fbc9c1b [TD]detect breakObject inside Body 2024-08-19 11:32:21 -05:00
hlorus
0b8c8ceab0 MeasureGui: Return the relative label offset for the initial position 2024-08-19 12:25:05 -04:00
hlorus
d11f710252 MeasureGui: Explicitly trigger the initial positioning of measurements 2024-08-19 12:25:05 -04:00
hlorus
aa98951b5c Measure: Apply global placement when retrieving shape 2024-08-19 12:16:19 -04:00
hlorus
01611c6a1c [MeasureGui] Fix order of setting properties to avoid update with outdated data 2024-08-19 12:16:19 -04:00
Chris Hennes
1815941668 Addon Manager: Fix ZIP installation
Always delete the old version before installing the new one
2024-08-19 12:10:37 -04:00
wandererfan
558db30497 [TD]fix asCircle error calculation 2024-08-19 12:01:01 -04:00
Brad Collette
6a23cd01bb fixes #15902 2024-08-19 11:58:46 -04:00
Brad Collette
58ba9dd0e9 Remove deprecated materials
# Conflicts:
#	src/Mod/Material/Resources/Materials/Machining/ToolSteel.FCMat
2024-08-19 11:57:04 -04:00
CalligaroV
673b5a5e5e Part/Toponaming: align TopoShape::findSubShapesWithSharedVertex() to LS3
* added test for issue #15539

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-08-19 10:53:31 -05:00
Brad Collette
4ec94e678e Add Feedrate to G85 command moves
#fixes #15646
2024-08-19 11:52:15 -04:00
Roy-043
ce11e63958 BIM: Fix oversight in #15530
Fix bug introduced in #15530.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=89790

@paullee0 can you check please? Thanks.
2024-08-19 13:41:05 +02:00
wmayer
0dae7353d1 PD: Make PD tests more robust
If in the user settings the refinement is switched off several PD tests will fail. This change explicitly sets the Refine property to True to guarantee correct behaviour
2024-08-18 11:50:33 -05:00
bgbsww
f0982d1d61 Toponaming: Fuse call makeElementRefine; remove deprecated refineSha… (#15897)
* Toponaming:  Fuse call makeElementRefine; remove deprecated refineShapeIfActive
* Part/Toponaming: import code for MultiFuse::execute() from LS3
* added expected values of testRefine

Co-authored-by: Zheng, Lei <realthunder.dev@gmail.com>
Co-authored-by: CalligaroV <vincenzo.calligaro@gmail.com>
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-08-18 11:49:05 -05:00
Jonas Bähr
95c514fca3 Material: Add metal cards with machining model
With PR #14460 the "machinability" model was introduced. As sample data
the legacy material cards from the "feeds and speeds" addon were added
and (partly) converted to the new format. However, due to copyright
concerns and unclear semantics of the data, the values required for
cutting force calculations have been removed.
This commits adds material cards with complete machining model data
for various classes of metals. The data comes from the German standard
work "Tabellenbuch Zerspantechnik", ISBN 978-3-7585-1315-2, 5. Edition
2022, http://www.europa-lehrmittel.de/14733
Usage of this data for our purpose is legal as facts are not protected by
copyright according to German law. This view has been confirmed by the
licensing department of the publisher.
2024-08-17 16:35:26 -05:00
Brad Collette
8dc1fad1c9 Fixes #15909
regression bug caused by Path->CAM module rename.
2024-08-17 14:21:58 -05:00
Alex Facciorusso
85cbd31389 added CAM Tests/FilePathTestUtils.py utility file to the build Mod copy 2024-08-17 12:30:58 -05:00
Alex Facciorusso
43b6f57700 [cam] fixed tests and fixed dialogs cancel ignored 2024-08-17 12:30:58 -05:00
Alex Facciorusso
4b32ec1b28 Updated comment in CAM Path Utils 2024-08-17 12:30:58 -05:00
Alex Facciorusso
d3e92037b9 FIX: empty filename in CAM workbench saves to the current project folder
Previously, if the user didn't set a default gcode path, the file was saved to getcwd. Now, it attempts to take the active document's path first.
2024-08-17 12:30:58 -05:00
mosfet80
b3a5882b9a [Mod] clean Area.cpp
Removed dead code
2024-08-17 12:25:46 -05:00
Syres916
e3bf55a052 [CAM] Fix numeric sorting of drill diameters 2024-08-17 12:20:23 -05:00
Chris Hennes
0d067978cd Start: Fix compilation with MSVC 2024-08-14 01:38:07 -04:00
bgbsww
a1ce983035 Toponaming: Missing shape hasher line; fixed cleaned Transformed 2024-08-13 07:07:59 -04:00
FEA-eng
aef3bdfe67 FEM: Start examples rework (#15786)
* FEM: Delete data/examples/FemCalculixCantilever1D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: add new example combining the previous 3

* FEM: Update CMakeLists.txt

* FEM: Update femmesh2mesh.py

* FEM: Update test_information.md

* FEM: Update test_result.py

* FEM: Update MaterialEditor.py

* FEM: Delete data/examples/FEMExample.FCStd

* FEM: add new example without logo
2024-08-12 17:46:09 -04:00
spanner888
58729b3ab0 Fixes #15637 Attributes are ignored when using ToolBitFactory() CreateFromAttrs(self, attrs, name="ToolBit", path=None) 2024-08-12 11:13:29 -05:00
Chris Hennes
38547bf5d5 Merge pull request #15772 from qewer33/master
Make start page use QStackedWidget + other fixes
2024-08-12 12:01:30 -04:00
bgbsww
d7d256e782 Toponaming: Match findSubShapesWithSharedVertex exception suppression 2024-08-12 11:59:08 -04:00
lorenz
1a5ab14ca9 FEM: print exception if loading a result in fem fails
Fixes #15827
2024-08-12 11:54:20 -04:00
PaddleStroke
49fa67266f Assembly: Fix objects in group would not have the dragger appear when selected. 2024-08-12 11:49:12 -04:00
PaddleStroke
39c4e2e600 Assembly: Fix distance joints 2024-08-12 11:47:21 -04:00
Pieter Hijma
5f74b4b299 Core: Fix a missing interpreter lock 2024-08-12 11:45:46 -04:00
PaddleStroke
ece64bea29 Assembly: Make sure that when a components is deleted its joints are as well. 2024-08-12 11:43:54 -04:00
PaddleStroke
00ca22e2c5 Assembly: Fix bug where double-clicking on a joint would unselect the underlying edge. 2024-08-12 11:43:26 -04:00
Chris Hennes
e52ef2a525 GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use
Q_OS_APPLE.
2024-08-12 11:34:39 -04:00
Chris Hennes
f846cc7acf Addon Manager: Fix Qt6 button name 2024-08-12 08:49:06 -04:00