Commit Graph

34667 Commits

Author SHA1 Message Date
Zheng, Lei
f19df465ea Toponaming/Part: Move sketcher override of getElementName over 2024-03-25 21:51:41 -04:00
sliptonic
380d452adb Merge pull request #13056 from plaes-prs/drop-dos2unix
fedora.spec: Drop dos2unix dependency
2024-03-25 12:38:46 -05:00
sliptonic
4182e5f7f1 Merge pull request #12991 from qewer33/master
Re-arrange Start Page template buttons
2024-03-25 12:31:43 -05:00
Florian Foinant-Willig
c7d85ff9d9 [PartDesign] Still a helix fix (#12977)
* [PartDesign] Still a helix fix

If we don't break the helix path at each turns we get a vaild path for
MakePipe (solid) even with an angle.

* Decrease helix tests requirements
2024-03-25 18:31:20 +01:00
sliptonic
fffbff0ff0 Merge pull request #12948 from wwmayer/issue_5609
Fixes #5609: Add MSAA 6x option
2024-03-25 12:27:58 -05:00
PaddleStroke
dfb4afb3af TechDraw: Enable drag and drop to and from clip groups.
Remove TechDraw_ClipGroupAdd and TechDraw_ClipGroupRemove from the UI.
2024-03-25 13:17:46 -04:00
PaddleStroke
fae245be0e TechDraw: double clicking page switch to techdraw wb. Fixes #13061 2024-03-25 13:17:46 -04:00
PaddleStroke
fdfa5de192 TechDraw: Remove "TechDraw_MoveView" as it is now handled by drag and drop. 2024-03-25 13:17:46 -04:00
PaddleStroke
843dd55dd4 TechDraw: Enable dragging and dropping of views between pages. 2024-03-25 13:17:46 -04:00
sliptonic
f5a5b6646b Merge pull request #12662 from FEA-eng/fem_ccx_incrementation
New FEM CalculiX incrementation settings
2024-03-25 12:16:36 -05:00
PaddleStroke
e4213fc10f Sketcher: Symmetry tool rework. 2024-03-25 17:48:01 +01:00
Yorik van Havre
3defef03c6 Arch: Allow to write IFC objects without owner history (#13076)
* Arch: Allow to write IFC objects without owner history

* Arch: Fixed context detection in IFC exporter
2024-03-25 17:29:33 +01:00
FEA-eng
d8b289df6e Merge branch 'FreeCAD:main' into fem_ccx_incrementation 2024-03-25 10:45:23 +01:00
FEA-eng
0434bc1197 FEM: Update DlgSettingsFemCcxImp.cpp 2024-03-25 10:44:29 +01:00
FEA-eng
58757a3129 FEM: Update DlgSettingsFemCcx.ui 2024-03-24 19:12:30 +01:00
FEA-eng
c667dd2d45 FEM: Update DlgSettingsFemCcx.ui 2024-03-24 19:10:00 +01:00
wmayer
d5b90e50af Gui: Apply clang-format on DlgProjectionOnSurface and fix linter warnings 2024-03-24 00:54:57 +01:00
pavltom
aac48eb2f9 [TechDraw] Issue #5903 - Autofill template information 2024-03-23 08:56:47 -04:00
Marco Patzer
897e969477 Code reformat (black) 2024-03-23 08:52:06 -04:00
Marco Patzer
961e547161 Add leading plus (+) in hole/shaft fit limit
ISO 286/14405-1 calls for a plus sign if the limit is positive and a
minus sign if the limit is negative. A zero limit should have neither
a plus nor a minus sign. This commit adds the plus sign.
2024-03-23 08:52:06 -04:00
wandererfan
c7ecfcee43 [TD]fix no PAT hatch on first paint 2024-03-23 08:47:36 -04:00
wandererfan
6337b454e1 [TD]protect against bad pref value
- this is a temporary measure to prevent problems caused by a
  bad value for LineStandard parameter.  A previous devel version
  stored on invalid value.  This patch can be removed before
  moving to production.
- this condition can be corrected by editing LineStandard to 0, 1 or
  2.  a plethora of warning messages is issued until the parameter is
  corrected.
2024-03-23 08:47:36 -04:00
Florian Foinant-Willig
edbab63c91 [Gui] Allow to create ExpLineEdit with python 2024-03-23 10:19:16 +01:00
Chris Hennes
2ebbd83268 Merge pull request #13030 from bgbsww/bgbsww-toponamingFeatureExtrusionTwo
Toponaming/Part Move in feature extrusion
2024-03-22 10:40:56 -05:00
Chris Hennes
a7416c509b Merge pull request #12641 from Ondsel-Development/toolsettings_fix_focus_issue
[Sketcher] Toolsettings fix focus issue
2024-03-22 10:40:10 -05:00
wmayer
1cfad41422 Gui: clear the title bar after closing the last MDI window 2024-03-22 16:08:44 +01:00
Anurag Singh
299dab5769 Add Missing API documentation/Update API Documentation for various files. (#13062)
* Added-API-Documentation-for-RectangularTrimmedSurfacePy.xml

* Added-API-Documentation-for-PlateSurfacePy.xml

* Added-API-Documentation-for-ShapeFix.xml

* Added-Back-Missing-Docs

* Add Missing Documentation to BuildPlateSurface

* Elaborate ComplexGeoData Functions

* Elaborate ComplexGeoData Functions

* Elaborates TypePy

* Add Missing Documentation to AreaPy
2024-03-22 15:49:36 +01:00
Roy-043
810923e019 Merge pull request #13064 from Roy-043/Draft-Improve-logic-of-Draft_Label-texts
Draft: Improve logic of Draft_Label texts
2024-03-22 11:43:11 +01:00
wmayer
1d30a8698f Part: fix regression in AttachEngine3D::_calculateAttachedPlacement 2024-03-22 11:40:58 +01:00
Roy-043
aaa9d65258 Merge pull request #13079 from yorikvanhavre/arch-tools-draft
Arch: Register interactive arch tools to draft
2024-03-22 11:20:45 +01:00
wmayer
2295cba5ef Fixes #11970: Return values of FreeCAD.get*Dir and FreeCAD.get*Path functions have inconsistent path separators 2024-03-22 09:42:31 +01:00
wmayer
4f429e3288 Fixes #12186: Two new Sketcher preferences should show "Restart required" popup 2024-03-22 09:41:31 +01:00
wmayer
1dad1b3718 Fixes #11861: Gui::PrefUnitSpinBox requires restart after unit system change
This fixes a regression of PR #11266 that dropped the case where neither the option 'Ignore project unit system and use the default' is set
nor an active document exists. In this case nothing happens even if the user changed the unit system.
2024-03-22 09:40:13 +01:00
wmayer
7857a22cfc App: fix linter warnings in VRMLObject 2024-03-22 09:39:21 +01:00
wmayer
fcc7ab4e48 App: fixes #13022
App::VRMLObject with more than one texture isn't properly displayed when file is reopened
2024-03-22 09:39:21 +01:00
wmayer
959e9ed43d App: InVRMLObject use two different index variables for restoring and saving
This is needed as it can happen (e.g. when debugging) that while restoring a project the auto-save mechanism is called that messes up the index value
2024-03-22 09:39:21 +01:00
wmayer
3ad453d5e3 FEM: fix some linter warnings 2024-03-22 09:37:26 +01:00
marioalexis
cbdef026f5 Fem: Export PostObject data to VTK - fixes #5816 2024-03-21 20:38:05 -05:00
Zheng, Lei
105c3363b8 Toponaming/Part: Move missed attacher code into place 2024-03-21 16:27:23 +01:00
FEA-eng
b19ac278f3 FEM: Update solver.py 2024-03-21 12:30:01 +01:00
Yorik van Havre
673beb7d3a Arch: Register interactive arch tools to draft 2024-03-21 10:38:19 +01:00
bgbsww
c31ebeeee6 Toponaming/Part: cleanup FeatureExtrusion 2024-03-20 20:45:06 -04:00
Chris Hennes
161b0fb6ee Merge pull request #12982 from bgbsww/bgbsww-toponamingFeatureMirroring
Toponaming/Part feature mirroring and offset
2024-03-20 18:16:36 -05:00
wmayer
655d5e4fbd Base: enable user site-packages for Py >= 3.11
For more details see: https://forum.freecad.org/viewtopic.php?p=748296#p748296
2024-03-20 19:24:45 +01:00
wmayer
e63e9981dd Drawing: Fix build failure for MSVC and PCH 2024-03-20 19:23:54 +01:00
Roy-043
fa49577838 Draft: Improve logic of Draft_Label texts
The proposed code fixes the following issues:
1. There is no check if the target object itself has a property that matches the label type.
2. If a subelement is selected that does not have the label type property, the value from the main object is displayed instead.
3. The default text is an empty string.

Example:

Currently If you select a vertex of a wire, and select "Length" as the label type, you will get the length of the wire. With the new code the text will then be "Length not available for (sub)object".

Forum topic (issue #1):
https://forum.freecad.org/viewtopic.php?t=86222
2024-03-20 18:29:01 +01:00
wmayer
41de357e8f Issue #11989: Segfault on "Move Object to Other Body"
The reason of the crash is a static_cast of an unknown type that causes undefined behaviour. The feature AdditiveLoft has the
property Section of type PropertyLinkSubList but the function does a static_cast to PropertyLinkList.

The solution is to use a dynamic_cast that returns null if the cast fails.
2024-03-20 18:06:23 +01:00
wmayer
0ae1ec462d Fixes #13011: Failure of test additionOperators when built with Qt6 2024-03-20 18:05:13 +01:00
Priit Laes
166c5d7523 test: Switch unittestgui.py to use unix line endings 2024-03-20 15:25:52 +02:00
oscarale
e4edf3afa6 Arch: Added longname and description to ArchSpace Text variables 2024-03-20 10:36:31 +01:00