Commit Graph

28059 Commits

Author SHA1 Message Date
Russell Johnson
a2fb5b66fa Path: Fix radius type inconsistency, issue #6170 [Bug]
Make `self.radius` a float type throughout since other methods and functions treat it as such.
2022-03-12 18:29:21 -06:00
Uwe
f8d41639d3 [Gui] QSint: some sorting of headers 2022-03-12 23:57:14 +01:00
mwganson
3e18c76d4f PartDesign::SubShapeBinder add 2D offsetting 2022-03-12 23:30:09 +01:00
Anders Torger
65718f0e51 Add General.NumThreads = CPU core count setting to Gmsh
settings file to enable multi-threaded meshing (much faster
for larger models)
2022-03-12 23:26:55 +01:00
wmayer
4547e989ea PyCXX: remove use of std::iterator that is deprecated since C++17 2022-03-12 22:22:00 +01:00
Abdullah Tahiri
a5d0de0994 Sketcher: Coverity 332695 - unlikely array indexing with negative value 2022-03-12 21:14:19 +01:00
Abdullah Tahiri
4185b8b849 Sketcher: Coverity 332679 - logically dead code removed 2022-03-12 21:14:19 +01:00
Abdullah Tahiri
d60da72b6e Sketcher: Coverity 332685, 332686, 332696
=========================================

Detected by coverity as unchanged variable (constant intended).

It was actually an unnecessary variable that prevented correct command committing.
2022-03-12 21:14:19 +01:00
Abdullah Tahiri
fb87709193 Sketcher: Coverity 350601 - possible resource leak 2022-03-12 21:14:19 +01:00
Abdullah Tahiri
c7367dc167 Sketcher: Coverity 350637 - unhandled exception in noexcept destructor 2022-03-12 21:14:19 +01:00
Abdullah Tahiri
8a20f1a071 Sketcher: Coverity 350641 - unhandled exception in noexcept destructor 2022-03-12 21:14:19 +01:00
Uwe
c20c6525b4 [3rdParty] libE57: fix comment typos found by the spellchecker CI 2022-03-12 20:20:18 +01:00
Uwe
c30e485ca9 [skip CI] fix inconsistent line endings in 2 files
was reported by MSVC
2022-03-12 20:12:19 +01:00
Uwe
9aec53c1cf [skip CI] [3rdParty] libE57: fix comment typos found by the spellchecker CI 2022-03-12 19:52:29 +01:00
Uwe
f217ff4174 [zipios] fix comment typos found by the spellchecker CI 2022-03-12 19:51:21 +01:00
Uwe
fdfb47863b [skip CI] [Tools] wxWidgets: fix inconsistent line endings 2022-03-12 19:42:07 +01:00
Uwe
bd77ff03ce [skip ci] [Gui] fix a typo 2022-03-12 19:19:16 +01:00
Uwe
5f33e020b7 [skip ci] [3rdParty] SMESH: fix comment typos found by the spellchecker CI 2022-03-12 19:18:12 +01:00
Uwe
6fd8206849 [3rdParty] SalomeMesh: fix more comment typos found by the spellchecker CI 2022-03-12 19:02:37 +01:00
Abdullah Tahiri
e48d3e355d Sketcher: move comment to right position 2022-03-12 18:45:16 +01:00
Uwe
3e156aa5eb [3rdParty] SalomeMesh: fix comment typos found by the spellchecker CI 2022-03-12 18:38:53 +01:00
Uwe
bd3f45a208 [CXX] uniform inconsistent line endings 2022-03-12 18:29:51 +01:00
Uwe
426fdbd502 [CXX] fix typos found the spell CI 2022-03-12 18:25:35 +01:00
Uwe
a9b510f640 [Assembly] fix typos found by the spellchecker CI 2022-03-12 17:52:33 +01:00
Uwe
eb8636bb4e [3rdParty] fix typos found by the spellchecker CI 2022-03-12 17:49:37 +01:00
Uwe
06c9907982 [Robot] fix some typos found by the spellchecker CI 2022-03-12 17:46:48 +01:00
Abdullah Tahiri
a6e67dafa2 Sketcher: BSpline code review and fix
=====================================

