Commit Graph

36450 Commits

Author SHA1 Message Date
Max Wilfinger
4b6b2396ea Update labels.yml for correct GH label 2024-03-16 14:41:46 +01:00
wmayer
c68b75e807 Gui: fixes #12891: Random color not working for App::Part 2024-03-16 09:46:06 +01:00
wmayer
75d30d2b04 App: add overloaded template method getExtension()
This allows it to write more elegant code like:
auto ext = obj->getExtension<>(GroupExtension);
instead of
auto ext = dynamic_cast<GroupExtension*>(obj->getExtension(GroupExtension::getExtensionClassTypeId(), true, true));
2024-03-16 09:46:06 +01:00
wmayer
d57640005e TD: fixes #12984: Doing Ctrl-Z in TechDraw reliably causes a segfault 2024-03-16 09:43:40 +01:00
wmayer
b762cb1936 Drawing: Fixes #12953
The deprecated Drawing module still uses some classes that have been removed with Qt6.
These are the classes:
* QRegExp that is replaced with QRegularExpression
* QGLWidget that is replaced with QOpenGLWidget
2024-03-16 09:42:34 +01:00
wmayer
971a698a38 Mesh: fixes #12798: Macro not recording mesh decimation 2024-03-16 09:41:18 +01:00
wmayer
479ad3487d Mesh: add unit tests for mesh export 2024-03-16 09:39:49 +01:00
wmayer
f0881b5dbf App: Fix segmentation fault while dragging object
For more details see: https://forum.freecad.org/viewtopic.php?t=86001

