Commit Graph

24446 Commits

Author SHA1 Message Date
Dirk Olbrich
29b6cd6579 Sketcher: display dimensional constraint name
- checkbox in sketcher settings ui to display dimensional constrain name
- option to format dimensional presentation string
2021-09-01 10:27:42 +02:00
Yorik van Havre
c03c771839 Merge pull request #4772 from realthunder/EulerAngles
Base: add new API Rotation::get/setEulerAngles()
2021-08-31 10:40:23 +02:00
Yorik van Havre
5177a5f051 Start: Fixed faling test 2021-08-30 15:36:13 +02:00
Yorik van Havre
e59e9d09d6 Merge pull request #4915 from carlopav/draft_snap_nodoc_fix
Draft: fixed Snap behaviour when no document is active.
2021-08-30 14:26:10 +02:00
carlopav
a3d5427543 Update src/Mod/Draft/draftguitools/gui_snaps.py
Co-authored-by: Yorik van Havre <yorik.vanhavre@gmail.com>
2021-08-30 13:57:04 +02:00
Yorik van Havre
26e1fd3710 Merge pull request #4914 from donovaly/PD-property-fixes
[PD] fix property issues
2021-08-30 13:30:30 +02:00
Yorik van Havre
ff4209a759 Removed redundant namespace
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-08-30 13:30:06 +02:00
Yorik van Havre
9928db12d5 Merge pull request #4924 from dbdbdb/spacepilot-pro-keycodes
Set default keycodes for 3dconnexion SpacePilot Pro
2021-08-30 13:17:18 +02:00
Yorik van Havre
4cab702b00 Merge pull request #5000 from chennes/checkForConflictingAccelerators
[Core] Add checks for conflicting accelerators
2021-08-30 11:46:38 +02:00
carlopav
e36b8f458f Gui: Improved tooltips for grouped commands
Following previous improvements, this fix allows also Grouped Actions to have the new tooltip.
2021-08-29 23:30:58 +02:00
Chris Hennes
767bc22948 [Core] Add checks for conflicting accelerators
When compiled in debug mode, this PR adds code to check for conflicting
accelerator keys when a command is created. This can help developers
ensure that their default accelerator key selections don't conflict.

Replace partial match algorithm

Co-authored-by: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2021-08-29 16:13:59 -05:00
sliptonic
28c51d6f39 Merge pull request #4902 from Russ4262/fix/Extensions_error_msg
[Path] Downgrade Extensions error message priority
2021-08-27 17:17:33 -05:00
Yorik van Havre
fc02641ff4 Merge pull request #4995 from chennes/fix4664HardcodedTooltips
[GUI] Refactor tooltip code to rebuild shortcut
2021-08-27 12:19:45 +02:00
Chris Hennes
25f54a0f0e Also set tooltip after Reset and ResetAll 2021-08-26 09:05:10 -05:00
Yorik van Havre
6093e302ce Arch: Better icon for arch references 2021-08-26 14:55:18 +02:00
Yorik van Havre
960c626b1d Draft: Use BuildingParts as group in Draft SVG projections 2021-08-26 14:54:33 +02:00
Yorik van Havre
199e8a8d6e Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
8acd9f8734 Updated ts files 2021-08-26 14:50:54 +02:00
Yorik van Havre
3d8e471599 Tools: Removed Plot from translation scripts 2021-08-26 14:50:36 +02:00
Chris Hennes
f194ca7425 [GUI] Refactor tooltip code to rebuild shortcut
When the shortcut/accelerator key is changed, the tooltip should be
recalculated using the same code that calculated the original. Also
ensure this happens when the accelerator preferences are loaded.

Fixes #4664.
2021-08-25 14:24:17 -05:00
luz paz
48c8d652a1 Plot: Rename README to README.md + refinements 2021-08-25 06:41:09 +02:00
Yorik van Havre
f76abee290 Merge pull request #4872 from berberic2/PD_pad_ui_change
PartDesign: Hide the custom direction fields in Pad if no custom direction is used
2021-08-23 14:28:03 +02:00
Yorik van Havre
19916d789e Merge pull request #4971 from sanguinariojoe/plot_module
[Plot] Remove the workbench, leave the module
2021-08-23 13:34:22 +02:00
Yorik van Havre
b2aec4487c Merge pull request #2625 from luzpaz/AddonManager-readWarning
AddonManager: Consolidate preference in user.cfg from Plugins to  Addons
2021-08-23 13:03:56 +02:00
wmayer
5dbf7e93d7 Gui: fix -Winconsistent-missing-override, TD: fix -Wunused-parameter 2021-08-21 12:15:43 +02:00
luz paz
7417d9ec48 AddonManager: Consolidate preference in user.cfg from Plugins to Addons
Currently when a user first uses the Addon Manager a dialog popup
prompts them about how FC is not liable for the code plugin authors
provide. It stores the binary response in a `readWarning` boolean
within the user.cfg file.

This commit changes the location of said boolean from
`User parameter:Plugins` to `User parameter:Addons`.

It also migrates old the old setting if available.

