Commit Graph

25812 Commits

Author SHA1 Message Date
0penBrain
949263b93c [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
wmayer
bfe7a7a120 App: make evalExpression() a class method of DocumentObject 2021-09-23 15:31:15 +02:00
wmayer
f439e0c3f3 Web: BrowserView::setWindowIcon must be declared as slot 2021-09-23 14:28:36 +02:00
0penBrain
3f224066db [BUILDFIX] Add missing includes 2021-09-23 13:14:03 +02:00
wmayer
b432d12933 MinGW: if PYTHONHOME is not set then automatically do it at program start 2021-09-23 12:34:09 +02:00
wmayer
9bde68d784 MinGW: automatically find Coin library when running CMake 2021-09-23 12:33:25 +02:00
wmayer
381e4b4d5a Gui: use cbegin()/cend() for const_iterator 2021-09-23 11:17:42 +02:00
wmayer
eb18c2f9db Gui: modernize some classes 2021-09-23 11:00:50 +02:00
wmayer
89ab1ddbfb Gui: include FCGlobal.h for export macro 2021-09-23 10:57:22 +02:00
wmayer
0d2451a20a Gui: implement a workaround for MSYS2 to access QUiLoader via its Python interface 2021-09-23 09:46:20 +02:00
wmayer
00759f9c96 Gui: move PythonWrapper class to its own source file 2021-09-22 23:30:03 +02:00
wmayer
b4e69f1b2d Gui: move Ui loader classes to their own source files 2021-09-22 20:31:01 +02:00
wmayer
30848cb635 Gui: extend PythonWrapper:
* add methods to wrap/unwrap QDir
* add method to load QtUiTools module
2021-09-22 19:49:39 +02:00
wmayer
0ec51a959a 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
f3a5217468 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
6343836689 Sketcher: Show All and Hide All buttons on Constraint Widget 2021-09-22 18:29:41 +02:00
Abdullah Tahiri
3e644ed2af 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
ff93cb9295 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
4243790627 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
e233ba54e6 Merge pull request #5047 from chennes/lgtmMeshEmptyBlocks
[Mesh] Implement high-precision NASTRAN GRID* element
2021-09-22 09:22:48 -05:00
wmayer
fc83fd1fc8 port to MSYS2/clang: suppress 'undefined-var-template' warnings 2021-09-22 14:09:07 +02:00
Bernd Hahnebach
70c5505a75 Test: remove not needed u before py3 unicode string 2021-09-22 08:07:47 +02:00
Przemo Firszt
d008d44a34 [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
7b77ea52e7 Web: Fix MSVC compile error in BrowserView (part 2) 2021-09-21 13:08:29 -05:00
Chris Hennes
4f2d65a178 Web: Fix MSVC compile error in BrowserView 2021-09-21 12:56:34 -05:00
Bernd Hahnebach
f7bdd2c5e8 CI gitlab: update readme 2021-09-21 18:23:59 +02:00
Chris Hennes
6a9b27df1e Tools: Corrected arguments to git.extractInfo 2021-09-21 11:17:21 -05:00
Yorik van Havre
c942d950a9 Web: Extended openBrowserHTML to allow custom icon 2021-09-21 15:45:32 +02:00
Yorik van Havre
c6d30974be Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-09-21 15:43:15 +02:00
Przemo Firszt
1d8b334e88 [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
a530d30c2c Merge branch 'master' of github.com:FreeCAD/FreeCAD 2021-09-21 13:11:52 +02:00
Przemo Firszt
26dfd72143 [gitlab-ci] gitlab CI on docker initial commit 2021-09-21 07:52:40 +02:00
wmayer
7f772ba227 port to MSYS2/clang 2021-09-20 18:15:44 +02:00
Chris Hennes
7a7c7cc77f 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
f9f08f8805 [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
Chris Hennes
e5d5bc774f Merge pull request #5048 from Roy-043/Draft-Fix-annotation-scale-to-label-issue
Draft: Fix annotation scale to label issue.
2021-09-20 07:47:38 -05:00
Roy-043
07eced129a 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
b8a4d1e07e 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
907ab8205e Merge pull request #5040 from mwganson/macros
[Macros Dialog] Add 2 new parameters: DuplicateIgnoreExtraNote and Du…
2021-09-20 10:43:00 +02:00
Chris Hennes
c64b470731 [Docs] Minor tweaks to BUILD_OSX.md
Most based on feedback from @hyarion.
2021-09-19 20:27:13 -05:00
Chris Hennes
639979e4e7 Merge pull request #4217 from ipatch/macos.build.instructions
Update macos build doc to include using homebrew to build freecad from source
2021-09-19 20:26:20 -05:00
Chris Hennes
1761eb8ce0 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
be10709785 Tools: LGTM - don't catch BaseException 2021-09-19 14:38:05 -05:00
Chris Hennes
2a75451460 Template: LGTM - don't catch BaseException 2021-09-19 14:37:47 -05:00
Chris Hennes
ff5bf3e0df PD: LGTM - don't catch BaseException 2021-09-19 14:37:23 -05:00
Chris Hennes
be5971ad8e Path: LGTM - don't catch BaseException 2021-09-19 14:37:11 -05:00
Chris Hennes
97cec75e32 Plot: LGTM - don't catch BaseException 2021-09-19 14:36:51 -05:00
Chris Hennes
68a027cf94 Draft: LGTM - don't catch BaseException 2021-09-19 14:36:38 -05:00
Chris Hennes
84e86793f0 Arch: LGTM - don't catch BaseException 2021-09-19 14:36:12 -05:00
Chris Hennes
7db39151b9 Merge pull request #5044 from chennes/lgtmAppDeclHidesParam
[App] Fix LGTM warning decl hides param
2021-09-19 13:46:42 -05:00