Commit Graph

26029 Commits

Author SHA1 Message Date
wmayer
780ce5c766 JtReader: Apply clang format 2023-09-10 11:25:51 +02:00
wmayer
1285b43315 Cloud: Apply clang format 2023-09-10 11:10:12 +02:00
andrea
4897202bc4 fix vtk > 6.1 check 2023-09-09 17:52:11 +02:00
wmayer
f1ef5c4729 Tux: apply clang format 2023-09-08 18:06:03 +02:00
wandererfan
728b2ec841 [Part]fix canScale logic
- fix canScale logic
- remove unused method
- add more comments
2023-09-08 18:04:26 +02:00
wandererfan
495ae5df75 [Part]correct handling of preselected objects 2023-09-08 18:04:26 +02:00
FEA-eng
bf207019be Fixed minor typo in FEM preferences
solver --> solvers
2023-09-08 11:01:11 -05:00
wmayer
8a56da4ee0 Sandbox: [skip ci] fix build failures 2023-09-08 11:47:16 +02:00
Yorik van Havre
3645d8be3b 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
574953a4f5 Update CMakeLists.txt
Freecad use qt5 or qt6
2023-09-07 23:06:11 +02:00
luzpaz
6810c5703d Fix various typos 2023-09-07 20:34:49 +02:00
wandererfan
c700a9feb8 [TD]fix fail on multiple empty annotation 2023-09-07 13:11:09 -04:00
wandererfan
d7f5764b9e [Part]code review changes for FeatureScale 2023-09-07 18:21:56 +02:00
wandererfan
90aef60f32 [Part]add scale command & feature 2023-09-07 18:21:56 +02:00
Roy-043
2cbe037ce8 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
c9774cdacc Test: add test for default file system encoding 2023-09-06 23:54:42 +02:00
wandererfan
4dd2b8d757 [TD]refactor print routines out of MDIViewPage 2023-09-06 08:58:33 -04:00
wmayer
5e911daae2 Part: add tests to ensure that the fixed methods work correctly 2023-09-06 12:14:37 +02:00
wmayer
e6d350e719 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
2a65715248 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
65f3355a78 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
3746385fc0 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
1c39dabdb6 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
3769dbeeb9 [TD]add support for view menu zoom 2023-09-05 08:47:40 -04:00
Jonas Bähr
5346b51edb 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
92016c4c9c Addon Manager: Refactor local cache update check 2023-09-04 19:13:18 -05:00
Jonas Bähr
9a7523fb4b 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
34e877bc1d 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
Chris Hennes
6da62b83fa 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
1cdc73ff92 Web: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
fb0f543da2 Test: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
6c9557c39b Surface: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
0611c1d9eb Start: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
dc20955bb7 RE: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
8c3a7ccddb Points: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
5395c563d9 MeshPart: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
6550fe021e Inspection: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Chris Hennes
2f623f095b Assembly: Final application of pre-commit 2023-09-04 08:18:51 -05:00
wmayer
e48964fad5 Test: apply clang format 2023-09-04 07:22:09 -05:00
wmayer
255ddb746c Surface: apply clang format 2023-09-04 07:21:32 -05:00
Chris Hennes
fcedce3c42 Sketcher: Reformat to current clang-format standard 2023-09-04 07:17:28 -05:00
Yorik van Havre
50513232ac Merge pull request #10505 from Roy-043/Draft-Fix-angle-range-issue-of-make_circle
Draft: Fix angle range issue of make_circle
2023-09-04 11:29:13 +02:00
Yorik van Havre
5c806d707c Merge pull request #10464 from Ondsel-Development/bug/remove_gui_dependency
Bug fix: Allow Draft WB to import in FreeCAD headless docker container
2023-09-04 11:22:53 +02:00
Yorik van Havre
2556801938 Draft: Workaround failing multifuse in shape2Dview (#10478) 2023-09-04 10:45:56 +02:00
kaktus Jacek
1adfa88aee Fem: Removing "constraint" from the names
Removing "constraint" from the names of most FEM workbench features.

https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
qewer33
221e337a04 Apply pre-commit 2023-09-03 23:51:49 +03:00
qewer33
b6df38eb7f Fix CI tests failing 2023-09-03 20:52:58 +03:00
qewer
2dc6a69d65 Merge branch 'master' into startpage-quickstart-open 2023-09-03 19:47:28 +03:00
qewer33
1ece491dfd StartPage remove hide scrollbars option 2023-09-03 19:30:57 +03:00
qewer33
068e77c974 StartPage fixes 2023-09-03 19:23:13 +03:00