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
Chris Hennes
63369a9c38
[Mesh] Improve NASTRAN input support
...
Adds support for original-NASTRAN fixed-field-width low-precision GRID
element (the existing code assumed space-delimited input).
2021-09-22 11:58:04 -05: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
461281af54
Merge branch 'master' into hiddenPrefToLockToolbars
2021-09-21 14:53:27 -05:00
Chris Hennes
599385a9ff
Merge branch 'master' into spreadsheetPasteCleanup
2021-09-21 14:34:46 -05:00
Chris Hennes
4ebfb0c7f4
[Spreadsheet] Add support for copying empty cells
2021-09-21 14:32:42 -05: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
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
jim
1b1e7e2a23
PathArry translate copies along Z axis as it does along X/Y
2021-09-20 21:10:49 -07:00
Chris Hennes
bbee3f05eb
[Spreadsheet] Refactor and simplify paste code
2021-09-20 16:12:16 -05:00
wmayer
47fe2babac
port to MSYS2/clang
2021-09-20 18:15:44 +02:00
Chris Hennes
5ccc07eee0
Merge pull request #5030 from mwganson/spreadsheet
...
[Spreadsheet] Prevent infinite loop when copy/paste of non-rectangular selection.
2021-09-20 11:05:11 -05:00
Chris Hennes
9b57a7867a
[Mesh] Implement GRID* input in NASTRAN
...
LGTM complained about two empty blocks in the Mesh NASTRAN reader: those
blocks related to the code skipping the input of the high-precision GRID
element. This commit adds support for that element.
2021-09-20 10:32:10 -05:00
Roy-043
65a60fa639
Draft: Fix annotation scale to label issue.
...
The scale_to_label function did not handle scale 5:1, 10:1 or 20:1 properly.
2021-09-20 11:01:59 +02:00
Yorik van Havre
ef365386ef
Merge pull request #4800 from heewa/abort-save-when-unable-to-finish
...
App: Abort save when unable to finish
2021-09-20 10:47:57 +02:00
Yorik van Havre
ec9b1359de
Merge pull request #5040 from mwganson/macros
...
[Macros Dialog] Add 2 new parameters: DuplicateIgnoreExtraNote and Du…
2021-09-20 10:43:00 +02:00
donovaly
6c3661d3d9
rebase to master
2021-09-20 01:37:47 +02:00
donovaly
b868dbbe7f
small fixes as suggested by @chennes
...
therefore also in the helix code
2021-09-20 00:59:17 +02:00
donovaly
7bfede97b7
[PD] add feature to select pad direction via an edge
...
This was requested by users in the forum and is indeed very valuable for the usability.
2021-09-20 00:59:16 +02:00
Chris Hennes
28127c5f2d
Merge pull request #5046 from carlopav/Draft_fixSnapGrid
...
Draft: fix Snapper GridSnap not working over a face
2021-09-19 16:36:38 -05:00
Chris Hennes
6acffa2378
Tools: LGTM - don't catch BaseException
2021-09-19 14:38:05 -05:00
Chris Hennes
105dd61e84
Template: LGTM - don't catch BaseException
2021-09-19 14:37:47 -05:00
Chris Hennes
ccaa439d1a
PD: LGTM - don't catch BaseException
2021-09-19 14:37:23 -05:00
Chris Hennes
38eb31e01d
Path: LGTM - don't catch BaseException
2021-09-19 14:37:11 -05:00
Chris Hennes
985438f2b2
Plot: LGTM - don't catch BaseException
2021-09-19 14:36:51 -05:00
Chris Hennes
f99059e371
Draft: LGTM - don't catch BaseException
2021-09-19 14:36:38 -05:00
Chris Hennes
c5491d64e2
Arch: LGTM - don't catch BaseException
2021-09-19 14:36:12 -05:00
Chris Hennes
9cc9e0d3ab
Merge pull request #5044 from chennes/lgtmAppDeclHidesParam
...
[App] Fix LGTM warning decl hides param
2021-09-19 13:46:42 -05:00
Chris Hennes
6c532c2fda
PD: Silence LGTM warning about empty block
2021-09-19 13:39:49 -05:00
wmayer
8cbd92d874
port to MSYS2/clang
2021-09-19 19:49:44 +02:00
Chris Hennes
373246858e
[App] Fix LGTM warning decl hides param
2021-09-19 12:31:24 -05:00
wmayer
44272480f4
App: handle empty, . or .. as parent directory
2021-09-19 18:06:47 +02:00
wmayer
b067a13a91
Tools: port example of embedding to Py3
2021-09-19 18:01:24 +02:00
carlopav
967a97e9a8
Draft: fix Snapper GridSnap not working over a face
...
ref. https://forum.freecadweb.org/viewtopic.php?f=23&t=62274&sid=4c9d07255e4f0db219b661c345768319
If the cursor is over a Face and no SnapCenter is active, the snapToObject method returns the current cursor point instead of None. Doing so the snap() method does not check for extension and grid snaps.
It seems this is a bug since the snap() already contains the deleted code.
One note: the no snaps case was moved before the lastObj setting, since if no snap point was found, it's not right to set it to a non snapped object.
2021-09-19 14:31:44 +02:00
Chris Hennes
ff29bb1453
[App] LGTM fix - rename loop variable
...
LGTM complains that the use of "obj" as the loop variable here hides the
parameter "obj". To silence the warning, rename the loop variable.
2021-09-18 23:18:51 -05:00