Commit Graph

34363 Commits

Author SHA1 Message Date
AgCaliva
cfdbd2322a Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-18 14:01:25 -03:00
AgCaliva
ae9bb6ed43 using clang-format tags to avoid get headers reordered(fix DOMDocument redefinition error) 2023-09-18 13:40:13 -03:00
Jonas Bähr
41cae1a561 Sketcher: update SketchObject's pydocs, first batch
Style like in e.g. `Part.makeLine(...)`, which seems to loosely follow
Google's recommendations [1]. Note that the signature *is* repeated in
the docstrings, as it's not "inspectable" (see notes for non-python
implementations in `inspect.signature` [2]).

[1]: https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings
[2]: https://docs.python.org/3/library/inspect.html#inspect.signature
2023-09-18 10:57:12 -05:00
howie-j
49bca90219 fixes #10651 2023-09-18 10:56:13 -05:00
Chris Hennes
6b792874c9 Merge pull request #10681 from wwmayer/dock_windows_rebased
Gui: make layout of Combo, Property and Tree view more flexible
2023-09-18 10:53:40 -05:00
Florian Foinant-Willig
e8becf3f15 Sketcher: refactor CommandConstraint.cpp (#10692)
* Sketcher: refactor CommandConstraint.cpp with TypeId helpers

* Sketcher: cosmetic empty lines

* fix pointer misusage
2023-09-18 10:37:03 -05:00
qewer
01ff476b2f Gui: Transform dragger improvements (#10706)
* Gui: Improve transform dragger appereance

* Gui: Implement axis color parameters

* Gui: Implement plane draggers for the Transform tool

* Gui: Clean comments in Transform dragger files
2023-09-18 10:34:26 -05:00
wmayer
bd067fa203 Tests: fix a memory leak in StringIDRefTest::getPyObject 2023-09-18 14:58:38 +02:00
bdieterm
c9a802418a Core, Gui: allow breakpoints in Init.py and InitGui.py of mods 2023-09-18 10:27:51 +02:00
Yorik van Havre
0d39450d29 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
327541fd2c 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
42e3bf75a2 [Macro Execute Dialog] add file name and file content filtering 2023-09-17 19:45:33 -05:00
wmayer
7bef828734 Tests: add some more unit tests for Matrix class 2023-09-18 01:21:07 +02:00
wmayer
7eff934913 Base: fix incorrect method names of Matrix class about diagonal and trace 2023-09-18 01:21:07 +02:00
wmayer
e5dca19ed6 Base: fix many lint warnings in Matrix class 2023-09-18 01:21:07 +02:00
qewer33
6fd6d95d59 Assembly: Fix joint icons 2023-09-17 16:36:31 -05:00
wmayer
a78ba4b91c 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
24cb532182 Gui: Remove bounding box computation from SoDatumLabel::GLRender() 2023-09-17 19:27:12 +02:00
wmayer
99358cd063 Gui: fix clang-tidy warnings in EditableDatumLabel
and fix two further memory leaks
2023-09-17 19:11:31 +02:00
wmayer
10a60f2ec5 Gui: fix clang-tidy warnings in TaskImage 2023-09-17 19:11:31 +02:00
Roy-043
3b7698d77f 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
8166fb8aea 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
4079c924d9 TaskImage: remove the spinbox/sodatumLabel gestion and use the global EditableDatumLabel instead. 2023-09-17 13:05:53 +02:00
Paddle
620c2ce239 Introduce EditableDatumLabel. A class that handles a SoDatumLabel with a spinbox to edit its value. 2023-09-17 13:05:53 +02:00
Paddle
a13b05d877 SoDatumLabel: Make the textOffset persistent. 2023-09-17 13:05:53 +02:00
Roy-043
563ed76b44 Draft: Fix for PR10673 (#10699)
Fixes an issue that was missed in #10673.
2023-09-16 17:10:02 +02:00
Roy-043
887e8f63fc 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
b9d9ea6b94 Arch: Fixed IFC export of compsolids (#10476) 2023-09-16 17:02:00 +02:00
pre-commit-ci[bot]
4aea146887 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-16 07:28:03 +00:00
AgCaliva
f206e91e1c fixing DOMDocument redefinition3 2023-09-16 07:27:11 -03:00
pre-commit-ci[bot]
19887876d2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-16 05:14:03 +00:00
AgCaliva
64f60721a9 merge master via cli 2023-09-16 02:12:58 -03:00
AgCaliva
b360b43ebe Fixing DOMDocument redefinition 2023-09-16 00:38:41 -03:00
andrea
fc7ae2ce27 removed unnecesary include into cmake 2023-09-15 17:10:00 -05:00
wandererfan
272df02684 [TD]fix inverted detail of body 2023-09-15 13:53:54 -04:00
Alexander Wilms
974a75be04 Use new metainfo file name in RPM .spec 2023-09-15 13:17:51 -04:00
Alexander Wilms
78c9c93c6e Improve metainfo 2023-09-15 13:17:51 -04:00
Alexander Wilms
61f4c2406c 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
82db4a3e47 [TD]allow cosmetic deletion via DEL 2023-09-15 11:46:37 -04:00
Paddle
cde6afe847 Sketcher_Dimension : enable user to deselect geos by clicking on them again. 2023-09-14 20:57:39 -05:00
wmayer
bc8a5e4704 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
3518ace910 Fix typos 2023-09-14 20:53:04 -05:00
Florian Foinant-Willig
bac9fd71ec Sketcher: add TypeId checking helpers 2023-09-14 20:52:03 -05:00
wandererfan
84a8800767 [TD]fix hatch fail due to missing translate method 2023-09-14 12:05:13 -04:00
sliptonic
5ca198e182 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
f836131ee3 Merge pull request #10677 from qewer33/assembly-joint-icons
Assembly: Add joint icons
2023-09-14 08:08:31 -05:00
wmayer
dc6ce5a08b Gui: implement handling of Combo, Property and Tree view 2023-09-14 13:35:13 +02:00
wmayer
4fcddc71ab Gui: rework ComboView 2023-09-14 13:24:24 +02:00
wmayer
23c5b330d9 Gui: add TaskView to its own dock window 2023-09-14 13:17:33 +02:00
Yorik van Havre
6f7f64e436 Draft: use master version of dxf libraries - issue yorikvanhavre/Draft-dxf-importer#26 (#10670) 2023-09-14 09:37:31 +02:00