Commit Graph

24681 Commits

Author SHA1 Message Date
FreeCAD-Tools
aa4918fa71 Update CommandConstraints.cpp 2021-09-27 15:47:23 +03:00
FreeCAD-Tools
0efabc3861 Update CommandConstraints.cpp 2021-09-27 15:44:55 +03:00
FreeCAD-Tools
bbd39a4e57 Update CommandAlterGeometry.cpp 2021-09-27 15:39:17 +03:00
FreeCAD-Tools
e22335ec2e Update Command.cpp 2021-09-27 15:38:41 +03:00
Chris Hennes
e4116758c5 [Draft] Silence LGTM warnings about unused vars
LGTM only recognizes "_" and "unused" as variable names that are
expected to be unused, so switch to "_".
2021-09-26 13:34:16 -05:00
Chris Hennes
d7bf76e3cc Merge branch 'master' into meshNastranFileFormat 2021-09-25 16:34:33 -05:00
Chris Hennes
ba5adca79b [Mesh] Add unit tests for NASTRAN reader
Also make some minor deprecation and verbosity cleanups to the Mesh unit
test cases.
2021-09-25 16:05:19 -05:00
Abdullah Tahiri
4847d5cab3 Sketcher: Rectangular Array Snap mode
=====================================

Rectangular Array gets a snap mode every 10 degrees when pressing CTRL (for consistency with Multiline arc, which also snaps using CTRL).

Request:
https://forum.freecadweb.org/viewtopic.php?p=535691#p535691
2021-09-25 21:58:14 +02:00
Abdullah Tahiri
380e123626 Sketcher: fix warning unreferenced local variable 2021-09-25 21:06:50 +02:00
wmayer
d310013cd0 Web: support to query values via TCP/IP communication 2021-09-25 19:52:14 +02:00
wmayer
8041f98ab7 Mesh: [skip ci] change MeshTopoAlgorithm::SplitOpenEdge to return a boolean to indicate if the operation succeeded or not 2021-09-25 14:52:49 +02:00
Chris Hennes
5b415978ac Merge pull request #5060 from Roy-043/Draft-fix-2-svg-pattern-issues
Draft: fix 2 SVG pattern issues
2021-09-24 10:34:31 -05:00
Chris Hennes
4b4098442f Merge pull request #5058 from Roy-043/Draft-fix-2-edit-mode-issues
Draft: fix 2 edit mode issues
2021-09-24 10:33:34 -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
Roy-043
0daac05a7f Draft-fix-2-svg-pattern-issues hatch45R.svg
Changed pattern id.
2021-09-24 11:05:34 +02:00
Roy-043
60a0ce8289 Draft-fix-2-svg-pattern-issues hatch45L.svg
Changed pattern id.
2021-09-24 11:03:37 +02:00
Roy-043
fb484a2367 Draft-fix-2-svg-pattern-issues
List of patterns is now sorted A-Z.
2021-09-24 10:54:51 +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
Roy-043
bb1fccbc23 Update view_base.py 2021-09-23 20:24:35 +02:00
Roy-043
114b3b4d1f Draft: fix 2 edit mode issues 2021-09-23 20:16:53 +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
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
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
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