Commit Graph

26094 Commits

Author SHA1 Message Date
Pieter Hijma
6c49f90ad3 Part: Fix a missing argument for HLR projector 2023-09-19 09:02:13 -04: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
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
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
wmayer
7eff934913 Base: fix incorrect method names of Matrix class about diagonal and trace 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
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
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
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
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
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
qewer33
f5104af2bd Assembly: Add joint icons 2023-09-13 22:25:34 +03:00
wandererfan
ac94b43eaf [TD]rotate centerlines with view 2023-09-13 12:35:25 -04:00
Roy-043
c9762572ee 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
CalligaroV
457b676972 [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
0b13057f10 [Part]allow negative scale factors 2023-09-13 08:13:12 -04:00
wmayer
d74ffd358b Part: fix encoding issue in BOPProgressIndicator::Show 2023-09-13 12:04:46 +02:00
Yorik van Havre
455b3f5540 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
Roy-043
25960b42f3 Draft: importSVG.py: check and fix path faces
Fixes #10659.
2023-09-12 23:16:41 +02:00
wmayer
d9d7bf87ae MSVC: fix several compiler warnings 2023-09-12 22:57:26 +02:00
pre-commit-ci[bot]
d793d1c177 [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
309602d8e8 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]
e92ed45df9 [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
Syres916
74dc164de9 [Path] Improve Sanity to generate html output without... (#5)
...the need for dependences.
2023-09-11 18:24:57 +01:00
sliptonic
7074f34a93 Merge pull request #10597 from howie-j/sketcher_dim_key
[Sketcher] Change Sketcher_Dimension modifier key from SHIFT to M
2023-09-11 10:38:07 -05:00
wmayer
db9d6db34e TD: remove unused class member
Fix compiler warning: -Wunused-private-field
2023-09-11 11:34:29 -04:00
wmayer
815626303e Robot: Apply clang format 2023-09-11 15:58:24 +02:00
wmayer
4c470ecd11 Robot: Apply clang format 2023-09-11 15:58:24 +02:00
wmayer
e1aa8197d3 Robot: Apply clang format 2023-09-11 15:58:24 +02:00
Yorik van Havre
b371058864 Draft: Allow to set a custom feet separator for dimensions (#10481) 2023-09-11 14:05:26 +02:00
wmayer
9d2775eda3 Import: move several .py files that black fails to re-format to a new directory and exclude it 2023-09-11 00:48:18 +02:00
wandererfan
1fccf89745 [TD]fix label generation complex section 2023-09-10 14:25:15 -04:00
wandererfan
7ea6b4202d [TD]fix label generation simple section 2023-09-10 14:25:15 -04:00
wandererfan
404351065e [TD]fix fail on section delete
- fails in onChange during delete due to null BaseView
2023-09-10 14:25:15 -04:00
Chris Hennes
0bc6870618 Update translations (#10613)
* Update translations
* Start: Remove Start.ts
2023-09-10 13:06:26 -05:00
pre-commit-ci[bot]
7eb41b4a78 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-10 19:23:47 +02:00