Commit Graph

34328 Commits

Author SHA1 Message Date
wmayer
ecad77057a Tests: fix a memory leak in StringIDRefTest::getPyObject 2023-09-18 14:58:38 +02:00
bdieterm
e33c5754d4 Core, Gui: allow breakpoints in Init.py and InitGui.py of mods 2023-09-18 10:27:51 +02:00
Yorik van Havre
e1f3e7c5d2 Merge pull request #10711 from Roy-043/Arch-Fix-Arch_Fence-section-placement
Arch: Fix Arch_Fence section placement
2023-09-18 09:22:30 +02:00
Yorik van Havre
492f16d727 Merge pull request #10712 from Roy-043/Draft-shape2dview-avoid-issues-with-intersecting-solids
Draft: shape2dview: avoid issues with intersecting solids
2023-09-18 09:21:55 +02:00
mwganson
788c86e1c4 [Macro Execute Dialog] add file name and file content filtering 2023-09-17 19:45:33 -05:00
wmayer
d567b859d3 Tests: add some more unit tests for Matrix class 2023-09-18 01:21:07 +02:00
wmayer
4f6ab508d7 Base: fix incorrect method names of Matrix class about diagonal and trace 2023-09-18 01:21:07 +02:00
wmayer
939984bf2c Base: fix many lint warnings in Matrix class 2023-09-18 01:21:07 +02:00
qewer33
1063c76882 Assembly: Fix joint icons 2023-09-17 16:36:31 -05:00
wmayer
beb39239f3 Part: fix crash in Geometry::Restore()
If a project contains an unknown geometry extension then the attempt to create it returns a null pointer which isn't checked and causes a segmentation fault.

