Commit Graph

30421 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
8389689b1b [TechDraw] Fix incorrect centering of dimension label
and improve rendering of frame
Fixes #15103
2024-09-02 16:53:37 -04:00
wandererfan
fe698a3fb2 [TD]fix outer torus edge not rendered (fix #16136) 2024-09-02 18:41:58 +02:00
WandererFan
e852052df8 [TD]Fix section snapping (fix #15961) (#15450)
* [TD]Add view snapping preferences

* [TD]fix section snapping algo

- snap sections to section normal line.
- snap views to other views in X&Y

* [TD]fix snapping to ProjectionGroups
2024-09-02 18:41:25 +02:00
Roy-043
77539c1091 Draft: Fix regression with layer drag-and-drop behavior
Fixes: #16201

Changing the Group property type of layers to `App::PropertyLinkListHidden` also means that they longer occur in the InList of nested objects. This side-effect was missed in #14506.
2024-09-02 18:40:23 +02:00
hlorus
62a44a94f6 Measure: Fix crash when removing referenced element
Also improve error messages
Fixes #16183
2024-09-02 12:39:05 -04:00
Shai Seger
e15af16232 [CAM SIMULATOR] Bug fixes for Issues #16073 and #16052 (#16118)
* Bug fixes for Issues #16073 and #16052

* Fix tool rendering when tool position is not reset. Issue #16180

* Fix some lint warnings
2024-09-02 11:31:08 -05:00
bgbsww
85c1f5c47c Toponaming: Fix ctrl selection issues by looking up element names and setting up detail path 2024-09-02 18:28:11 +02:00
Benjamin Bræstrup Sayoc
e56ac1a840 [TechDraw] Adjust widget positions to accomodate more themes 2024-09-02 18:27:01 +02:00
Benjamin Bræstrup Sayoc
dd2ad5f30b [TechDraw] Make icons transparent and adaptable to theme color
...and center icons
2024-09-02 18:27:01 +02:00
Benjamin Bræstrup Sayoc
50eacde608 [TechDraw] Increase icon size for surface finish symbol buttons 2024-09-02 18:27:01 +02:00
wandererfan
93e685bd7a [TD]fix dim text wrong side of dim line (fix #16172) 2024-09-02 18:24:16 +02:00
wandererfan
9a5597a5fa [TD]fix projection group detection (fix #16179) 2024-09-02 18:23:37 +02:00
PaddleStroke
4972335385 Sketcher: ConstraintPyImp: replace 'cstr' name by 'constraint' 2024-09-02 18:22:51 +02:00
PaddleStroke
3db4633f9d Sketcher: addGeometry : Remove point construction limitation. 2024-09-02 18:22:51 +02:00
PaddleStroke
33e00078a5 Sketcher: Fillet preserving point : Make point construction. 2024-09-02 18:22:51 +02:00
PaddleStroke
ff74dd5106 Sketcher: Make it possible to specify if the constraint is active or driving during python creation. 2024-09-02 18:22:51 +02:00
PaddleStroke
7c6dde17fb Assembly: Fix case of link groups 2024-09-02 18:20:18 +02:00
PaddleStroke
79b9d45726 Assembly: Enable ungrounded connected parts to move as one item. 2024-09-02 18:20:18 +02:00
marioalexis
8fb3b26704 Fem: Use regex for gmsh groups items 2024-09-02 18:12:16 +02:00
Álvaro González Vila
a6980be400 add BOPFeatures to BOPTools __init__.py 2024-09-02 18:11:28 +02:00
CalligaroV
ac253463c1 Applied review hints
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-02 18:05:42 +02:00
Zheng, Lei
c6dc482f02 Part/Toponaming: import code for TopoShape::prepareProfiles() from LS3
* import code
2024-09-02 18:05:42 +02:00
CalligaroV
bb86ed3206 Part/Toponaming: import code for TopoShape::prepareProfiles() from LS3
* add test for issue #15735

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-02 18:05:42 +02:00
mosfet80
3b60bf7194 clean Measurement.cpp
clean Measurement.cpp
2024-09-02 18:04:24 +02:00
wandererfan
df64558362 [TD]fix page margins on pdf export (fix #15848) 2024-09-02 18:02:30 +02:00
bgbsww
3a6f70946a Fix #16013 (#16090)
* Fix #16013

* Fix #16013
2024-09-02 18:00:47 +02:00
bgbsww
24bb499c1f Cleanup element map in Revolution and add test (#15959) 2024-09-02 17:59:44 +02:00
hlorus
16cfe2f499 [MeasureGui] Use temporary measure object creation (#15122)
* MeasureGui: Store measure type in TaskMeasure

* MeasureGui: Avoid adding measurement to document during command interaction

* [Gui] Add check for document in VPDocumentObject::getActiveView

* MeasureGui: Track the document when adding objects

* MeasureGui: Cleanup python measurement creation

* [Gui] Add isAnnotationViewProvider method

* [Gui] Check if viewprovider is added as an annotation in getActiveView

* [Gui] Add takeAnnotationViewprovider method to Gui::Document

* [Gui] Make addViewProvider public

* [MeasureGui] Add existing view provider to document when storing measurement

* [MeasureGui] Fix invocation of initial label placement

* [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-09-02 11:54:05 -04:00
wwmayer
e98ffc3060 PartDesign: Prepare for clang-format (#16048)
* PartDesign: Prepare for clang-format

* [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-09-02 17:48:26 +02:00
wandererfan
e88b1b49c9 [TD]fix balloon drag on rotated view (fix #15726) 2024-09-02 17:47:40 +02:00
Roy-043
1be41b68a2 Draft: Fix regression with display of SVG patterns
In V0.22 SVG patterns are not displayed when a file is reopend.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=90128
2024-09-02 10:51:55 +02:00
Roy-043
44c796c8d3 Draft: Fix error handling of Draft_Trimex
Selecting an edge or vertex of a solid was not handled properly. The tool does not support these subelements, but the code did not call self.finish() is such cases.
2024-09-02 10:46:08 +02:00
marioalexis
2a9cf9e8e6 Fem: Abort transaction by pressing cancel button in task panel 2024-08-31 13:53:29 -05:00
marioalexis
abef50a518 Fem: Use pyViewObject base member in getPyObject methods 2024-08-31 13:53:29 -05:00
Chris Hennes
ce40d344a7 Merge pull request #16133 from Ondsel-Development/sk_circle_ovp_bug
Sketcher: Fix autoconstraint issue
2024-08-31 13:23:14 -05:00
bgbsww
2a541c9536 Toponaming: Remove remaining FC_USE_TNP_FIX defines 2024-08-31 13:21:10 -05:00
Syres916
4068341873 [Material] Prefs - User Directory - set to Directory chooser 2024-08-31 13:19:57 -05:00
Ajinkya Dahale
d43dbf2449 [planegcs] Fix error gradient check in ConstraintTangentCircumf 2024-08-31 13:19:13 -05:00
Roy-043
ab741cd2ac Draft: Fix max value of Scale multiplier in ui files
Without this max value the spinbox stops at 99.99. The max value is the same as in preferences-drafttexts.ui.
2024-08-31 13:18:37 -05:00
Roy-043
cc12721fc3 BIM: Fix Python 3.12 run time error with importers
Fixes #16137

Similar to this fix:
https://github.com/FreeCAD/FreeCAD/pull/13337#discussion_r1564806896
2024-08-31 13:17:58 -05:00
FEA-eng
c7f0c36439 FEM: Update commands.py 2024-08-31 13:15:46 -05:00
Florian Foinant-Willig
80c1ad4a0a [PD] Fix Pad a Plane attached Sketch upto a Plane (#16056) 2024-08-31 13:09:39 -05:00
Chris Hennes
0524288117 Merge pull request #16129 from FEA-eng/compound_merge_tip
Fix incorrect Compound merge tip
2024-08-31 11:41:12 -05:00
Chris Hennes
f88f42a3b9 Merge pull request #16122 from yorikvanhavre/translations
Translations
2024-08-31 00:46:40 -05:00
PaddleStroke
4b3358a35b Assembly: Make sure the subnames index are valid before trying to access the Edges/Faces/Vertexes vectors of the shapes. Else it would crash if the index is out of bound. (#16154) 2024-08-30 18:09:35 -05:00
PaddleStroke
dca9c0ca3b Sketcher: Fix problem where preselectAtPoint was called after the autoconstraints being generated, hence having no effect. By adding updateDataAndDrawToPosition after we regenerate the correct autoconstraint. We cannot just move the mouseMove to after preselectAtPoint because we need to have the enforced position. 2024-08-29 12:49:07 +02:00
PaddleStroke
a7aa33f886 Sketcher: Circle DSH: fix seekSecond case of doEnforceControlParameters 2024-08-29 11:37:51 +02:00
FEA-eng
398a866d09 Import: Update preferences-import.ui 2024-08-29 10:06:26 +02:00
FEA-eng
1e82a35024 Part: Update DlgImportStep.ui 2024-08-29 10:05:33 +02:00
pre-commit-ci[bot]
61c1f8fb21 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-28 15:56:09 +00:00