Commit Graph

25831 Commits

Author SHA1 Message Date
Russell Johnson
5e9cd07ef6 Path: Black code formatting only 2021-09-24 06:38:39 -05:00
Russell Johnson
2384ad9860 Path: Add Base.Active check early in execute() method
This commit adds a `Base.Active` check to determine if the Base is Active.  If the Base is Inactive, the new code sets the `obj.Path` property to the same inactive message used in PathOp module and the `execution()` method returns immediately, stopping further execution.
2021-09-24 06:38:39 -05:00
Abdullah Tahiri
e0405d377f Sketcher: Hide/show constraints according to filter
===================================================

Updates the visibility to the filter selection on the moment of checking the "track filter selection" checkbox.
2021-09-24 13:33:27 +02:00
Abdullah Tahiri
4cc6fbfc5d Sketcher: Minor fixes sketcher radius/diameter presentation
===========================================================

Some minor fixes:

https://forum.freecadweb.org/viewtopic.php?p=535406#p535406

https://forum.freecadweb.org/viewtopic.php?p=535511#p535511
2021-09-24 06:57:59 +02:00
0penBrain
7485c7d805 [Sketcher] Add an option to get randomness in radius/diameter display angle 2021-09-24 06:57:09 +02:00
0penBrain
e0ca4cf93c [Sketcher] Display radius/diameter constraints with some angle
So they are easily differentiated from distance constraints
 Default angle can be customized with 'BaseApp/Preferences/Mod/Sketcher/RaDiaAngle'
2021-09-24 06:57:09 +02:00
0penBrain
50623c73ee [Sketcher] Code simplification by systematically using 'finishDistance' to determine label distance 2021-09-24 06:57:09 +02:00
wmayer
f5c52dcb84 Gui: [skip ci] fix possible warning 2021-09-23 19:02:15 +02:00
wmayer
1eed1f16b7 App: add comment for clarification 2021-09-23 18:51:41 +02:00
Yorik van Havre
6ad3530981 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Yorik van Havre
a9e53d92ff Tools: small fix in crowdin script 2021-09-23 17:14:31 +02:00
Yorik van Havre
3573c5b21f Updated ts files 2021-09-23 17:04:05 +02:00
Yorik van Havre
d0a591485f Merge pull request #5053 from Roy-043/Draft_fix_dim_symbol_issues
Draft: fix dim symbol issues
2021-09-23 16:43:25 +02:00
Yorik van Havre
117328250e Merge pull request #5055 from Roy-043/Draft_fix_wpproxy_view_prop_group
Draft: fix wpproxy view properties group
2021-09-23 16:41:14 +02:00
Yorik van Havre
68e7a434f3 Merge pull request #5056 from Roy-043/Draft_fix_wrong_type_for_layer_transparency
Draft: fix wrong type for layer transparency
2021-09-23 16:40:32 +02:00
Yorik van Havre
1737cba7b7 Merge pull request #5057 from 0penBrain/PDNexample
[Examples] Conform PartDesign example to usual guidelines
2021-09-23 16:39:43 +02:00
0penBrain
70b898b1f2 [Examples] Conform PartDesign example to usual guidelines
Attach sketches to planes (base planes)
 Fully constrain sketches
 Make the example looking a bit nicer too
