Commit Graph

27635 Commits

Author SHA1 Message Date
PaddleStroke
6ae97edf70 TechDraw: Remove "TechDraw_MoveView" as it is now handled by drag and drop. 2024-03-25 13:17:46 -04:00
PaddleStroke
5940125359 TechDraw: Enable dragging and dropping of views between pages. 2024-03-25 13:17:46 -04:00
sliptonic
92ab98c79a Merge pull request #12662 from FEA-eng/fem_ccx_incrementation
New FEM CalculiX incrementation settings
2024-03-25 12:16:36 -05:00
PaddleStroke
a8adc573f8 Sketcher: Symmetry tool rework. 2024-03-25 17:48:01 +01:00
Yorik van Havre
3aab822df3 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
e69976ebbb Merge branch 'FreeCAD:main' into fem_ccx_incrementation 2024-03-25 10:45:23 +01:00
FEA-eng
a2a24e78f9 FEM: Update DlgSettingsFemCcxImp.cpp 2024-03-25 10:44:29 +01:00
FEA-eng
3597301ec1 FEM: Update DlgSettingsFemCcx.ui 2024-03-24 19:12:30 +01:00
FEA-eng
6f1f431f83 FEM: Update DlgSettingsFemCcx.ui 2024-03-24 19:10:00 +01:00
wmayer
05dc17a61a Gui: Apply clang-format on DlgProjectionOnSurface and fix linter warnings 2024-03-24 00:54:57 +01:00
pavltom
2f04fce75e [TechDraw] Issue #5903 - Autofill template information 2024-03-23 08:56:47 -04:00
Marco Patzer
2a1120429b Code reformat (black) 2024-03-23 08:52:06 -04:00
Marco Patzer
1cfa0426fb 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
730136e3e9 [TD]fix no PAT hatch on first paint 2024-03-23 08:47:36 -04:00
wandererfan
927ee745f2 [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
Chris Hennes
e9a45caf35 Merge pull request #13030 from bgbsww/bgbsww-toponamingFeatureExtrusionTwo
Toponaming/Part Move in feature extrusion
2024-03-22 10:40:56 -05:00
Chris Hennes
f24071a1e7 Merge pull request #12641 from Ondsel-Development/toolsettings_fix_focus_issue
[Sketcher] Toolsettings fix focus issue
2024-03-22 10:40:10 -05:00
Anurag Singh
8a30854380 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
426c35051f 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
b0a37a668c Part: fix regression in AttachEngine3D::_calculateAttachedPlacement 2024-03-22 11:40:58 +01:00
Roy-043
c4ba84469a 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
6151abaac1 Fixes #12186: Two new Sketcher preferences should show "Restart required" popup 2024-03-22 09:41:31 +01:00
wmayer
12cd8068f5 FEM: fix some linter warnings 2024-03-22 09:37:26 +01:00
marioalexis
f4bbfed153 Fem: Export PostObject data to VTK - fixes #5816 2024-03-21 20:38:05 -05:00
Zheng, Lei
8df43d0327 Toponaming/Part: Move missed attacher code into place 2024-03-21 16:27:23 +01:00
FEA-eng
edf639b4b4 FEM: Update solver.py 2024-03-21 12:30:01 +01:00
Yorik van Havre
41dab393db Arch: Register interactive arch tools to draft 2024-03-21 10:38:19 +01:00
bgbsww
c75acb2d51 Toponaming/Part: cleanup FeatureExtrusion 2024-03-20 20:45:06 -04:00
Chris Hennes
9d533373bc Merge pull request #12982 from bgbsww/bgbsww-toponamingFeatureMirroring
Toponaming/Part feature mirroring and offset
2024-03-20 18:16:36 -05:00
wmayer
4498de021a Drawing: Fix build failure for MSVC and PCH 2024-03-20 19:23:54 +01:00
Roy-043
de65f805b9 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
43ec38ec9e 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
oscarale
e0deea0068 Arch: Added longname and description to ArchSpace Text variables 2024-03-20 10:36:31 +01:00
Zheng, Lei
946f8e9b0b Toponaming/Part: bring in FeatureExtrusion and dependencies 2024-03-19 17:33:09 -04:00
bgbsww
60b8376fed Toponaming/Part: Clean and add tests for FeatureMirroring and FeatureOffset 2024-03-19 12:44:38 -04:00
bgbsww
7c812105ee Toposhape/Part: Cleanup FeatureFillet, FeatureChamfer and dependencies 2024-03-19 11:10:18 -04:00
Zheng, Lei
5da174f46e Toposhape/Part: Transfer in FeatureFillet, FeatureChamfer and dependencies 2024-03-18 22:05:25 -04:00
Zheng, Lei
d2ecccb622 Toponaming/Part: Transfer in FeatureMirroring and FeatureOffset 2024-03-18 19:43:19 -04:00
luzpaz
65cdbe3e89 Fix various typos throughout the codebase (#13029)
* Fix various typos throughout the codebase

* [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-03-18 16:54:30 -05:00
Chris Hennes
65efff5765 Merge pull request #12957 from bgbsww/bgbsww-toponamingMakeElementOffset
Toponaming/Part make element offset
2024-03-18 16:07:14 -05:00
Yorik van Havre
d77f958112 Draft: Made get_type aware of IFC objects 2024-03-18 18:50:56 +01:00
Yorik van Havre
5c8f026f67 Arch: Allow the IFC exporter to append to an existing IFC file 2024-03-18 18:50:28 +01:00
sliptonic
cf515f19c0 Merge pull request #13006 from maxwxyz/assembly-icons
UI: Assembly - update too similar icons
2024-03-18 11:38:36 -06:00
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
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
3c87ff59ee Sketcher: Rename 'FocusOut' signal to 'TabOrEnterPressed' 2024-03-18 10:02:00 +01:00