Commit Graph

26396 Commits

Author SHA1 Message Date
wmayer
8bb1249cef Sheet: Apply clang format 2023-09-10 16:01:37 +02:00
wmayer
159525084d Sheet: Apply clang format 2023-09-10 16:01:37 +02:00
wmayer
b9ac7166e4 Sheet: Apply clang format 2023-09-10 16:01:37 +02:00
pre-commit-ci[bot]
794d97d025 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-10 12:37:47 +02:00
wmayer
789912d745 Drawing: Apply clang format 2023-09-10 12:37:47 +02:00
wmayer
2c3230a986 Show: Apply clang format 2023-09-10 12:20:59 +02:00
wmayer
91cf838a08 Plot: Apply clang format 2023-09-10 11:31:36 +02:00
wmayer
6a29122b04 JtReader: Apply clang format 2023-09-10 11:25:51 +02:00
wmayer
8b7c75f226 Cloud: Apply clang format 2023-09-10 11:10:12 +02:00
howie-j
aac1844843 Merge branch 'FreeCAD:master' into sketcher_dim_key 2023-09-10 00:09:28 +02:00
andrea
6a66161abf fix vtk > 6.1 check 2023-09-09 17:52:11 +02:00
AgCaliva
bcd1ebe537 fixing DOMDocument redefinition on windows 2023-09-09 04:58:38 -03:00
wmayer
dda8166119 Tux: apply clang format 2023-09-08 18:06:03 +02:00
wandererfan
d3b41cf693 [Part]fix canScale logic
- fix canScale logic
- remove unused method
- add more comments
2023-09-08 18:04:26 +02:00
wandererfan
47fcdae3a2 [Part]correct handling of preselected objects 2023-09-08 18:04:26 +02:00
FEA-eng
4981b05fec Fixed minor typo in FEM preferences
solver --> solvers
2023-09-08 11:01:11 -05:00
pre-commit-ci[bot]
86083a5b94 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-08 12:13:51 +00:00
AgCaliva
0859cf6555 Fix DOMDocument redefinition error 2023-09-08 09:12:52 -03:00
wmayer
3cc4bb7cfb Sandbox: [skip ci] fix build failures 2023-09-08 11:47:16 +02:00
Yorik van Havre
3a4afac6fc Merge pull request #10556 from Roy-043/Draft-arcTracker-did-not-take-Working-Plane-rotation-into-account
Draft: arcTracker did not take Working Plane rotation into account
2023-09-08 11:36:25 +02:00
mosfet80
6e5a851871 Update CMakeLists.txt
Freecad use qt5 or qt6
2023-09-07 23:06:11 +02:00
howie-j
3d7e01bb7a Fixes #10596 2023-09-07 21:14:56 +02:00
luzpaz
4dbbe85c2b Fix various typos 2023-09-07 20:34:49 +02:00
wandererfan
7f2076afb8 [TD]fix fail on multiple empty annotation 2023-09-07 13:11:09 -04:00
wandererfan
fa840560c2 [Part]code review changes for FeatureScale 2023-09-07 18:21:56 +02:00
wandererfan
9905572116 [Part]add scale command & feature 2023-09-07 18:21:56 +02:00
Roy-043
22ea529925 Start: Improve "Switch workbench after loading" tooltip
Make it clearer that this property is different from the "Start up workbench".
2023-09-07 09:39:08 -05:00
wmayer
e401e203af Test: add test for default file system encoding 2023-09-06 23:54:42 +02:00
wandererfan
4046e03cc6 [TD]refactor print routines out of MDIViewPage 2023-09-06 08:58:33 -04:00
wmayer
409f3fc4e3 Part: add tests to ensure that the fixed methods work correctly 2023-09-06 12:14:37 +02:00
wmayer
b081bb05f7 Part: when replacing PyArg_ParseTupleAndKeywords with Base::Wrapped_ParseTupleAndKeywords then in a few cases the negation of the expression has been removed.
See also: https://forum.freecad.org/viewtopic.php?t=80958
2023-09-06 11:53:56 +02:00
wmayer
7bbc93e218 Mesh: fixes issue #10075: 3MF files exported from FreeCAD don't work in PrusaSlicer
Add an option to force to always write a mesh as model type even if it's not a solid
2023-09-06 07:28:07 +02:00
kaktus Jacek
af3cf2e9e9 Removing unnecessary strings from Crowdin + improving typos
patches for #10459 and #10426...
a few small details escaped attention need to be fixed
😉
Removing unnecessary strings from Crowdin and improving typos.
2023-09-05 15:38:58 -05:00
sliptonic
960403ade9 Merge pull request #10430 from Stevecosoft/forum-80599_helix
Path: helix toolpath was not allowing Extra Offset values that it should
2023-09-05 09:03:38 -05:00
Roy-043
65cd8adca8 Draft: arcTracker did not take Working Plane rotation into account
Steps to verify the issue:
1. Open FreeCAD.
2. Switch to Std_ViewTop.
3. Click one of the curved arrows of the Navigation Cube.
4. Switch to the Draft WB.
5. Make sure Draft_SelectPlane is set to "Auto".
6. Start Draft_Arc and click 2 points (for the radius and the start angle).
7. Result: The displayed arc does not match the start angle or the current point.

