Commit Graph

38311 Commits

Author SHA1 Message Date
Jacob Oursland
ada449f7f2 CMake: ensure shiboken does not introduce Py_LIMITED_API.
On some builds, the CMake package files for PySide6's Shiboken set the Py_LIMITED_API define on
the compiler's command line.  This breaks FreeCAD as it depends on definitions from the Python
Stable API unavailable with the Limited API.
2024-07-22 09:22:30 -07:00
Syres916
72829d07b4 [Gui] Overlay set hide in non 3D view to be true/checked 2024-07-22 11:13:11 -05:00
MisterMaker
1058e67422 Stylesheet fixes part trois. (#15471)
* fixes Qtoolbox for Freecad CAM

https://github.com/FreeCAD/FreeCAD/issues/14745#issuecomment-2231031485

* Removed offset because of Linux issues.

* fix for to dark cells in propetties panel

* fixed constrain colors in sketcher and arros tabbar.

* tabbar fixes

* This fixes the checkered scrollbar issue

* This fixes the spinbox arrow which had a gap.

* misses somethings in the overlay stylesheets.

* typos

* fixed some overlay issues

* update sketch uncontrained colors

* trying to fix the arrow size

* fixes for treeview

* Update Light Theme + Dark Background.qss

fix for edit text field

* updated checkmarks names and scaled them down.

* Update FreeCAD Dark.qss

oopsie wrong color

* Update icons classic.svg

icons files for the icons

* fix for table edit
2024-07-22 11:12:21 -05:00
marioalexis
8aba0f3bb0 Fem: Import/export 1D elements from mesh to vtk - fixes #15541 2024-07-22 11:10:05 -05:00
Chris Hennes
896974807b Merge pull request #15520 from Ondsel-Development/asm_bom_same_name_bug
Assembly: BOM: Fix same name different doc issue.
2024-07-22 11:08:52 -05:00
marioalexis
8dd23f6c89 Fem: Remove unused gmsh option - fixes #6354 2024-07-22 11:07:25 -05:00
marioalexis
daf6e6d0d7 Fem: Handle single value field - fixes #14022 2024-07-22 11:05:12 -05:00
marioalexis
03911cddd1 Fem: Fix mystran preference path - fixes #15348 2024-07-22 10:56:46 -05:00
wmayer
8a4aa75dec PD: Fix crash when pressing ESC on chamfer/fillet dialog 2024-07-22 10:53:31 -05:00
sliptonic
7709af53d4 Fixes https://github.com/Ondsel-Development/FreeCAD/issues/114
The refactored postprocessor system uses
a factory to load scripts.  The preference
system has logic to load the scripts to get the tooltips
That logic was overlooked during the refactor.
Added it here.
2024-07-22 10:50:53 -05:00
sliptonic
3e546c5b5b fixes https://github.com/Ondsel-Development/FreeCAD/issues/115
dead function call.
2024-07-22 10:50:53 -05:00
sliptonic
d7a6b24ec0 Fixes: https://github.com/Ondsel-Development/FreeCAD/issues/116
The migration of CAM to use the new material system left behind some
logic that created an old dedicated stock material property.

This commit removes that property
2024-07-22 10:50:53 -05:00
marioalexis
fc5d57035f Fem: Remove redundant *Fix properties in constraint displacement - fixes #14556 2024-07-22 10:50:15 -05:00
Snow Faerie
7a1038e56c Generate compile_commands.json
Modify CMakePresets.json to use -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
in all the presets.

The compile_commands.json file can be used by tools like clangd to get
autocompletion and go-to-definition.

This patch also adds compile_commands.json to the .gitignore, as often
you need to symlink the compile_commands.json from the build directory
into the source directory for it to be picked by tools. That is the case
with clangd at least.
2024-07-22 10:49:34 -05:00
Chris Hennes
dde1a3511b Merge pull request #15521 from bgbsww/bgbsww-toponamingSaveRestore1plus
Throw exceptions rather than return default 0
2024-07-22 10:46:53 -05:00
Yorik van Havre
52fc162c31 BIM: Better fix to IFC viewprovider - fixes #15477 2024-07-22 10:46:02 -05:00
Chris Hennes
f941827a87 Addon Manager: Silence warning due to use of horizontal line 2024-07-22 10:45:08 -05:00
Chris Hennes
0011ee66c5 Merge pull request #15499 from wwmayer/issue_15453
Fix possible crashes in PD task panels
2024-07-22 10:44:35 -05:00
Chris Hennes
cf6e9a81a6 PD/Tests: Correct TestPartDesignGui for Qt6 2024-07-22 11:42:59 -04:00
Kim Kirwan
aafcb02785 Minor fixes to improve README.md file readability
Fixed a misspelling, added some commas, changed all occurrences of
PDN (PartDesignNext) or PD to PartDesign to improve readability.
(And update the text, since PartDesignNext was new in version
0.17 or so, and stable is now 0.21.2. )
2024-07-22 10:37:54 -05:00
wandererfan
842b70654c [TD]fix leader start point on rotated view 2024-07-22 09:14:34 -04:00
PaddleStroke
6079a1c3be Assembly: BOM tool: Do not list Groups. 2024-07-22 12:23:26 +02:00
PaddleStroke
c902e10cea Assembly: BOM: Fix same name different doc issue. 2024-07-22 12:23:21 +02:00
Chris Hennes
c7646a465a Addon Manager Tests: Skip all git tests if git is not present 2024-07-22 00:08:51 -05:00
PaddleStroke
613b56db9d Assembly: Fix conflicting shortcut for Exploded view 2024-07-22 00:07:51 -05:00
wmayer
b3680522f3 Tests: Add tests for MeshPart 2024-07-22 00:06:23 -05:00
Chris Hennes
a8ec527cab Merge pull request #15535 from bgbsww/bgbsww-toponamingSaveRestore3plus
Refactor all elementname pairs into clearer struct names
2024-07-21 11:40:39 -05:00
Yuri D'Elia
009e02b6c0 Gui: Fix Shiboken version detection and compilation error
- Shiboken headers need to be included first to get MAJOR/MINOR version
  flags. Without them the code would still compile, but fail the version
  check a few lines below assuming Shiboken is always older than 5.12
- Fix typo in cast when HAVE_SHIBOKEN_TYPE_FOR_TYPENAME is defined and
  remove the conditional: we have to assume typeForTypeName() always
  results in a valid name, as for the other implementations. There's no
  error handling of any kind in callers.

This fixes the build on debian unstable with shiboken 5.15.
2024-07-21 00:04:37 -05:00
Chris Hennes
debe1f933b Merge pull request #15481 from Syres916/Measure_Restrict_Availability
[Measure] Correctly restrict command availability
2024-07-20 23:33:03 -05:00
Chris Hennes
3522f483a3 Merge pull request #14918 from hlorus/measure_fix_assembly
Measure: Fix measure issues in assemblies
2024-07-20 23:06:24 -05:00
marioalexis
701d738a89 Fem: Fix manual color bar range specification - fixes #15013 2024-07-20 22:36:53 -05:00
marioalexis
d50506fb4d Fem: Use own base class for Python objects - fixes #15408 2024-07-20 21:10:15 -05:00
bgbsww
19e450a667 Refactor all element name pairs into clearer struct names - renames 2024-07-20 16:32:12 -04:00
bgbsww
d4d40efbc5 Refactor all element name pairs into clearer struct names - definitions 2024-07-20 16:32:12 -04:00
Chris Hennes
8dbf1e7910 Merge pull request #15500 from bgbsww/bgbsww-toponamingSaveRestore3
Toponaming: refactor getExportElementName to separate method
2024-07-19 20:05:42 -05:00
bgbsww
16b8d99d62 Toponaming: refactor getExportElementName to separate method 2024-07-19 10:19:57 -04:00
bgbsww
52294ce8c1 Toponaming: Clean Code adding RefIndex to ExternalGeometry and supporting new migration types. 2024-07-19 09:39:19 -04:00
Roy-043
62ddfb90dc BIM: Fix bug in OBJ import caused by missing utf8 encoding
Fixes #15512.
2024-07-19 15:24:43 +02:00
Zheng, Lei
31e2b3104c Transfer in code from linkstage3 2024-07-19 09:22:17 -04:00
bgbsww
81352f785d Throw exceptions rather than return default 0 2024-07-19 09:09:59 -04:00
bgbsww
4e0f64f57a Throw exceptions rather than return default 0 2024-07-19 08:59:25 -04:00
bgbsww
3efba18ad4 Expand reader getAttribute calls to accept a default value 2024-07-18 18:18:38 -05:00
wmayer
af114a021c PD: Fix possible crashes in dress-up task panels 2024-07-18 15:13:29 +02:00
wmayer
02dbf3b527 PD: Fix possible crash in primitive dialog 2024-07-18 14:28:52 +02:00
wmayer
010a36df30 PD: Add template helper functions to safely access feature or view provider
In subclasses of TaskFeatureParameters use the new helper functions and check for null pointer. This fixes #15453
2024-07-18 13:40:08 +02:00
wmayer
b1029bc682 PD: Replace helper functions in subclasses of TaskDlgFeatureParameters with a template function 2024-07-18 00:02:07 +02:00
wmayer
01d1e2b374 PD: Make blockUpdate private class member 2024-07-17 20:09:53 +02:00
Syres916
76b8be7082 [Measure] Fix Lint Feedback 2024-07-17 18:18:13 +01:00
hlorus
4adb1ecc8a Measure: Fix retrival of shape in measure geomtery handlers 2024-07-17 17:56:37 +02:00
hlorus
d8bbb3c804 Measure: Resolve App::Link elements 2024-07-17 17:56:37 +02:00