- Avoid using EditCurve for the double use of storing the pole positions and the last mouse position. Split into individual vector for poles and previous cursor position (with appropriate names).
- Store all pole geoids to better show the intend of the code.
- Avoid indexing when referring the last inserted value of a std::vector, use back() instead.
- Encapsulate code to draw the bspline polygon and the cursor text to the given position. This allow to select the right function for every case, while avoiding unclear names, such as "mousemove()".
- Refactor code to finish command, to avoid calling unclear names such as "releasebutton" to better show the intend of the function call.
- Ensure deleted pole does not appear anymore in the scenograph.
2022-03-12 15:47:50 +01:00
Uwe
1e852e6d6b [Part] remove unused variable
MSVC complained about it
2022-03-12 15:44:27 +01:00
Wanderer Fan
12f0736189 [TD]fix 2 edge angle Dim special case 2022-03-12 08:55:35 -05:00
Chris Hennes
84bc5ea5d1 Test: Add first tests for Metadata 2022-03-11 20:15:44 -06:00
Chris Hennes
633449f8f7 Addon Manager: Fix window focus issues 2022-03-11 20:07:20 -06:00
mwganson
72e06ae529 Part: 2doffset fix crash by chacking for null shape before adding with builder.Add() 2022-03-12 02:48:22 +01:00
Zheng, Lei
b47e6723dc PD: add SubShapeBinder 'Refine' property
Respect setting in BaseApp/Preferences/Mod/PartDesign/RefineModel
2022-03-12 02:45:13 +01:00
Zheng, Lei
e56bcbc924 PD: fix SubShapeBinder 'Fuse' function 2022-03-12 02:45:13 +01:00
Uwe
48b2c3da12 [Path] fix a typo 2022-03-12 02:24:44 +01:00
Uwe
0777b23055 [CXX] fix typos found by the spellchecker CI 2022-03-12 02:19:48 +01:00
Uwe
4087dd6a92 [CXX] fix typos reported by the spellchecker CI 2022-03-12 02:07:38 +01:00
Uwe
bc09020e8b [Path] 2nd part of the Git fix attempt
renaming it back
2022-03-12 02:01:29 +01:00
Uwe
6901b9cf63 [Path] next attempt to fix Git error by renaming
use lowercase letters fro file ending like it is also in the CMake file
2022-03-12 02:00:40 +01:00
Uwe
b6f3295201 [Path] try to silence a git error with a file
Git has issues with this file telling me it is corrupted and its file ending is wrong (in Git lowercase, in the file uppercase).

The attempt is to just to save save it with FC 0.20.
2022-03-12 01:55:37 +01:00
wmayer
c3828d6225 Part: refactor PropertyPartShape::SaveDocFile and PropertyPartShape::RestoreDocFile
Set exception mask of std::istream::failbit | std::istream::badbit to istream to make sure it raises an exception for corrupted input files.
See: https://forum.freecadweb.org/viewtopic.php?p=536747
2022-03-11 22:06:38 +01:00
Wanderer Fan
ed82b361bf [TD]fix getScale should be Scale.getValue 2022-03-11 11:59:31 -05:00
sliptonic
e1ce0c7695 Merge pull request #6552 from Russ4262/fix/leadin_leadout_simulation
Path: Fix Leadin-Leadout dressup simulation related to arcs [Bug]
2022-03-11 10:06:42 -06:00
sliptonic
0bc9edeb50 Merge pull request #6541 from Russ4262/fix/ramp_entry_dressup
Path: Fix enumeration dictionary error [Bug]
2022-03-11 10:04:53 -06:00
sliptonic
182cabcfbb Merge pull request #6530 from sliptonic/bug/6114
[Path] Fix minor non-modal bug.  Fixes 6114
2022-03-11 10:03:53 -06:00
sliptonic
5eb170df1a Merge pull request #6536 from J-Dunn/master
PATH: Fix tool shapes for zero dimension bugs
2022-03-11 09:56:52 -06:00
Wanderer Fan
0676c27443 [TD]fix Dim text on wrong side 2022-03-11 08:10:58 -05:00
wmayer
92ec0d2334 Test: fix unit test 'Menu' 2022-03-11 13:57:56 +01:00
Civil Guy
6a00ef0ed1 Minor spelling fixes 2022-03-11 13:57:03 +01:00
Yorik van Havre
ffbbb4ec9f Arch: Fixed auto-height of child walls & structures - fixes #5732 2022-03-11 11:52:33 +01:00