Commit Graph

27417 Commits

Author SHA1 Message Date
Uwe
02b9877312 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2022-02-05 14:09:26 +01:00
Uwe
a7b1557bcb [Part] SectionCutting: remove unused variable 2022-02-05 14:09:13 +01:00
sliptonic
a3c45209cc Merge pull request #5497 from sliptonic/bug/pythonversion
[PATH]  Toolcontroller import startup bug
2022-02-05 07:07:28 -06:00
wmayer
82e1feffef App: fix Py3.8 warnings 2022-02-05 12:24:36 +01:00
Uwe
d414a177d2 [Part] Extrusion: reduce angle step size
tapered extrudes are mainly used for molds etc, so only a few degrees. The angle step in the properties was already 1° and also Pad/Pocket uses 1° steps
2022-02-05 05:39:40 +01:00
Abdullah Tahiri
ebe788129a Sketcher: Correct comment
========================

e9e68d3d9d (r64179273)
2022-02-05 05:29:44 +01:00
Abdullah Tahiri
53d80b69f0 Sketcher: Control Polygon incomplete for periodic BSplines
==========================================================

Bug fix:
https://forum.freecadweb.org/viewtopic.php?p=565127#p565127

Incorrect indexing of lineset fixed
2022-02-05 05:25:01 +01:00
Uwe
91b2b7ce6e [PD] Extrude: modernize SignalSlot connection
as suggested recently by @chennes
2022-02-04 22:20:31 -06:00
Uwe
5d51871373 [PD] Extrude: handle angle edit visibility
- adds missing code to handle the edits for the taper angle
2022-02-05 02:11:14 +01:00
Uwe
cc53e381c6 [Part] feature to make persistent section cut views (#4118)
* [Part] feature to make persistent section cut views

* one aim is to have a feature to make real cuts, not hollow ones like with clipping
* the second one is to have a persistent view, so an object in the tree that can be further exported, meshed etc.

For a detailed description with examples see https://forum.freecadweb.org/viewtopic.php?f=17&t=52441
2022-02-05 01:57:57 +01:00
Mark Ganson TheMarkster
abe0c9222a [PartDesign Fillet/Chamfer] add UseAllEdges boolean property (#5340)
- [PartDesign Fillet/Chamfer] add UseAllEdges boolean property
- add UseAllEdges checkbox to fillet and chamfer dialogs
- put UseAllEdges property into Chamfer and Fillet groups, create Fillet group for fillets and put Radius into it, too.
2022-02-05 01:50:51 +01:00
wmayer
0df823c68b App: add missing pragma for GCC diagnostic 2022-02-04 22:38:26 +01:00
wmayer
9d9de3d51b Base: [skip ci] add comment about possible issues with Matrix4D::hasScale() 2022-02-04 20:28:46 +01:00
Chris Hennes
da4d04f59c Addon Manager: Fallback when QtWebEngine is missing 2022-02-04 10:28:17 -06:00
sliptonic
d8c79d38f1 remove dataclass usage.
Fix toolcontroller import bug
2022-02-04 10:19:20 -06:00
wmayer
4c1e479c98 Test: add unit tests for matrices 2022-02-04 14:36:02 +01:00
wmayer
a5f0265a43 Base: support of multiplication of a matrix with a scalar, add functions to check whether it's the unit or null matrix 2022-02-04 14:35:27 +01:00
wmayer
9f29e9e7b2 Test: replace deprecated failUnless with the new assert* functions 2022-02-04 11:38:55 +01:00
0penBrain
49d628ffb0 Base: fix bug in matrix multiplication (Python API) 2022-02-04 03:50:44 +01:00
Uwe
8b185474bb [TD] sort and simplify a header 2022-02-04 03:49:25 +01:00
wmayer
8e5ad95de3 App: improve ColorLegend 2022-02-03 22:01:52 +01:00
Wanderer Fan
5f1bd0c2aa [TD]fix CMakeLists.txt to allow no-Gui build 2022-02-03 15:48:45 -05:00
Wanderer Fan
2204bb9d7a [TD]Add sodipodi namespace to exported SVG 2022-02-03 15:07:07 -05:00
Yorik van Havre
a4c8118bad Draft: Upgrade: make compound when unable to turn edges to wire - fixes #3483 2022-02-03 16:13:01 +01:00
Wanderer Fan
4fd28100ce [TD]rename CopyView to ShareView 2022-02-03 08:39:01 -05:00
Wanderer Fan
9760384b64 [TD]fix ui file location 2022-02-03 08:39:01 -05:00
Yorik van Havre
3608f8cb41 Merge pull request #5479 from Roy-043/Arch-Fix-ArchFrame
Arch: Fix ArchFrame
2022-02-03 13:04:42 +01:00
wmayer
dd57f124fe Gui: modernize C++11
* remove redundant void-arg
* use nullptr
2022-02-03 11:15:46 +01:00
wmayer
d9016c490a Gui: [skip ci] replace tabs with spaces, replace NULL with nullptr 2022-02-03 09:56:46 +01:00
marioalexis
f89c9f053a Gui: Improve the docstrings and clean up code in ApplicationPy.cpp 2022-02-03 08:21:23 +01:00
0penBrain
74a92dd17c [Gui] Decrease click number on recovery transient deletion
If 'cleanup' is choosen, recovery dialog is automatically close after deletion

 User can "Don't show again" on the 'operation finished' message box
2022-02-03 08:05:48 +01:00
wmayer
7ff62348df App: fix ColorField::set/ColorGradient::set in case an invalid value range s passed 2022-02-03 07:53:38 +01:00
Chris Hennes
994071c43b Addon Manager: Switch to QWebEngineView for README
Rather than manually parsing the output from the repo's host, the Addon Manager
now uses an embedded QWebEngineView to display the README data. This makes the
display more repo-location agnostic (rather than trying to parse the specific
code from GitHub, Gitlab, etc.). Special handling of known hosts is still
provided to improve the display of the page, but it is not required. Clicking a
link on the page still loads in a new system browser window, with the exception
of links to the FreeCAD wiki, which are loaded in the same browser. This is
expected to be used primarily to access traslated pages for Macros, so no
advanced web-browsing features are displayed (e.g. back buttons, history
access, etc.).
2022-02-02 23:42:29 -06:00
Roy-043
efdaed9397 TechDraw: Fix texts in TaskSelectLineAttributes.ui
Fix text regression.
2022-02-03 05:17:12 +01:00
Florian Simmer
6a5fcf86f9 Github: typo in codespell workflow 2022-02-02 16:20:47 -06:00
wmayer
2bf84e79ac App/Gui: make color bar to handle very small values 2022-02-02 21:12:59 +01:00
Chris Hennes
e6126eb2dc Addon Manager: Fix tags on compact view 2022-02-02 13:49:41 -06:00
wmayer
eedc96b9fd Fem: fix crash caused by PropertyPostDataObject::getPyObject() 2022-02-02 16:34:30 +01:00
0penBrain
2680699615 [Draft] Fix widget property in preference UI 2022-02-02 15:46:33 +01:00
edi271
7477a9950e Update Geometry2d.cpp
I tested. It works using Precision::Confusion(). Thank you.
2022-02-02 08:35:34 -05:00
edi271
5279eddc33 Issue Y-position of dim labels 2022-02-02 08:35:34 -05:00
edi271
d5177b09cc New tool remove prefix characters 2022-02-02 08:35:34 -05:00
edi271
6b9e23d7dd add accuracy to getCircleCenter method 2022-02-02 08:35:34 -05:00
edi271
fcb423992b New tool circle through 3 points 2022-02-02 08:35:34 -05:00
Roy-043
7693035a2c Arch: Fix ArchFrame 2022-02-02 11:47:21 +01:00
Chris Hennes
b7794444bd Core: Python translate() wrapper arg correction
translate()'s third argument is an optional string used as a comment:
"None" is a valid value for this argument (and is indeed the stated
default in the documentation), but as originally written it was not
accepted, only actual strings were allowed. This commit modifies the
format string from "s" to "z", allowing an explicit None argument.
2022-02-01 21:12:49 -06:00
Uwe
12b0e0dd92 [PD] add option to create tapered Pad / Pocket
This PR adds the same functionality as provided by Part Extrude.
The used code parts are sorted out to a new helper function that is used by Part and PartDesign.
2022-02-02 01:04:06 +01:00
sliptonic
bb73cce45c Merge pull request #5470 from sliptonic/bug/bottomfacedrilling
[Path] Bug/bottomfacedrilling
2022-02-01 10:04:36 -06:00
sliptonic
626dce8dd4 Merge pull request #5474 from sliptonic/bug/translationDisamb
[Path] Remove unnecessary third argument from translate() calls
2022-02-01 10:04:08 -06:00
Benjamin Bræstrup Sayoc
f75acfd4c3 Refactor 2022-02-01 09:16:18 -05:00