Additonally:
* Removed the normal argument from `__init__`. The tracker does not work properly with just a normal. AFAICT there is no code that specifies this normal.
* Minor improvement to `getAngle`: Switched the vectors.
2023-09-05 15:39:17 +02:00
wandererfan
ae7415c39e [TD]add support for view menu zoom 2023-09-05 08:47:40 -04:00
Jonas Bähr
880461593f Sketcher: Fix check in carbonCopy's python interface
Presumably due to an copy/paste error, carbonCopy used to verify the
referenced object via `isExternalAllowed` (just like addExternal).
Now using `isCarbonCopyAllowed`, the resulting error message is the
expected one for wrong objects, not a generic one after the operation
failed.
2023-09-05 08:49:31 +02:00
Chris Hennes
e23849af35 Addon Manager: Refactor local cache update check 2023-09-04 19:13:18 -05:00
Jonas Bähr
7e84c3f42f Sketcher: Fix wrong format string in PyArg_ParseTuple
The part behind the column represents the function name itself, not an
error message. So previously, an argument error looked like this:
("Give an object" is not the method name)
```
>>> obj.carbonCopy()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: Give an object() takes at least 1 argument (0 given)
>>> obj.carbonCopy(123)
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: Give an object() argument 1 must be str, not int
```

While the format string also supports a text for the complete error message
(using a semicolon instead), I decided against this: Pythons standard text
is more precise than this:
(the type error here is not "Give an object")
```
>>> obj.carbonCopy()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: Give an object
>>> obj.carbonCopy(123)
Traceback (most recent call last):
  File "<input>", line 1, in <module>
TypeError: Give an object
```
2023-09-05 00:38:30 +02:00
Jonas Bähr
4db4aeb91a Sketcher: fix docs for solve(..)
Since the docstring was initially written, an additional error code was added.
2023-09-05 00:32:54 +02:00
pre-commit-ci[bot]
a849f752bc [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-04 17:32:18 +00:00
Syres916
4c1057c36d [Start] Fix Python 3.11 Unicode Errors
Example Error :
  File "/home/john/freecad-daily-build/Mod/Start/StartPage/StartPage.py", line 422, in handle
    ALTCSS = f.read()
             ^^^^^^^^
  File "/usr/lib/python3.11/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 421: ordinal not in range(128)
2023-09-04 18:15:20 +01:00
Chris Hennes
331b764850 Merge pull request #10520 from qewer33/startpage-quickstart-open
StartPage: Add custom CSS option, re-organize preferences and further fixes
2023-09-04 11:54:39 -05:00
Chris Hennes
d57d14321b Web: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
efd11e590d Test: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
217674de04 Surface: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
70e046bbd5 Start: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
db24eeec53 RE: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
714cb0a309 Points: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
7593f0c112 MeshPart: Final application of pre-commit 2023-09-04 08:18:51 -05:00