2021-09-23 16:28:17 +02:00
Roy-043
cfd4704024 Draft: fix wrong type for layer transparency
Also fixed a typo.
2021-09-23 16:25:40 +02:00
wmayer
5381c9447d App: make evalExpression() a class method of DocumentObject 2021-09-23 15:31:15 +02:00
wmayer
bef80f31fa Web: BrowserView::setWindowIcon must be declared as slot 2021-09-23 14:28:36 +02:00
0penBrain
01fd5b555f [BUILDFIX] Add missing includes 2021-09-23 13:14:03 +02:00
Roy-043
e2e16e60dc Draft: fix wpproxy view properties group
View properties of a WP proxy should not appear in the Arch group.
2021-09-23 12:44:17 +02:00
wmayer
f38481a68c MinGW: if PYTHONHOME is not set then automatically do it at program start 2021-09-23 12:34:09 +02:00
wmayer
b89a7dc88c MinGW: automatically find Coin library when running CMake 2021-09-23 12:33:25 +02:00
wmayer
edf7fe4c7c Gui: use cbegin()/cend() for const_iterator 2021-09-23 11:17:42 +02:00
wmayer
4397c0f520 Gui: modernize some classes 2021-09-23 11:00:50 +02:00
wmayer
661e31b383 Gui: include FCGlobal.h for export macro 2021-09-23 10:57:22 +02:00
Roy-043
dc988eb613 Draft: fix dim symbol issues 2021-09-23 10:45:21 +02:00
wmayer
806f004f12 Gui: implement a workaround for MSYS2 to access QUiLoader via its Python interface 2021-09-23 09:46:20 +02:00
wmayer
21ba35adab Gui: move PythonWrapper class to its own source file 2021-09-22 23:30:03 +02:00
wmayer
bc5c585c8b Gui: move Ui loader classes to their own source files 2021-09-22 20:31:01 +02:00
wmayer
8cb1b9e899 Gui: extend PythonWrapper:
* add methods to wrap/unwrap QDir
* add method to load QtUiTools module
2021-09-22 19:49:39 +02:00
wmayer
2fa64b9a2f Gui: remove QUiLoader from Qt4All.h to make sure it is included from a single file 2021-09-22 19:30:58 +02:00
Abdullah Tahiri
6b9545fb0a Sketcher: Fix hide/show operations on Constraint Widget taking too long
=======================================================================

Fixes delay reported here:
https://forum.freecadweb.org/viewtopic.php?f=17&t=60569#p519685
2021-09-22 18:30:03 +02:00
Abdullah Tahiri
a7dc075790 Sketcher: Show All and Hide All buttons on Constraint Widget 2021-09-22 18:29:41 +02:00
Abdullah Tahiri
4cb0e4125b Sketcher: Constraint hiding/showing not working properly for combined constraint icons
======================================================================================

Hiden constraint icons should not be grouped into combined icons. This may also improve selection of combined (stacked) icons.

fixes #4590
2021-09-22 18:29:21 +02:00
Abdullah Tahiri
0facbfc140 Sketcher: Tracking of constraint visibility via contraint widget filter
=======================================================================

Add new option so that the 3D view constraint visibility track the constraint widget filter selection.

It maintains internally two mutually exclusive virtual spaces and the ability to select one as visible (the other remaining hiden).
2021-09-22 18:29:10 +02:00
Abdullah Tahiri
113b78c1d8 Sketcher: Constraint Widget extended filter
===========================================

- Remove "Normal" as it did exactly the same as "All".
- Add "Geometric" to filter only Geometric (non datum) constraints
- Add all individual constraint types to filter.

As per request:
https://forum.freecadweb.org/viewtopic.php?p=534176#p534176
2021-09-22 18:28:59 +02:00
Chris Hennes
519caa51b5 Merge pull request #5047 from chennes/lgtmMeshEmptyBlocks
[Mesh] Implement high-precision NASTRAN GRID* element
2021-09-22 09:22:48 -05:00
wmayer
a6ae1d9c56 port to MSYS2/clang: suppress 'undefined-var-template' warnings 2021-09-22 14:09:07 +02:00
Bernd Hahnebach
61d95e9c5e Test: remove not needed u before py3 unicode string 2021-09-22 08:07:47 +02:00
Przemo Firszt
5bba8795b8 [UnitTest] Fix UnitTests - use utf-8
On some systems there is a problem with utf-8 during testing. This
commit is trying to address it. Tested only on ubuntu 20.04

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-09-22 08:07:38 +02:00
Chris Hennes
7e2e7f625c Web: Fix MSVC compile error in BrowserView (part 2) 2021-09-21 13:08:29 -05:00
Chris Hennes
5959a3b17d Web: Fix MSVC compile error in BrowserView 2021-09-21 12:56:34 -05:00
Bernd Hahnebach
776c2489da CI gitlab: update readme 2021-09-21 18:23:59 +02:00
Chris Hennes
f78576943e Tools: Corrected arguments to git.extractInfo 2021-09-21 11:17:21 -05:00
Yorik van Havre
fc82a54b97 Web: Extended openBrowserHTML to allow custom icon 2021-09-21 15:45:32 +02:00
Yorik van Havre
d5ce545531 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-09-21 15:43:15 +02:00
Przemo Firszt
f950cfab7b [UnitTest] Replace deg symbol with deg
unittest cannot handle the symbol on some systems. deg is a safe
solution.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-09-21 15:16:13 +02:00
Yorik van Havre
08d8c97c76 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-09-21 13:11:52 +02:00