Commit Graph

28631 Commits

Author SHA1 Message Date
Chris Hennes
6fa8e4ccfb 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
241daabda4 Merge pull request #14898 from bgbsww/bgbsww-toponamingSaveRestoreElementMaps
Toponaming: Fix save and restore of elementmaps
2024-06-25 09:58:59 -05:00
PaddleStroke
fd64f38998 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
e49f74aed9 TechDraw: Snap: disable snap if ALT is pressed. 2024-06-25 09:16:51 -05:00
Chris Hennes
87154d75a8 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
8913e3ffdc Assembly: Do not attempt to drag grounded objects. 2024-06-25 09:14:59 -05:00
PaddleStroke
5e14435e02 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
PaddleStroke
b31f5fce2d Assembly: Insert Component: Fix comparing names instead of comparing objects 2024-06-25 10:37:50 +02:00
Chris Hennes
f310d2bd67 FEM: Remove unused members 2024-06-24 20:44:53 -05:00
jkvfc
75fc19ea1c CAM: Set new reference point for default slitting saw tool - fix #14759 2024-06-24 17:18:58 -05:00
Chris Hennes
d01ce32a1f 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
44e8f91085 [PartDesign] Fix thread depth level not enabled unless clicked 3 times 2024-06-24 11:19:06 -05:00
Chris Hennes
6f277af10a FEM: Remove set but unused variable 2024-06-24 18:17:11 +02:00
Chris Hennes
ded5c63667 Addon Manager: Linter cleanup 2024-06-24 18:16:10 +02:00
marioalexis
464a50d60e Fem: Clean up constraint view providers 2024-06-24 11:15:14 -05:00
Chris Hennes
1ba5f02129 Merge pull request #14766 from wwmayer/import_options
Import: Avoid modal dialog inside ImportGui.open()
2024-06-24 11:10:31 -05:00
Syres916
8bf54ad82f [Sketcher] Correct default OVP and Geometry Creation colors... (#14763)
* [Sketcher] Correct default OVP and Geometry Creation colors

* [pre-commit.ci] auto fixes from pre-commit.com hooks

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

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-24 11:08:28 -05:00
Robert Schiele
8465ea881a implement FORCE_BOOST_PY_SUFFIX
On some systems the boost-python suffix is not exactly as the code
currently expects. To avoid getting even more guessing in the CMake
files about how exactly the python component is named in the boost
installation we introduce a variable FORCE_BOOST_PY_SUFFIX that can
enforce a specific suffix. If the variable is not set the behavior is as
before.
2024-06-24 11:02:41 -05:00
Chris Hennes
df6b44644c Merge pull request #14833 from Jookia/RFC_testfixes
Tests: Fix some minor test failures
2024-06-24 11:01:29 -05:00
Turan Furkan Topak
bd9d911ca9 [Icons]Core Icon Revision (#14154)
* Core Icon Revision

Update utilities-terminal.svg

Update button_add_all.svg

pixel alignment

Pixel alignment was performed for the specified icons.

* Changes requested by Obelisk

* Return old icons
2024-06-24 10:54:58 -05:00
PaddleStroke
5dfb708d7d Assembly: jointObject : handle case where gui_doc.ActiveView is None. 2024-06-24 17:52:29 +02:00
PaddleStroke
53d20dc7f0 Assembly: Fix problem with external link to sub-assemblies. 2024-06-24 17:52:29 +02:00
Chris Hennes
e60d43fcdc Merge pull request #14386 from maxwxyz/sketcher-draw-style
Sketcher: Changes override draw style when entering sketch edit mode.
2024-06-24 10:48:19 -05:00
Adrián Insaurralde Avalos
114166a0e3 PD: improve hole dialog layout (#14031) 2024-06-24 10:44:13 -05:00
mosfet80
36b9b58eb3 [MOD:PART] removed unused parameter (#14252)
d variable are never used

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-06-24 10:41:39 -05:00
Chris Hennes
926fd370b1 Merge pull request #14079 from Ondsel-Development/sk_bspline_ovp
Sketcher: BSpline DSH: implement OVP/widget
2024-06-24 10:38:15 -05:00
CalligaroV
4a486b21ed Sketcher: fix external edges selection
* fix selection from Sketcher Task Panel
 * fix selection from 3D View
 * Synchronize selection between Task Panel and 3D View

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-06-24 10:35:54 -05:00
Roy-043
13296ccfc2 BIM: fix BIM_Setup unit system issue
Fixes #14675.

Note that I would prefer to use the FEM unit system (always mm). BIM_Setup does not support that, and this PR does not change that.
2024-06-24 15:42:27 +02:00
Yorik van Havre
727ff9a062 BIM: Simplificed BimViews.getTreeViewItem - fixes #14321 2024-06-24 15:38:34 +02:00
Roy-043
4d729871d3 BIM: fix SwitchWB preference by switching to BIM WB
Fixes #14680.
2024-06-24 10:43:08 +02:00
Roy-043
977b20d603 Draft: remove code related to obsolete Std_MeasureDistance objects
The Draft_Dimension command could convert Std_MeasureDistance objects. These have recently become obsolete. This PR removes the related code.
2024-06-24 10:31:03 +02:00
Roy-043
da1b81ceb1 Draft: Remove Draft_Fillet chamfer recalculation
If two straight edges were selected the chamfer distance would be recalculated so that the length of the straight segment would be equal to `r` (the radius entered by the user). But this was, and is, not done if one or both edges are arcs.

By removing the recalculation code the endpoints of the straight chamfer edge now always match the endpoints of the fillet arc that would be created for the same radius. This also matches the fillet/chamfer behavior in for example Part and Sketcher.
2024-06-24 10:08:45 +02:00
bgbsww
3c3709cb5d Toponaming: Fix save and restore of elementmaps 2024-06-23 23:33:12 -04:00
Max Wilfinger
d2491541e1 Rename OVP preference options 2024-06-23 12:29:19 -05:00
wandererfan
6fd73487c7 [TD]allow template fields to re-apply autofill 2024-06-23 09:48:25 -04:00
wandererfan
4d6fbac1a5 [TD]allow manual update of autofill fields 2024-06-23 09:48:25 -04:00
wandererfan
5723180e43 [TD]correct source of autofill fields 2024-06-23 09:48:25 -04:00
wandererfan
7b71753214 [TD]clean up editable field length and click area 2024-06-23 09:48:25 -04:00
wandererfan
eff32fbba8 [TD]fix wrong xml namespace in some templates 2024-06-23 09:48:25 -04:00
bgbsww
4c3fc869fe Toponaming: Check for selection mapped element name 2024-06-22 17:10:54 -05:00
Chris Hennes
a44f5e36fa Merge pull request #14771 from marioalexis84/fem-python_base_class
Fem: Create own base class for Python objects - fixes #14637
2024-06-22 13:13:14 -05:00
jffmichi
c47e0ec507 Path: replace import of PySide2 with PySide 2024-06-22 08:17:16 -05:00
sliptonic
00bdb354b3 fix regression with adding TC to job 2024-06-22 08:16:33 -05:00
sliptonic
18a23b8260 Fixing 'red ink' bugs in CAM
fixes:  https://github.com/Ondsel-Development/FreeCAD/issues/93
fixes https://github.com/Ondsel-Development/FreeCAD/issues/87
fixes https://github.com/Ondsel-Development/FreeCAD/issues/88


fix threadmilling error if not proper tool
fix vcarve error if no proper tool
fix probe error if no proper tool
fix deburr error if no base geometry
Fix adaptive op error if no base geometry
2024-06-22 08:16:33 -05:00
sliptonic
45439f0a36 fixes #14765 (#14814) 2024-06-22 08:15:25 -05:00
marioalexis
932c73f0de Fem: Remove selection observer - fixes #14001 2024-06-21 19:28:12 -05:00
marioalexis
32029a1488 Fem: Create own base class for Python Material objects 2024-06-21 19:26:18 -05:00
marioalexis
a5b0cab900 Fem: Create own base class for Python Mesh objects 2024-06-21 19:26:18 -05:00
marioalexis
eb73c8e20f Fem: Create own base class for Python Element objects 2024-06-21 19:26:18 -05:00
marioalexis
60e782223b Fem: Avoid unnecessary method overriding 2024-06-21 19:26:18 -05:00