Commit Graph

38926 Commits

Author SHA1 Message Date
André Althaus
35ca189589 Fix regression in pattern reference selection
Reference selection in the GUI was accidentially changed to only
allow specific types of objects, preventing e.g. selection of a DatumPlane
for mirroring.

This restores the previous functionality.
2024-03-18 18:31:12 +01:00
sliptonic
67a31fa948 Merge pull request #12899 from yorikvanhavre/arch-array-ifc
Arch: Fixed IFC export of arrays
2024-03-18 11:25:32 -06:00
Max Wilfinger
3d5d58c418 add constraint perpendicular to the context menu if a conic and line is selected. 2024-03-18 13:24:16 -04:00
PaddleStroke
58975135f4 Sketcher: Chamfer tool (and fillet refactor) 2024-03-18 13:23:54 -04:00
PaddleStroke
e6802b049c Sketcher : fix error in className of CmdSketcherCompHorizontalVertical 2024-03-18 13:23:54 -04:00
sliptonic
8787ae45df Merge pull request #12878 from maxwxyz/view-command-group
UI/UX: Create a toolbar command group for default views
2024-03-18 11:21:32 -06:00
lyphrowny
be14bde507 FEA: fix 1d beam cross section orientation (#12833)
* FEA: fix 1d beam cross section orientation

* FEM: revert 1,2-directions to FreeCAD way; fix normal direction for z<0

* FEM: change 1-direction to +y axis

Previous commit changes the 1-direction to -y axis, however originally it was directed at +y axis. This commit makes the 1-direction face +y axis

* FEM: update cantilever tests

* FEM: relax math.isclose by adding abs tolerance
2024-03-18 18:16:10 +01:00
PaddleStroke
0012301001 Navicube : Add missing 'Fit selection' menu entry. 2024-03-18 17:37:40 +01:00
Max Wilfinger
9469f0fdad use setWindowModified() to indicate modified state and window title 2024-03-18 17:36:20 +01:00
Max Wilfinger
bdebed7d17 display current active document in main window title 2024-03-18 17:36:20 +01:00
PaddleStroke
3c87ff59ee Sketcher: Rename 'FocusOut' signal to 'TabOrEnterPressed' 2024-03-18 10:02:00 +01:00
wandererfan
87baa154ac [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
a27e91a272 Toposhape/Part: clean and add tests 2024-03-17 10:24:58 -04:00
Zheng, Lei
201d48659f Toposhape/Part: Transfer in makEOffset, makEOffsetFace, makEOffset2d 2024-03-17 10:24:58 -04:00
bgbsww
582d015eaf Clean and add tests for makeElementSolid 2024-03-17 10:24:58 -04:00
bgbsww
4688de0239 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-03-17 10:24:58 -04:00
wmayer
48ff9ad3a1 [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
7247789e12 update assembly icons 2024-03-17 11:21:16 +01:00
PaddleStroke
4ced18c419 DrawSketchController: Fix crazy focus behavior in tool widget (see in the translate tool). 2024-03-17 08:15:54 +01:00
edi271
1bc62cf113 [TD] AxoLengthDimension: use getScale() instead of Scale 2024-03-16 20:00:27 -04:00
pavltom
1ead8c6f0f [TechDraw] Unify Projection Group parent linking 2024-03-16 19:59:49 -04:00
wmayer
87e0d10d33 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
d3c5c4c091 TD: fix whitespace in CommandPositionSectionView.py
Fix header whitespace
2024-03-17 00:46:19 +01:00
luzpaz
72f719f192 TD: fix whitespace in CommandVertexCreations.py
Fix whitespace in header
2024-03-17 00:46:19 +01:00
luzpaz
6ef8494580 TD: Fix whitespace in CommandAxoLengthDimension.py
Fix header whitespace
[skip ci]
2024-03-17 00:46:19 +01:00
wmayer
9ba9092036 plugin: port FreeCAD's QtDesigner plugin to Qt6 2024-03-16 18:47:34 +01:00
Max Wilfinger
12365d0444 only run on FreeCAD repo 2024-03-16 10:43:27 -05:00
Max Wilfinger
554fa761ab also include closed as not planned 2024-03-16 10:43:27 -05:00
Max Wilfinger
b75be9818f 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
357b50d1d1 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
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
qewer
c4de17722c Merge branch 'main' into master 2024-03-16 10:47:58 +03:00
qewer33
126fb1cfc2 closes #12989; Re-arrange Start Page template buttons 2024-03-16 10:43:57 +03: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
Florian Foinant-Willig
15a9069cd2 Merge branch 'main' into fix-variablelink 2024-03-15 21:50:17 +01: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