Commit Graph

38616 Commits

Author SHA1 Message Date
PaddleStroke
65da0c1d6f Sketcher: Rename 'FocusOut' signal to 'TabOrEnterPressed' 2024-03-18 10:02:00 +01:00
wandererfan
b4e11db78d [TD]use weak_ptr as deletion guard
- prevent crash if dimension deleted by Python while dialog
  is open
2024-03-17 13:22:51 -04:00
bgbsww
93e823da30 Toposhape/Part: clean and add tests 2024-03-17 10:24:58 -04:00
Zheng, Lei
b710683ce5 Toposhape/Part: Transfer in makEOffset, makEOffsetFace, makEOffset2d 2024-03-17 10:24:58 -04:00
bgbsww
3bc87a9cf5 Clean and add tests for makeElementSolid 2024-03-17 10:24:58 -04:00
bgbsww
d0562d0c3a Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-03-17 10:24:58 -04:00
wmayer
2326d52a78 [TD]Refactor LTNP correction code for Dimensions
- additional geometry types

- add method to handle line like bsplines

- handle deleted ref body feature

- add test for empty savedGeometry

- add switch for matcher/LTNP on/off
2024-03-17 08:56:34 -04:00
Max Wilfinger
a6bb16ae78 update assembly icons 2024-03-17 11:21:16 +01:00
PaddleStroke
a7b78530da DrawSketchController: Fix crazy focus behavior in tool widget (see in the translate tool). 2024-03-17 08:15:54 +01:00
edi271
934395913a [TD] AxoLengthDimension: use getScale() instead of Scale 2024-03-16 20:00:27 -04:00
pavltom
8a4f13fb16 [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04:00
wmayer
fc8f93d437 Sketch: fixes #12480: Sketcher_CreateBSplineByInterpolation Unhandled unknown C++ exception
The interpolation of a BSpline can fail and then OCC throws an exception. Because this OCC exception isn't handled by the DrawSketchHandler the core system handles it as unknwon C++ exception
2024-03-17 00:47:43 +01:00
luzpaz
0fc8adc7c9 TD: fix whitespace in CommandPositionSectionView.py
Fix header whitespace
2024-03-17 00:46:19 +01:00
luzpaz
129e204236 TD: fix whitespace in CommandVertexCreations.py
Fix whitespace in header
2024-03-17 00:46:19 +01:00
luzpaz
92dff95b62 TD: Fix whitespace in CommandAxoLengthDimension.py
Fix header whitespace
[skip ci]
2024-03-17 00:46:19 +01:00
wmayer
ef39e34c14 plugin: port FreeCAD's QtDesigner plugin to Qt6 2024-03-16 18:47:34 +01:00
Max Wilfinger
3dc2c2c7a7 only run on FreeCAD repo 2024-03-16 10:43:27 -05:00
Max Wilfinger
8e3e3cbecc also include closed as not planned 2024-03-16 10:43:27 -05:00
Max Wilfinger
712e06445b Update issue-metrics.yml
change from full last month to the 15th as report date.
2024-03-16 10:43:27 -05:00
Max Wilfinger
41e34eb295 Merge pull request #12998 from maxwxyz/update-GH-labels
Update labels.yml for correct GitHub label
2024-03-16 16:04:57 +01:00
Max Wilfinger
1492279a09 Update labels.yml for correct GH label 2024-03-16 14:41:46 +01:00
wmayer
61fded281b Gui: fixes #12891: Random color not working for App::Part 2024-03-16 09:46:06 +01:00
wmayer
b2a76a2386 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
f2f312ce3b TD: fixes #12984: Doing Ctrl-Z in TechDraw reliably causes a segfault 2024-03-16 09:43:40 +01:00
wmayer
e42aeb7a42 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
af85689cff Mesh: fixes #12798: Macro not recording mesh decimation 2024-03-16 09:41:18 +01:00
wmayer
042d3a63e7 Mesh: add unit tests for mesh export 2024-03-16 09:39:49 +01:00
wmayer
99dc7826ae 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
qewer
657f990ff7 Merge branch 'main' into master 2024-03-16 10:47:58 +03:00
qewer33
e839733d59 closes #12989; Re-arrange Start Page template buttons 2024-03-16 10:43:57 +03:00
Chris Hennes
bcf54d3153 Merge pull request #12885 from bgbsww/bgbsww-toponamingAttachment
Toponaming/Part:  Bring over attacher differences
2024-03-15 17:18:36 -05:00
Florian Foinant-Willig
c99ff0d040 Merge branch 'main' into fix-variablelink 2024-03-15 21:50:17 +01:00
bgbsww
9aadc25c18 Toponaming/Part: Review and lint cleanups 2024-03-15 08:41:08 -04:00
bgbsww
2823d22dae Toponaming/Part: clean and test attacher 2024-03-15 08:11:26 -04:00
Zheng, Lei
a9e99b1667 Toponaming/Part: Bring over attacher differences 2024-03-15 08:11:26 -04:00
FEA-eng
0def330a9e DRAFT: Update preferences-draftsnap.ui 2024-03-15 13:01:56 +01:00
Chris Hennes
fb8b69b15d FEM: Add two missing PreCompiled.h includes 2024-03-14 22:24:16 -05:00
FEA-eng
6eeeb72081 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
48bfd227ac 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
c5505bc438 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
4988fa77fe FEM: Update solver.py 2024-03-14 22:13:56 -05:00
wandererfan
fca3b80da8 [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
a63ed712f6 [TD]fix thread line alignment 2024-03-14 21:45:16 -04:00
wandererfan
29cfe6db51 [TD]prevent fail on delete with open dialog 2024-03-14 21:45:16 -04:00
sliptonic
eb2bc96c74 Merge pull request #12956 from Ondsel-Development/fixcamtranslation
mark dynamic fields to not be translated
2024-03-14 10:45:57 -06:00
sliptonic
d819ab25a2 mark dynamic fields to not be translated 2024-03-14 11:39:41 -05:00
hoshengwei
2f29140512 Arch: Fixed bug in BuildingPart obj
Fixes #12921.
2024-03-14 14:55:32 +01:00
wmayer
1e9d6698b7 Gui: fixes #5609: Add MSAA 6x option 2024-03-14 11:41:33 +01:00
wmayer
80974bc503 Gui: refactor DlgSettings3DViewImp and fix some linter warnings 2024-03-14 10:10:53 +01:00
Chris Hennes
5264d6cc1f 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