Commit Graph

25850 Commits

Author SHA1 Message Date
0penBrain
e1dc69f56d [Core] Rotation : improve gimbal lock handling
Tolerance copied from OCC "gp_Quaternion.cxx"
2021-09-27 16:52:21 +02:00
Chris Hennes
68fbf89e38 Merge pull request #5066 from Roy-043/TechDraw-typo-in-menu-extension-pack
TechDraw: typo in menu extension pack
2021-09-27 07:38:06 -05:00
Chris Hennes
322b420a61 Merge pull request #5065 from Roy-043/Draft-move-Draft_AddNamedGroup-in-menu
Draft: move Draft_AddNamedGroup in menu
2021-09-27 07:37:22 -05:00
Roy-043
0dd4119369 TechDraw: typo in menu extension pack
Typo: "center line(s)" should be "centerline(s)". Same as in the name of the submenu: "Extensions: centerlines and threading".
2021-09-27 14:25:24 +02:00
Roy-043
c1dec8e792 Draft: move Draft_AddNamedGroup in menu
Draft_AddNamedGroup before Draft_AddToGroup, same as in the toolbar.
2021-09-27 10:34:53 +02:00
Chris Hennes
c505ac1ee3 [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
1b20118dfa Merge pull request #5052 from chennes/meshNastranFileFormat
[Mesh] Improve NASTRAN input support for non-delimited GRID element
2021-09-25 17:28:19 -05:00
Chris Hennes
b10dc6757a Merge branch 'master' into meshNastranFileFormat 2021-09-25 16:34:33 -05:00
Chris Hennes
d3509a63fd [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
c9eaa2393d 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
c37af5e737 Sketcher: fix warning unreferenced local variable 2021-09-25 21:06:50 +02:00
wmayer
5387e12e80 Web: support to query values via TCP/IP communication 2021-09-25 19:52:14 +02:00
wmayer
bd46e970d9 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
e94d7c32b5 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
0e03427736 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
5d4f7e96b4 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
6102f13071 Draft-fix-2-svg-pattern-issues hatch45R.svg
Changed pattern id.
2021-09-24 11:05:34 +02:00
Roy-043
19aa4e6a46 Draft-fix-2-svg-pattern-issues hatch45L.svg
Changed pattern id.
2021-09-24 11:03:37 +02:00
Roy-043
744ed7be52 Draft-fix-2-svg-pattern-issues
List of patterns is now sorted A-Z.
2021-09-24 10:54:51 +02:00
Abdullah Tahiri
873e0977ca 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
1d98cc08e7 [Sketcher] Add an option to get randomness in radius/diameter display angle 2021-09-24 06:57:09 +02:00
0penBrain
daa52ab7b8 [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
3553d8ed3a [Sketcher] Code simplification by systematically using 'finishDistance' to determine label distance 2021-09-24 06:57:09 +02:00
Roy-043
6babbda88d Update view_base.py 2021-09-23 20:24:35 +02:00
Roy-043
0c92514464 Draft: fix 2 edit mode issues 2021-09-23 20:16:53 +02:00
wmayer
00bb1d0b58 Gui: [skip ci] fix possible warning 2021-09-23 19:02:15 +02:00
wmayer
52c4ad941b App: add comment for clarification 2021-09-23 18:51:41 +02:00
Yorik van Havre
b042405933 Merged crowdin translations 2021-09-23 17:14:48 +02:00
Yorik van Havre
fafc18158c Tools: small fix in crowdin script 2021-09-23 17:14:31 +02:00
Yorik van Havre
15da3f01e5 Updated ts files 2021-09-23 17:04:05 +02:00
Yorik van Havre
dd1c65cfa0 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
129ad3b0bd 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
7ccec03df1 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
ff2598d2aa Merge pull request #5057 from 0penBrain/PDNexample
[Examples] Conform PartDesign example to usual guidelines
2021-09-23 16:39:43 +02:00
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
Roy-043
edd4da121e Draft: fix wrong type for layer transparency
Also fixed a typo.
2021-09-23 16:25:40 +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
Roy-043
612356edfe 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
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
Roy-043
deda3668c9 Draft: fix dim symbol issues 2021-09-23 10:45:21 +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