Commit Graph

40457 Commits

Author SHA1 Message Date
Chris Hennes
7487251d0c cMake: Fix ENDIF() and clean up formatting 2024-06-28 13:50:30 -05:00
PaddleStroke
61c800c708 Assembly: Gears: Fix crash if user selected first elements before triggering tool. 2024-06-28 12:07:11 -05:00
pre-commit-ci[bot]
3d6a490003 Review cleanups 2024-06-28 11:57:43 -05:00
bgbsww
08859462ea Toponaming: Cleanups 2024-06-28 11:57:43 -05:00
Zheng, Lei
3dbc1d7393 Toponaming: Transfer in missing Code for BaseFeatures and Sketches 2024-06-28 11:57:43 -05:00
bgbsww
cc93d99f49 Toponaming: Add tests for subshaoebinder, attachment problems. 2024-06-28 11:57:43 -05:00
Jacob Oursland
21cfa07283 Conda: pin VTK to 9.2.6. 2024-06-28 11:53:19 -05:00
Pieter Hijma
06afcba869 Core: Fix a missing Python interpreter lock
ReportView has a missing Python interpreter lock.  It is not breaking
FreeCAD in general but it is deemed a bug nonetheless.  See the issue.
2024-06-27 08:02:15 -05:00
Chris Hennes
5f632e62cf Addon Manager: Allow widget expansion in Qt6 2024-06-27 08:00:35 -05:00
Chris Hennes
f275fca621 Addon Manager: Fix Qt6 redirect-following code
Also fixes data type problems with variable declarations in __init__
2024-06-27 07:58:56 -05:00
PaddleStroke
c2c2178c51 Assembly: Create Joint limit: Moving objects updates the spinboxes values if they are disabled. 2024-06-27 09:10:38 +02:00
PaddleStroke
fcf54e031c Assembly: Enable moving objects while making joints. 2024-06-27 09:10:38 +02:00
PaddleStroke
94ebaeac7d Assembly: Create joint : Reduce heigth of list widget. 2024-06-27 09:10:38 +02:00
PaddleStroke
e5d604369b Assembly: Create Joint : fix untranslated strings. 2024-06-27 09:10:37 +02:00
PaddleStroke
42cfd1e389 Assembly: Limits: Set one checkbox for each limit. 2024-06-27 09:10:30 +02:00
Chris Hennes
299762f793 Merge pull request #14536 from CalligaroV/toponaming-Part-makeElementWires-from-LS3
Part/Toponaming: makeElementWires - import from LS3 fork
2024-06-26 18:22:21 -05:00
Chris Hennes
78c655af20 Gui: Remove unused ref to GL context 2024-06-26 11:53:18 -05:00
Roy-043
123f05aecb Measure: Prefs: add unit to DefaultFontSize (px) and title in sentence case 2024-06-26 11:52:35 -05:00
Chris Hennes
da37ccc674 TNP: Update test to use AttachmentSupport 2024-06-26 10:46:36 -05:00
Chris Hennes
1c86a60877 Switch back to emplace_back 2024-06-26 10:46:36 -05:00
Syres916
08ee9fa728 Part/Toponaming: makeElementWires
* Added tests developed by Syres916
2024-06-26 10:46:36 -05:00
CalligaroV
5a9828426d Part/Toponaming: makeElementWires
* Updated tests

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-06-26 10:46:36 -05:00
Zheng, Lei
f28d8a6a05 Part/Toponaming: makeElementWires
* restored original definitions of makeElementWires methods
2024-06-26 10:46:36 -05:00
PaddleStroke
9ae198ab95 Assembly: Limits: Set one checkbox for each limit. 2024-06-26 17:06:02 +02:00
marcuspollio
32763bd036 BIM: update Glue icon (#14821)
* BIM: update Glue icon

* BIM: update Glue icon

* Improve readability

* Update following feedback
2024-06-26 14:15:30 +02:00
Chris Hennes
7da34afbf2 Merge pull request #14934 from Ondsel-Development/asm_insert_asm
Assembly: Insert Component: Fix assembly not appearing
2024-06-25 11:03:16 -05:00
Chris Hennes
9d506e3bfc Merge pull request #14898 from bgbsww/bgbsww-toponamingSaveRestoreElementMaps
Toponaming: Fix save and restore of elementmaps
2024-06-25 09:58:59 -05:00
PaddleStroke
6082b67ed0 Assembly: Insert Component: Fix 'Joint Group' being listed even though it's empty. It's because we were using OutList instead of claimChildren. 2024-06-25 16:37:31 +02:00
PaddleStroke
3375bbfb8e TechDraw: Snap: disable snap if ALT is pressed. 2024-06-25 09:16:51 -05:00
Chris Hennes
2354e08699 Merge pull request #14908 from Ondsel-Development/asm_sub_fix
Assembly: Fix link to external sub assemblies issues.
2024-06-25 09:15:52 -05:00
PaddleStroke
0972645fab Assembly: Do not attempt to drag grounded objects. 2024-06-25 09:14:59 -05:00
PaddleStroke
74eb6bb156 Assembly: Fix a bug with presolve. Presolve should not happen when there's a loop of joints. 2024-06-25 09:12:50 -05:00
Kacper Donat
e04b28e66d Gui: Use our own ToolBar class in all places 2024-06-25 11:39:54 +02:00
Zheng, Lei
214322665b Gui: Add dragging support for custom ToolBarAreas
This adds dragging support for toolbars placed in custom toolbar areas.
It is achived by creating our own custom ToolBar class that handles
logic of providing custom gripper. This is required because Qt hides
gripper when toolbar is not direct child of the main window which cannot
be overriden. Custom class should allow us to create more capable
toolbars in the future so it should be great addition on its own.

Co-Authored-By: Kacper Donat <kacper@kadet.net>
2024-06-25 11:39:51 +02:00
PaddleStroke
8ef57be4bb Core: ViewProvider: Add claimChildrenRecursive 2024-06-25 11:34:43 +02:00
PaddleStroke
2114c6ecce Assembly: Insert Component: Fix comparing names instead of comparing objects 2024-06-25 10:37:50 +02:00
Chris Hennes
53ee68c02d FEM: Remove unused members 2024-06-24 20:44:53 -05:00
marioalexis
6002a73fd7 Fem: Use base class open and reject methods in constraint task panels 2024-06-24 22:03:07 -03:00
marioalexis
5548ba1c59 Fem: Set Scale in TaskFemConstraint base class 2024-06-24 22:03:07 -03:00
Jookia
01d1b29cc7 pre-commit: Pin versions 2024-06-24 19:43:55 -05:00
jkvfc
77f01c7d4f CAM: Set new reference point for default slitting saw tool - fix #14759 2024-06-24 17:18:58 -05:00
Roy-043
c596c8e17c Gui: Tree.cpp make some gui texts more consistent
The gui texts for "Show description" and "Show internal name" were inconsistent.

"Show description column" -> "Show description"

"Show an extra tree view column for item description. -> "Show a description column for items."
2024-06-24 11:29:05 -05:00
Kacper Donat
acacdea43b Gui: Change QStyle only with theme
It fiexes performance issues on applying preferences that happens due to
forcing Qt style which is quite slow operation.
2024-06-24 11:28:13 -05:00
Ajinkya Dahale
bf649e2419 [Sketcher] Delete point-on-object on trimmed portion
This could cause undesirable shape change, especially in B-splines.
2024-06-24 21:56:58 +05:30
Ajinkya Dahale
ee2d324744 [Sketcher] Fix some issues with trimming splines
1. Transfer point-on-object to the correct resulting curve: Currently the
constraint remains on the "start" curve created after the trim.
2. Expose internal geometries of both resulting B-splines.
2024-06-24 21:56:58 +05:30
Ajinkya Dahale
dbef3747eb [Part] Do not assume default period in B-spline 2024-06-24 21:56:58 +05:30
Ajinkya Dahale
e1c3dd2fea [Part][test] Add tests for GeomBSplineCurve::Trim() 2024-06-24 21:56:58 +05:30
Ajinkya Dahale
1a6a7d07c2 [Sketcher] Rearrange directives to appease syntax highlight
Spacemacs doesn't handle the braces flow very well. This commit can be dropped
if necessary.
2024-06-24 21:56:58 +05:30
Chris Hennes
5e47f6804f Update for LibPack3 (#10337)
* cMake: Add base support for LibPack3

Minor changes to FreeCAD source code to support compiling with Qt 6.5 on MSVC,
and changes to cMake setup to support the new Libpack.

* NETGENPlugin: Fix compilation with MSVC and OCCT 7.8

* Material: Switch to Wrapped_ParseTupleAndKeywords for /fpermissive- on MSVC

* Base: Prevent accidental definition of MIN and MAX by MSVC

* cMake: Prevent accidentally finding an old LibPack

* Material: Wrap another ParseTuple call

* OCCT: Modify includes for 7.8.x

* Part: Change TNP code to use Wrapped_ParseTupleAndArgs

* Spreadsheet: Workaround for MSVC macro pollution

* Mesh: Workaround for MSVC macro pollution

* Base: Remove extra MSVC flag (moved to CMake)

* Tests: Fix compiling with /permissive-

* FEM: Fix Qt warnings about duplicate element names

* cMake: Ensure major version numbers are set

* Address review comments.

* cMake: Further tweaks for LibPack3

* cMake: Modify specification of compiler flags for MSVC

* Main: Remove QtQuick testing code

* cmake: Find Boost before SMESH (which uses it)

* Fixes for LibPack2

* cMake: Another try at importinhg VTK cleanly
2024-06-24 18:25:05 +02:00
Syres916
c06cbce42c [PartDesign] Fix thread depth level not enabled unless clicked 3 times 2024-06-24 11:19:06 -05:00