See also forum: https://forum.freecad.org/viewtopic.php?t=81091
2023-09-17 19:29:28 +02:00
wmayer
b5e1d4b601 Gui: Remove bounding box computation from SoDatumLabel::GLRender() 2023-09-17 19:27:12 +02:00
wmayer
4110a62c08 Gui: fix clang-tidy warnings in EditableDatumLabel
and fix two further memory leaks
2023-09-17 19:11:31 +02:00
wmayer
da65485979 Gui: fix clang-tidy warnings in TaskImage 2023-09-17 19:11:31 +02:00
Roy-043
32dcd008ff Draft: shape2dview: avoid issues with intersecting solids
Add `Shape.SubShapes` instead of a copy of the shape. This avoids cut problems if there are intersecting solids.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=81240
2023-09-17 18:59:20 +02:00
Roy-043
125852c028 Arch: Fix Arch_Fence section placement
The code relied on the old implementation of Draft patharray where the calculated placements were not returned in sequence.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=81246
2023-09-17 18:21:13 +02:00
Paddle
a6971d376c TaskImage: remove the spinbox/sodatumLabel gestion and use the global EditableDatumLabel instead. 2023-09-17 13:05:53 +02:00
Paddle
dc77391ebf Introduce EditableDatumLabel. A class that handles a SoDatumLabel with a spinbox to edit its value. 2023-09-17 13:05:53 +02:00
Paddle
712d52bf3d SoDatumLabel: Make the textOffset persistent. 2023-09-17 13:05:53 +02:00
Roy-043
3e789dfc85 Draft: Fix for PR10673 (#10699)
Fixes an issue that was missed in #10673.
2023-09-16 17:10:02 +02:00
Roy-043
f5a3cf4d03 Draft: gui_edit called displayPoint without mask (#10693)
Forum topic:
https://forum.freecad.org/viewtopic.php?t=81186
2023-09-16 17:08:50 +02:00
Yorik van Havre
3ac314aa71 Arch: Fixed IFC export of compsolids (#10476) 2023-09-16 17:02:00 +02:00
andrea
ad4f8783e3 removed unnecesary include into cmake 2023-09-15 17:10:00 -05:00
wandererfan
b45cb18ce1 [TD]fix inverted detail of body 2023-09-15 13:53:54 -04:00
Alexander Wilms
b04fa5e779 Use new metainfo file name in RPM .spec 2023-09-15 13:17:51 -04:00
Alexander Wilms
060419fecf Improve metainfo 2023-09-15 13:17:51 -04:00
Alexander Wilms
7abebdad9b The Freedesktop Appstream specification recommends .metainfo.xml instead of .appdata.xml
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
2023-09-15 13:17:51 -04:00
wandererfan
01256623ff [TD]allow cosmetic deletion via DEL 2023-09-15 11:46:37 -04:00
Paddle
594b1aec11 Sketcher_Dimension : enable user to deselect geos by clicking on them again. 2023-09-14 20:57:39 -05:00
wmayer
e9b61bdbe2 Sketcher: fix several inconsistencies in Sketcher_CompDimensionTools
* The menu text and tooltip of the Sketcher_ConstrainRadius command shouldn't be different if part of the group command or not.
  The explicit mentioning to change the weight of a B-Spline is pointless and confusing.
* The order of Sketcher_ConstrainRadius and Sketcher_ConstrainDiameter has flippend when used in Sketcher_CompDimensionTools
* The command Sketcher_ConstrainRadiam is completely missing
* The command Sketcher_ConstrainSnellsLaw was wrongly re-added
* CmdSketcherCompConstrainRadDia uses a wrong context
2023-09-14 20:56:14 -05:00
luzpaz
760fac5d82 Fix typos 2023-09-14 20:53:04 -05:00
Florian Foinant-Willig
602819478c Sketcher: add TypeId checking helpers 2023-09-14 20:52:03 -05:00
wandererfan
1b64b265ae [TD]fix hatch fail due to missing translate method 2023-09-14 12:05:13 -04:00
sliptonic
10b3ae382f Merge pull request #10654 from Syres916/Sanity_Html_Self_Generating
[Path] Improve Sanity to generate html output without...
2023-09-14 08:44:09 -05:00
sliptonic
be41743ee0 Merge pull request #10677 from qewer33/assembly-joint-icons
Assembly: Add joint icons
2023-09-14 08:08:31 -05:00
Yorik van Havre
216cb39a76 Draft: use master version of dxf libraries - issue yorikvanhavre/Draft-dxf-importer#26 (#10670) 2023-09-14 09:37:31 +02:00
qewer33
7ff7ba0298 Assembly: Add joint icons 2023-09-13 22:25:34 +03:00
wandererfan
71f1e6b09b [TD]rotate centerlines with view 2023-09-13 12:35:25 -04:00
Roy-043
23c386dfee Draft: V0.21 version of getPlaneRotation caused a dimension bug (#10673)
`DraftVecUtils.getPlaneRotation` can now return None. The `view_dimension.py` code did not handle that.
2023-09-13 17:00:35 +02:00
wmayer
9289e33e2f Gui: determine the bounding box of an SoDatumLabel outside its GLRender() method 2023-09-13 16:56:53 +02:00
CalligaroV
163c30700f [Feature Request] [Draft] [UI/UX] Remove the center arrow on radial dimensions (#10655)
Related to issue #7573

Forum discussion

https://forum.freecadweb.org/viewtopic.php?p=631252#p631252

These modifications don't add the new properties suggested on the issue mentioned above and suggested on the forum discussion but just remove the center arrow

Other info and discussion can be found at https://gitlab.com/calligarov/FreeCAD/-/merge_requests/1
2023-09-13 15:27:51 +02:00
wandererfan
e6fb2c7a88 [Part]allow negative scale factors 2023-09-13 08:13:12 -04:00
wmayer
da6335314d Part: fix encoding issue in BOPProgressIndicator::Show 2023-09-13 12:04:46 +02:00
Yorik van Havre
1b5565ea9f Merge pull request #10535 from Syres916/Py_311_Unicode_Fix
[Start] Fix Python 3.11 Unicode Errors
2023-09-13 11:41:53 +02:00
Yorik van Havre
85981c37b9 Merge pull request #10664 from Roy-043/Draft-importSVG-check-and-fix-path-faces
Draft: importSVG.py: check and fix path faces
2023-09-13 11:15:38 +02:00
Roy-043
59527022da Draft: importSVG.py: check and fix path faces
Fixes #10659.
2023-09-12 23:16:41 +02:00
wmayer
89bb28239e MSVC: fix several compiler warnings 2023-09-12 22:57:26 +02:00
pre-commit-ci[bot]
e8ab02b26b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 21:19:33 +02:00
wmayer
8597655e6a Part: move scale command
See https://github.com/FreeCAD/FreeCAD/pull/10583#issuecomment-1716187490
2023-09-12 21:19:33 +02:00
pre-commit-ci[bot]
222a2520b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wandererfan
c469601f95 clang format SpacesBeforeTrailingComments 2023-09-12 13:02:35 -04:00