Commit Graph

23943 Commits

Author SHA1 Message Date
Uwe
2aa232bef9 [PD] TaskDlgRevolutionParameters: fix some CI warnings
- reported here: https://github.com/FreeCAD/FreeCAD/pull/7667/commits/f0a0e563
- and here: https://github.com/FreeCAD/FreeCAD/pull/7719/commits/8f3f17f8
2022-11-09 17:33:33 +01:00
wandererfan
eb407feb60 [TD]fix rotation of complex section 2022-11-09 10:05:23 -05:00
wandererfan
5cedb9ea4e [TD]fix rotation of cut face hatch 2022-11-09 10:05:23 -05:00
luz paz
cd0cd182c9 Arch: remove trailing whitespace in importWebGL.py 2022-11-09 08:49:17 -06:00
Chris Hennes
7b9acb012c Draft: Remove py2 references 2022-11-09 14:08:54 +01:00
Chris Hennes
f6f1928cf8 Arch: Remove Py2 code 2022-11-09 14:08:54 +01:00
Chris Hennes
c355810538 Start: Remove Py2 code 2022-11-09 14:08:54 +01:00
Chris Hennes
3fe026f3c9 Remove various sys.version_info >= 3 checks 2022-11-09 14:08:54 +01:00
Roy-043
fc21d597a9 Draft: test_modification.py: modified test and added test (#7741)
The old test_offset_closed function was renamed to test_offset_rectangle_with_face.
It is now also a regression test for: #7670

The added test_offset_closed_with_reversed_edge function is a regression test for: #5496
2022-11-09 13:31:23 +01:00
marioalexis
e9782bfe38 TechDraw: Fix reference counting in format attribute of CenterLinePy and CosmeticEdgePy 2022-11-08 19:46:00 -05:00
wandererfan
c6615a1af5 [TD]fix read only scale property in DraftView
- also affects DrawViewSymbol and derivatives
2022-11-08 19:31:29 -05:00
sliptonic
5759733650 Merge pull request #7728 from arduent/master
[PATH] add OCC header/libdir to Path/libarea
2022-11-08 12:37:42 -06:00
Chris Hennes
7d4bb806ad GUI: Remove references to MS Shell DLG2 font 2022-11-08 17:54:59 +01:00
Chris Hennes
d767a923a3 Addon Manager: Add try/except to integer conversion 2022-11-08 17:01:30 +01:00
wmayer
5225a5f904 Fem: [skip ci] include Python.h before vtk headers to fix a warning with clang/MSYS2 2022-11-08 10:45:23 +01:00
wmayer
1694f1e0db Mesh: [skip ci] remove unused header 2022-11-08 10:44:15 +01:00
wmayer
549774e953 Spreadsheet: restore fix for multi-screen management of QtColorPicker 2022-11-07 21:43:14 +01:00
luz paz
648065f1de [PATH] add OCC header/libdir to Path/libarea
This update adds the OCC headers and lib path to src/Mod/Path/libarea/CMakeLists.txt to fix a linker error.
2022-11-07 14:03:36 -05:00
luz paz
7c5557b3cb Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
marioalexis
1a27202b69 TechDraw: Improve code in Python CosmeticEdgePy class 2022-11-07 08:01:45 -05:00
wandererfan
c5a263bdd8 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05:00
wandererfan
38f1906ae0 [TD]fix exception on empty compound
- if the intersection of the segment tool and
  source shape is empty, processing should
  continue with next segment
2022-11-07 07:57:37 -05:00
wandererfan
4ea2cb4cc0 [TD]fix hatch test script
- test was erroneously adding hatch to page. Hatches only
  belong to DrawViewPart.
2022-11-07 07:56:43 -05:00
Yorik van Havre
3ac40a3778 Merge pull request #7656 from Roy-043/Draft-Change-Snap-toolbar-to-standard-toolbar
Draft: Change Snap toolbar to standard toolbar
2022-11-07 10:49:26 +01:00
Yorik van Havre
d68f5fe88a Merge pull request #7662 from Overruler/draft_patharray
Draft: Make tangent vector affect ExtraTranslation
2022-11-07 10:48:16 +01:00
Yorik van Havre
df240315a3 Merge pull request #7661 from Roy-043/Draft-Use-DefaultShapeTransparency-in-gui_setstyle.py
Draft: Use DefaultShapeTransparency in gui_setstyle.py
2022-11-07 10:47:26 +01:00
Yorik van Havre
401f1cfe97 Merge pull request #7670 from Roy-043/Draft-Fix-rectangle-with-face-offset-bug
Draft: Fix rectangle with face offset bug
2022-11-07 10:45:25 +01:00
marioalexis
5b015b7022 TechDraw: Improve code in Python DrawPagePy class 2022-11-06 19:37:55 -05:00
wmayer
b3372a5205 Gui: [skip ci] fix several warnings reported by GH Actions 2022-11-06 15:53:18 +01:00
Uwe
6a68da4871 [Gui][Mod]: uniform spin button step size to 5%
- as discussed here: https://github.com/FreeCAD/FreeCAD/pull/7103 we have different transparency spin button step sizes. This PR uniforms them all to 5%.
2022-11-06 14:27:55 +01:00
wmayer
d6a7b282d5 Core: Qt6 migration, use PySide 2022-11-06 14:09:18 +01:00
Chris Hennes
b407332475 Addon Manager: Qt6 migration part 1, use PySide
Migrate all uses of "import PySide 2" to use "import PySide" so that the
FreeCAD-provided wrappers can switch between Qt versions.
2022-11-06 13:19:36 +01:00
Uwe
e31cd499b0 [PD] Helix: assure source Sketch is visible when in selection mode
- same as https://github.com/FreeCAD/FreeCAD/commit/18781bcf6 but for Helices (fixes #7629 also for helices)
- also modernize Qt connection
2022-11-06 12:48:11 +01:00
Roy-043
432e6b3bf4 Part: TestPartApp.py add tolerance to PartTestShapeRotate 2022-11-06 11:42:35 +01:00
Roy-043
ddff8dd4a9 Part: Fix typo in regression_tests.py 2022-11-06 11:40:19 +01:00
Uwe
6091c89947 [Sketch] change polyline icon
- the same intention as https://github.com/FreeCAD/FreeCAD/pull/7588 but proposal with less strokes
2022-11-06 08:09:45 +01:00
Uwe
e6b968397c [FEM] better safe Elmer executable path handling
- simplify and correct non-Windows case
2022-11-05 23:00:14 +01:00
wmayer
d119c1c7a5 Gui/Sketcher: disable geometry deselection when user holds Ctrl or additionally Shift or Alt 2022-11-05 22:56:38 +01:00
Uwe
04fc0deb06 [Part] SectionCutting: cut long lines
- following our latest Clang coding style
2022-11-05 20:40:18 +01:00
wmayer
a76dc0ade2 PD: use Base::StateLocker to simplify handling of blockUpdate and make it exception-safe 2022-11-05 19:29:20 +01:00
wmayer
18781bcf63 PD: fixes #7629: Keep sketch visible during revolution tasks 2022-11-05 19:09:54 +01:00
Chris Hennes
9e481f1ac1 Addon Manager: use versioned Python package dirs 2022-11-05 11:45:02 -05:00
Uwe
14953f66c8 [FEM] more safe Elmer executable path handling
- handle the case of mangles user.fcg file
2022-11-05 17:42:19 +01:00
wmayer
63e74c848f PD: unit test to check offset of sub-shape binder (PR #7445) 2022-11-05 16:58:51 +01:00
Chris Hennes
ea2f757a7b Addon Manager: Handle UTF-8 decode failures
When processing downloaded text-based metadata files, catch any decode
exceptions that get thrown and translate them into a useful error
message for developers.
2022-11-05 08:47:58 -05:00
fandaL
f9dfec020d FEM: femmesh2mesh add disp scale factor 2022-11-05 12:27:04 +01:00
Uwe
161be27191 [FEM] safer Elmer executable path handling
- the code already assured that the number of used CPU cores for Elmer can only be > 1 if a valid path to the '_mpi' executable is specified. However, we can have the case that Elmer was uninstalled, then the path validity checker returns an empty path and then the check for the number of cores but handle this case. THis PR does exactly this.
- also fix typos and improve error message
- also add missing save guard for hardware check
2022-11-05 02:20:30 +01:00
Uwe
abb12aed2a [skip ci] [FEM] DlgSettingsFemCcx.ui: omit already set default values 2022-11-05 01:45:31 +01:00
Paddle
22f2cae70d PartDesign: Remove unusable 'Leave sketch' 'viewSketch' commands from menu.
Add 'EditSketch' 'MergeSketches' and 'mirrorSketch' usable commands to menu.
Add 'ValidateSketch' to toolbar.
2022-11-04 16:18:41 -05:00
Paddle
caa953ac55 Sketcher: Add concentric capabilities to coincidence constraint. 2022-11-04 13:21:01 -05:00