The reason of the crash is that the GIL is not locked while accessing certain Python functions
2024-03-16 09:36:33 +01:00
Chris Hennes
819e99e334 Merge pull request #12885 from bgbsww/bgbsww-toponamingAttachment
Toponaming/Part:  Bring over attacher differences
2024-03-15 17:18:36 -05:00
bgbsww
0944242b25 Toponaming/Part: Review and lint cleanups 2024-03-15 08:41:08 -04:00
bgbsww
72669ab6a6 Toponaming/Part: clean and test attacher 2024-03-15 08:11:26 -04:00
Zheng, Lei
bb24c1554c Toponaming/Part: Bring over attacher differences 2024-03-15 08:11:26 -04:00
FEA-eng
344bc2336f DRAFT: Update preferences-draftsnap.ui 2024-03-15 13:01:56 +01:00
Chris Hennes
be1476db62 FEM: Add two missing PreCompiled.h includes 2024-03-14 22:24:16 -05:00
FEA-eng
ea22e549b1 Start wb FEM examples update (#12871)
* FEM: Delete data/examples/FemCalculixCantilever3D_newSolver.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: add updated cantilever 3D

* FEM: add updated cantilever 2D

* FEM: add cantilever 1D

* FEM: Update CMakeLists.txt

* FEM: Delete data/examples/FemCalculixCantilever1D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd

* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd

* FEM: reupload the 1D example with a new license

* FEM: reupload the 2D example with a new license

* FEM: reupload the 3D example with a new license
2024-03-14 22:15:29 -05:00
David Carter
2a7adbee23 Material: Material editor enhancements
Removes localization from the material card dictionary.

Fixes #12935

The previous card implementation transferred strings directly to the
card dictionary without interpretation. The new material system parses
the file data, producing a dictionary for compatibility. The new
dictionaries localized the strings which is incorrect. This PR
removes that localization.
2024-03-14 22:14:58 -05:00
David Carter
44ad16b6d3 Material: Call to import_materials only returning solids
Fixes #12933

The previous card implementation used a parameter to select either
solids or fluids. The current material dictionary ignored the
parameter and only returned solids. This PR restores the use of the
material type filter.
2024-03-14 22:14:31 -05:00
FEA-eng
e606104a02 FEM: Update solver.py 2024-03-14 22:13:56 -05:00
wandererfan
c94a419eac [TD]fix over/under tolerance
- left justify tolerances
- use format spec for tolerance == zero
- prevent uncommanded tolerance format changes
- use 'w' format for HoleShaftFit
- allow zero tolerance values for HoleShaftFit
2024-03-14 21:45:16 -04:00
wandererfan
b719478824 [TD]fix thread line alignment 2024-03-14 21:45:16 -04:00
wandererfan
284365f0c5 [TD]prevent fail on delete with open dialog 2024-03-14 21:45:16 -04:00
sliptonic
9f18069171 Merge pull request #12956 from Ondsel-Development/fixcamtranslation
mark dynamic fields to not be translated
2024-03-14 10:45:57 -06:00
sliptonic
f0670f0940 mark dynamic fields to not be translated 2024-03-14 11:39:41 -05:00
hoshengwei
186a1e6395 Arch: Fixed bug in BuildingPart obj
Fixes #12921.
2024-03-14 14:55:32 +01:00
Chris Hennes
5e1adf3755 Merge pull request #12932 from marioalexis84/fem-ccx_force_format
Fem: Format force constraint in CalculiX writer - fixes #12805
2024-03-13 18:17:11 -05:00
luzpaz
f32da2f767 labels.yml: Add Materials label
Auto-assign 'Materials' label to Material related PRs
2024-03-13 17:12:36 -05:00
marioalexis
a02b561af2 Fem: Update force constraint .inp files 2024-03-13 17:26:13 -03:00
Chris Hennes
d393b9a19a Merge pull request #12918 from marioalexis84/fem-post_object_transparency
Fem: Partial transparency fix in FemPostObject display modes
2024-03-13 15:17:17 -05:00
Chris Hennes
3acc72a901 Tools: Path -> CAM 2024-03-13 14:04:20 -05:00
Chris Hennes
a3c3b0a9f4 Merge pull request #12737 from chennes/cleanTrailingSpacesForTranslation
Clean trailing spaces for translation
2024-03-13 14:00:54 -05:00
wandererfan
ae7d4ab3f7 [TD]remove obsolete LinkDimension from toolbar 2024-03-13 13:54:59 -04:00
wandererfan
0c534fc45b [TD]expose getScale() to Python 2024-03-13 13:54:59 -04:00
Marco Patzer
2f45d5ef09 TechDraw: Add space before tolerance class for hole/shaft fits 2024-03-13 13:52:13 -04:00
marioalexis
9633214238 Fem: Format force constraint in CalculiX writer - fixes #12805 2024-03-13 14:50:24 -03:00
Pierre
2fa1fc805e PR for issue #12910 2024-03-13 09:02:15 -04:00
Anurag Singh
9e55f76b0f Added-Back-Missing-Docs 2024-03-13 13:47:49 +01:00
Anurag Singh
b25e117fb7 Added-API-Documentation-for-ShapeFix.xml 2024-03-13 13:47:49 +01:00
Anurag Singh
a6b580ac7a Added-API-Documentation-for-PlateSurfacePy.xml 2024-03-13 13:47:49 +01:00
Anurag Singh
c967b2b72a Added-API-Documentation-for-RectangularTrimmedSurfacePy.xml 2024-03-13 13:47:49 +01:00
wmayer
7856a200bc Cloud: fixes #12888: Build on Linux fails because of Cloud component 2024-03-13 12:45:46 +01:00
marioalexis
1614449727 Fem: Partial transparency fix in FemPostObject display modes 2024-03-13 05:50:27 -03:00
marioalexis
001487b933 Fem: Export/import mesh elements to Vtk using proper order 2024-03-13 05:50:17 -03:00
Chris Hennes
cffe2e3c3a CAM: Remove trailing spaces from translations 2024-03-12 22:49:06 -05:00
Chris Hennes
7b07447cce Draft: Remove trailing spaces from translations 2024-03-12 22:42:20 -05:00
Chris Hennes
830c59b2e6 Part: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
Chris Hennes
cc0564f8f2 FEM: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
Chris Hennes
73417470f5 Sketcher: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
Chris Hennes
7ca16a207a Spreadsheet: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
Chris Hennes
09fba92d1e Addon Manager: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00
Chris Hennes
9bf772ca67 Gui: Remove trailing spaces from translations 2024-03-12 22:42:19 -05:00