Commit Graph

18866 Commits

Author SHA1 Message Date
Markus Lampert
5def0433cd Fixed angle detection 2021-02-15 23:23:16 -08:00
Markus Lampert
b3c11f5cd2 Fixed TC creation from templates if legacy tools are enabled. 2021-02-15 22:15:17 +01:00
Markus Lampert
0342e6360d Removed obsolete preference api 2021-02-15 22:15:17 +01:00
Syres916
81b5612640 Added missing </a> as per review 2021-02-15 20:12:39 +01:00
Syres916
8f893430b9 [Start] Enable hyperlink for installed Addons
as per discussion https://forum.freecadweb.org/viewtopic.php?f=8&t=55623
2021-02-15 20:12:39 +01:00
David Osterberg
60c634c275 PartDesign: Subtractive Loft. Raise error when base is null.
Previously Subtractive loft would create a shape if there is no base
object. This is because the code is shared with Additive Loft, where
that is the right thing to do. Now we check for this, and return error
if there is nothing to subtract from.
2021-02-15 19:50:51 +01:00
sliptonic
66bda1a80b Merge pull request #4387 from mlampert/feature/add-experimental-features-to-preferences
[Path]: Expose experimental feature flag in preferences - with warning.
2021-02-15 10:09:53 -06:00
sliptonic
adf1c94a0c Merge pull request #4433 from J-Dunn/master
[PATH] fix conecutter core dumps #4561
2021-02-15 10:03:09 -06:00
David Osterberg
86f148175f PartDesign: Improve Helix parameter proposals
The previous initial proposed parameters could cause self intersection
when the user switches axis
2021-02-15 16:48:42 +01:00
Bernd Hahnebach
17b1dc1ae8 FEM: code formatting, pep8 2021-02-15 16:13:44 +01:00
Bernd Hahnebach
d4b35f13f4 FEM: material task panel, fix edition of Poisson Ratio 2021-02-15 16:13:38 +01:00
Bernd Hahnebach
b44075912a Arch: add BIM_Classification command before make use of it 2021-02-15 16:13:30 +01:00
Yorik van Havre
335cc13d48 Draft: Applied patch from nahshon - fixes misc errors from translation fixes 2021-02-15 15:50:45 +01:00
Yorik van Havre
41d3169491 Merge pull request #4449 from paullee0/ArchSectionPlane_BugFixes_01
[ArchSectionPlane]  Fix Swing for Windows(Doors) Link in ArchView/TD
2021-02-15 13:25:36 +01:00
Yorik van Havre
3683ba1ce5 Merge pull request #4434 from Roy-043/Arch_Fix_ArchPipe
[Arch] Fix for ArchPipe: getProfile returned Shape instead of Wire
2021-02-15 13:24:28 +01:00
mlampert
a7b048fee1 Merge branch 'master' into feature/add-experimental-features-to-preferences 2021-02-14 17:54:04 -08:00
sliptonic
08ea37c3b4 Merge pull request #4443 from mlampert/bugfix/deburr-offset-part
[Path]: Added support for Part.OffsetCurve to flipEdge.
2021-02-14 17:36:01 -06:00
sliptonic
d95ae5e39b Merge pull request #4441 from mlampert/bugfix/path-ellipsis-cmdsForEdge
[Path]: bugfix/cmdsForEdge for ellipse edge
2021-02-14 17:35:44 -06:00
sliptonic
8af95f1147 Merge pull request #4384 from Russ4262/feature_useoutline_to_adaptive
[0.19] [Path] Add `UseOutline` feature to Adaptive op [1 of 3 per dev conversation]
2021-02-14 17:07:45 -06:00
wmayer
abed4bd421 PD: [skip ci] fixes #0004205: Bad behavior when entering manually PD/AdditivePipe path 2021-02-15 00:06:29 +01:00
luz paz
3017fd5902 FEM: z88 solver function typos [skip ci] 2021-02-14 22:13:28 +01:00
luz paz
36d9f82671 FEM: remote superfluous double semicolons [skip ci] 2021-02-14 22:13:16 +01:00
Alex Young
ffba26229b AddonManager: removes unused imports
This patch removes all the unused imports in the AddonManager module as flagged by LGTM.
2021-02-14 21:08:23 +01:00
mlampert
3934b470d8 Merge branch 'master' into bugfix/path-ellipsis-cmdsForEdge 2021-02-14 11:18:51 -08:00
mlampert
0b3a2cf406 Merge branch 'master' into bugfix/deburr-offset-part 2021-02-14 11:18:35 -08:00
mlampert
d54ecff24d Merge branch 'master' into feature/add-experimental-features-to-preferences 2021-02-14 11:17:31 -08:00
wmayer
a79e9bb609 TD: fix undo/redo for balloon objects
* inside mouseReleaseEvent() check if the mouse has been moved and only if yes emit the dragFinished() signal
* improve error handling in mouseDoubleClickEvent
* in mouseDoubleClickEvent start to edit the view provider
2021-02-14 19:30:06 +01:00
wmayer
9b145fc830 TD: fix undo/redo for dimension objects
* do not emit dragFinished() signal inside mousePressEvent as nothing has been done. This avoids to create an empty transaction and doesn't touch the document
* inside mouseReleaseEvent() check if the mouse has been moved and only if yes emit the signal
* improve error handling in mouseDoubleClickEvent
* in mouseDoubleClickEvent start to edit the view provider
2021-02-14 19:03:19 +01:00
wmayer
e83ee7400c Mesh: add unit tests for splitting facets 2021-02-14 12:33:29 +01:00
wmayer
479a1fc9c9 Mesh: [skip ci] expose some mesh evaluation functions to Python 2021-02-14 12:02:45 +01:00
David Osterberg
29cd1049bb Part: Allow helix primitive with negative Angle 2021-02-14 11:53:34 +01:00
wmayer
8616a5615f Mesh: [skip ci] replace tabs with spaces 2021-02-14 11:26:53 +01:00
luz paz
a792e15e5b Path: fix typos in comments [skip ci]
Found via codespell
2021-02-14 10:45:38 +01:00
mlampert
2f5cbcbd4f Merge branch 'master' into feature/add-experimental-features-to-preferences 2021-02-13 16:20:37 -08:00
David Osterberg
9dd96ed107 Draft: Fix regressions in Draft array 2021-02-14 01:20:06 +01:00
mlampert
6cdd50b252 Merge branch 'master' into bugfix/path-ellipsis-cmdsForEdge 2021-02-13 16:17:43 -08:00
mlampert
9fcd82fecf Merge branch 'master' into bugfix/deburr-offset-part 2021-02-13 16:17:14 -08:00
Markus Lampert
6af42fa158 Split OCL and experimental features to allow enabling independently. 2021-02-13 16:03:00 -08:00
Markus Lampert
6d3ff49aba Added 'Advanced' preferences page, moved warning suppression there and experimental feature support. 2021-02-13 16:03:00 -08:00
wmayer
815333c68e Mesh: [skip ci] implement splitFacet 2021-02-14 00:54:30 +01:00
mlampert
054efbac3d Merge branch 'master' into bugfix/path-ellipsis-cmdsForEdge 2021-02-13 11:30:29 -08:00
mlampert
b51e786ac9 Merge branch 'master' into bugfix/deburr-offset-part 2021-02-13 11:29:19 -08:00
paul lee
f521d8ca6b [ArchSectionPlane] Fix Swing Symbol for Windows(Doors) Link in ArchView/TechDraw
Forum Discussion  :  [ Link in Arch/BIM -- 4 ] Link of Door : Swing Not Shown in ArchView/TechDraw
- https://forum.freecadweb.org/viewtopic.php?f=23&t=55526
2021-02-14 03:13:36 +08:00
Abdullah Tahiri
c8f9197bf0 Sketcher: Fix external geometry ellipse projection in parallel plane
====================================================================

