Commit Graph

29144 Commits

Author SHA1 Message Date
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
Yorik van Havre
b065691032 Merged crowdin translations 2024-08-28 17:51:34 +02:00
Yorik van Havre
5df158352a Updated ts files 2024-08-28 17:50:59 +02:00
pre-commit-ci[bot]
73cb5bafe0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-26 23:55:17 +02:00
wmayer
c80fd64c82 PD: Fix compiler warning 2024-08-26 23:55:17 +02:00
wmayer
59c1ccec3e Material: Prepare for clang-format 2024-08-26 19:49:48 +02:00
marcuspollio
5a841e7222 cmake: update BUILD_PATH to BUILD_CAM (#16040) 2024-08-26 11:27:09 -05:00
Kacper Donat
bfdcc97158 Gui: Do not show overlay panels in Start 2024-08-26 11:24:19 -05:00
Ajinkya Dahale
71b513c1b8 [Sketcher] Replace tangent autoconstraint with equality for circles 2024-08-26 18:22:29 +02:00
Ajinkya Dahale
84cb77f0d7 [Sketcher] Fix a check during tangent autoconstraint 2024-08-26 18:22:29 +02:00
bgbsww
34030c9ece Toponaming: Run black on the entire toponaming python test file. 2024-08-26 11:19:47 -05:00
wmayer
3e33f184b4 Core: Rename ViewProviderPythonFeature to ViewProviderFeaturePython
Fixes #15888
2024-08-26 18:14:22 +02:00
bgbsww
ecf7e51ab3 Toponaming: Remove all FC_USE_TNP_FIX protected old code 2024-08-26 11:12:48 -05:00
bgbsww
60640fa441 Horrible hack to work around bug in OCCT7.7.2 2024-08-26 18:09:38 +02:00
paul
4981dbbe2c [ArchWall_Draft-OffsetWires] Bug-fix Ellipse Support (#16038)
* [ArchWall_Draft-OffsetWires] Bug-fix Ellipse Support

Fixed bug/regression in ArchWall/Draft-OffsetWires ellipse support.

FC Forum Discussion
- https://forum.freecad.org/viewtopic.php?p=777965#p777897

* Update offsets.py

Typo

* L347 - trailing whitespace after comma
2024-08-26 18:03:21 +02:00
wandererfan
884cf22c71 [TD]fix false positives in isCircle (fix #15979) 2024-08-26 18:01:00 +02:00
Chris Hennes
f355b62cb7 Merge pull request #16045 from wwmayer/format_measure
Measure: Prepare for clang-format
2024-08-26 10:57:13 -05:00
wmayer
cfb14da52e Part: Prepare for clang-format 2024-08-26 17:56:58 +02:00
Chris Hennes
ab5af9000d Merge pull request #16041 from mosfet80/patch-16
Update libs into .pre-commit-config.yaml
2024-08-26 10:54:47 -05:00
bgbsww
26ebefd651 Ignore standalone points in sketches when building faces 2024-08-26 17:51:29 +02:00
bgbsww
8c08549f5a Update to Toposhape versions and fix shapebinder references with test (#16036)
* Update to Toposhape versions and fix shapebinder references with test

* Update src/Mod/PartDesign/PartDesignTests/TestShapeBinder.py

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-08-26 10:50:18 -05:00
Chris Hennes
4204ad3fd8 Merge pull request #16021 from jbaehr/material-add-machining-wood-cards
Material: Add wood cards with machining model
2024-08-26 10:38:22 -05:00
Roy-043
c2b8414609 BIM: Arch_Survey: Fix concatenate bytes issue
The line `t = t.encode("utf8")` returns a bytes object which does not make sense in the context of the rest of the code. It is probably a copy-paste error.

To test the bug:
1. open the file attached to this forum post: https://forum.freecad.org/viewtopic.php?t=89012#p770224
2. Make the rectangles visible.
3. Start the Survey command and box select all objects in the 3D view.
2024-08-26 17:31:59 +02:00