Co-authored-by: Benjamin Nauck <benjamin@nauck.se>
Add suggestions from @chennes

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2021-08-20 10:59:23 -04:00
Oliver Oxtoby
e7fcc25e87 Prevent matplotlib selecting the PyQt API instead of PySide2 2021-08-20 13:22:13 +02:00
Yorik van Havre
a6442413e4 Merge pull request #4978 from carlopav/Gui_AddTooltipNames
Gui: Improved tooltips
2021-08-19 13:13:39 +02:00
Yorik van Havre
cf64d56ca5 Merge pull request #4983 from chennes/lgtmAddMissingInits
[Arch] Add missing inits
2021-08-19 12:40:10 +02:00
Yorik van Havre
052077f6ce Merge pull request #4979 from Kawashima-Azumi/no-filename-encode
Start: Correct hash for thumbnail filename
2021-08-19 12:39:35 +02:00
Yorik van Havre
1f4d65e682 Merge pull request #4980 from 0penBrain/coredump
[Core] exit() can prevent core dumping, use abort() instead on debug mode
2021-08-19 12:38:06 +02:00
carlopav
072fc9f0fe Gui: Improved tooltips
Improved tooltips showing:
- the command name as an <h3> title,
- the tooltip text,
- the (What's this).

the title is build from translated getMenuText() and can contain a "&" character. This commit search and remove the "&" characters. It should be better not to use the "&" character in the command name, but if it is necessary it has to be done with "&&".

ref forum discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=58747
.
2021-08-19 10:24:00 +02:00
Bernd Hahnebach
79fe953c60 FEM: pep8 code formating 2021-08-18 21:21:33 +02:00
Bernd Hahnebach
6d10f9960f FEM: task panels, improve units value handling 2021-08-18 21:21:33 +02:00
0penBrain
1061773d56 [Core] exit() can prevent core dumping, use abort() instead on debug mode 2021-08-18 18:12:31 +02:00
Ajinkya Dahale
0a91d2e731 [FEM] Change reference files to avoid failed tests
Fixes two errors introduced in/due to 7621382272ae712ebf4493d996d1a1a918e95df7.

First one is a typo. The writer used "translations" where the reference file for
the test used "translation". Went with "translation" since that was mentioned in
the comment just above.

Second one is some missed out new lines in the reference file
`.../constraint_transform_beam_hinged.inp`. These lines were added in
`.../frequency_beamsimple.inp` but not here.
2021-08-18 17:19:24 +02:00
川島和津実
0f9cb4caab Start: Correct hash for thumbnail filename (py3)
Image file names need to be quoted before hashing to generate thumbnail file names. This is related to pull requests #4931 and #4972, so please refer to discussions therein. Only Python3 is supported, not Python2.
2021-08-18 22:27:39 +08:00
川島和津実
7b32264b63 Start: Correct hash for thumbnail filename
Image file names need to be quoted before hashing to generate thumbnail file names.
This is related to pull requests #4931 and #4972, so please refer to discussions therein.
2021-08-18 22:15:18 +08:00
Yorik van Havre
88744fcf52 AddonManager: Handles git module with no Repo attribute - Fixes #4072 2021-08-18 11:32:19 +02:00
Yorik van Havre
5ff2d7e981 Merge pull request #4963 from Helios113/stiffness
Base: Adding stiffness units
2021-08-18 10:04:46 +02:00
Chris Hennes
6f185eb14f Revert "Start: Properly hash thumbnail filenames" 2021-08-17 14:28:47 -05:00
Chris Hennes
e434970220 [Arch] Silence LGTM missing init warnings 2021-08-17 12:34:28 -05:00
Chris Hennes
f0a7213df7 [Tools] Silence LGTM warning about missing init 2021-08-17 12:25:12 -05:00
Jose Luis Cercos-Pita
cb299c7088 Converted the Plot workbench into a module 2021-08-17 19:01:03 +02:00
Yorik van Havre
3aa69b187e Merge pull request #4928 from Zolko-123/master
modified ViewProviderPart to show different icon for Assembly-Type
2021-08-17 18:50:34 +02:00
Yorik van Havre
e07142b13d Merge pull request #4931 from Kawashima-Azumi/no-filename-encode
Start: Properly hash thumbnail filenames
2021-08-17 18:45:27 +02:00
Yorik van Havre
ce76cddaaf Merge pull request #4970 from chennes/openscadUnitTestBBoxFix
[OpenSCAD] Fix OpenSCAD bounding box calculations
2021-08-17 18:44:18 +02:00
Yorik van Havre
703c6f59f5 Merge pull request #4932 from 0penBrain/windowClosed
[Gui] Send 'mainWindowClosed' signal before window settings are saved
2021-08-17 18:43:13 +02:00
Jose Luis Cercos-Pita
c80258e09e Upgrade plot module to Qt5 2021-08-17 18:17:05 +02:00
Chris Hennes
274544d868 [OpenSCAD] Fix OpenSCAD bounding box calculations
When not using the GUI, bounding box calculations can sometimes use the
B-spline represenation in OCCT, which can in some cases give incorrect
results. To correct for this, explicit calls to tessellate() are added
to ensure that the bounding box calculation uses the true shape, even if
the GUI is not running.

Fixes #4622 - OpenSCAD/OpenSCADTest/app/test_importCSG.py assertion failure
2021-08-17 11:09:55 -05:00