When the ellipse to be projected and the sketch plane are parallel, the original code
by shermelin provided for a translation of the original ellipse, which would be the best solution
if it weren't because the Sketcher, internally, works under the assumption of a normal vector to the
sketcher plane being (0,0,1). If the original ellipse is parallel to the sketch plane, but the sketch
plane is not the XY plane, the copy and translation would result in a ellipse not in the XY plane of the
Sketcher. Then the sketcher internals will not properly consider its dimensions.

The solution applied here is to default to the general method for non-parallel planes.

It solves:
https://forum.freecadweb.org/viewtopic.php?f=3&t=55284#p477522
2021-02-13 15:18:34 +01:00
wmayer
ac6d06dd84 Draft: fix syntax errors 2021-02-13 12:14:12 +01:00
Abdullah Tahiri
30a93b648b Sketcher: Coverity fix in Sketch::analyseBlockedGeometry
========================================================

Users chennes and hyarion made me aware of this covereity issue:

Fixes Coverity: geoit can be end() when dereferenced
https://github.com/FreeCAD/FreeCAD/pull/4429/files#

When analysing the block where the dereferrencing appears, it
appears that it is a left-over that no longer makes sense:
- The algorithm classifies block constraints into those that are
not affected by any other driving constraint and those that are
affected by other driving constraints.
- The offending block deals with internal aligned geometry, thus
per definition has a driving internal alignment constraint, for which
the previous block already set the need of post-analysis.
- No matter what, the geometries, the complex one and the internal one
will have at least the driving internal alignment constraint, so they
cannot become "not affected by any other driving constraint".
- If the geometry had a block constraint on it, it was already added for
post-analysis in the previous block. If it did not have one block constraint,
the fact that it is internal aligned geometry is an irrelevant consideration.

Probably there was a point during development when this made sense, but with
the current post-analysis, it does not appear to make sense anymore. So the
block was removed.

This commit adds a unit test for blocked geometry (new block constraint).
2021-02-13 11:44:06 +01:00
mlampert
39a6837bcc Merge branch 'master' into bugfix/path-ellipsis-cmdsForEdge 2021-02-12 18:59:37 -08:00
mlampert
47fa899d3e Merge branch 'master' into bugfix/deburr-offset-part 2021-02-12 18:58:30 -08:00
Chris Hennes
16b8e02969 Correct minimum distance calculation in SplitFacet
Found via LGTM.
2021-02-12 21:59:50 +01:00
mlampert
ebfab091eb Merge branch 'master' into bugfix/deburr-offset-part 2021-02-12 09:39:14 -08:00