Commit Graph

34548 Commits

Author SHA1 Message Date
Max Wilfinger
241ce40b5f use setWindowModified() to indicate modified state and window title 2024-03-18 17:36:20 +01:00
Max Wilfinger
b4ad517ed6 display current active document in main window title 2024-03-18 17:36:20 +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
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
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
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
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
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
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
marioalexis
d16c3843e1 Fem: Update force constraint .inp files 2024-03-13 17:26:13 -03:00
Chris Hennes
843f6e883a Merge pull request #12918 from marioalexis84/fem-post_object_transparency
Fem: Partial transparency fix in FemPostObject display modes
2024-03-13 15:17:17 -05:00
Chris Hennes
d195787a68 Tools: Path -> CAM 2024-03-13 14:04:20 -05:00
Chris Hennes
df8ae11f00 Merge pull request #12737 from chennes/cleanTrailingSpacesForTranslation
Clean trailing spaces for translation
2024-03-13 14:00:54 -05:00
wandererfan
fe89dbb030 [TD]remove obsolete LinkDimension from toolbar 2024-03-13 13:54:59 -04:00
wandererfan
91350aad36 [TD]expose getScale() to Python 2024-03-13 13:54:59 -04:00
Marco Patzer
ab3296b124 TechDraw: Add space before tolerance class for hole/shaft fits 2024-03-13 13:52:13 -04:00
marioalexis
7a07a61320 Fem: Format force constraint in CalculiX writer - fixes #12805 2024-03-13 14:50:24 -03:00
Pierre
0d228bcec4 PR for issue #12910 2024-03-13 09:02:15 -04:00
Anurag Singh
69a3371e61 Added-Back-Missing-Docs 2024-03-13 13:47:49 +01:00
Anurag Singh
a21c0ab696 Added-API-Documentation-for-ShapeFix.xml 2024-03-13 13:47:49 +01:00
Anurag Singh
1cb8ca6bf4 Added-API-Documentation-for-PlateSurfacePy.xml 2024-03-13 13:47:49 +01:00
Anurag Singh
afd2cd3943 Added-API-Documentation-for-RectangularTrimmedSurfacePy.xml 2024-03-13 13:47:49 +01:00
wmayer
b346720ab2 Cloud: fixes #12888: Build on Linux fails because of Cloud component 2024-03-13 12:45:46 +01:00
marioalexis
4a6771c441 Fem: Partial transparency fix in FemPostObject display modes 2024-03-13 05:50:27 -03:00
marioalexis
1225e7be17 Fem: Export/import mesh elements to Vtk using proper order 2024-03-13 05:50:17 -03:00
Chris Hennes
aec4dd7683 CAM: Remove trailing spaces from translations 2024-03-12 22:49:06 -05:00