Commit Graph

25558 Commits

Author SHA1 Message Date
Yorik van Havre
f7f8d200bc Arch: Better icon for arch references 2021-08-26 14:55:18 +02:00
Yorik van Havre
a09ec0b403 Draft: Use BuildingParts as group in Draft SVG projections 2021-08-26 14:54:33 +02:00
Yorik van Havre
49abe81271 Merged crowdin translations 2021-08-26 14:51:36 +02:00
Yorik van Havre
a8cb3ef1e3 Updated ts files 2021-08-26 14:50:54 +02:00
Yorik van Havre
e359c01cc9 Tools: Removed Plot from translation scripts 2021-08-26 14:50:36 +02:00
luz paz
08736cb4ce Plot: Rename README to README.md + refinements 2021-08-25 06:41:09 +02:00
Yorik van Havre
d0de6284f9 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
103262d131 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
dcaab146c1 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
378dec720c Gui: fix -Winconsistent-missing-override, TD: fix -Wunused-parameter 2021-08-21 12:15:43 +02:00
luz paz
2845078459 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
Jose Luis Cercós Pita
9a97bf16cf Merge pull request #1 from oliveroxtoby/matplotlib_import_issue
Prevent matplotlib selecting the PyQt API instead of PySide2
2021-08-20 14:45:36 +02:00
Oliver Oxtoby
b7867e2be1 Prevent matplotlib selecting the PyQt API instead of PySide2 2021-08-20 13:22:13 +02:00
Yorik van Havre
ca043dcb6d Merge pull request #4978 from carlopav/Gui_AddTooltipNames
Gui: Improved tooltips
2021-08-19 13:13:39 +02:00
Yorik van Havre
ba776825c7 Merge pull request #4983 from chennes/lgtmAddMissingInits
[Arch] Add missing inits
2021-08-19 12:40:10 +02:00
Yorik van Havre
fdaf780452 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
b6c88080ba 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
b5a5a6cd70 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
bf3d86e8b0 FEM: pep8 code formating 2021-08-18 21:21:33 +02:00
Bernd Hahnebach
40d29fe329 FEM: task panels, improve units value handling 2021-08-18 21:21:33 +02:00
0penBrain
f976699bdf [Core] exit() can prevent core dumping, use abort() instead on debug mode 2021-08-18 18:12:31 +02:00
Ajinkya Dahale
6c977d8511 [FEM] Change reference files to avoid failed tests
Fixes two errors introduced in/due to c6697bbc78.

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
川島和津実
a95e9549a6 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
川島和津実
3b6c442187 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
380d214e74 AddonManager: Handles git module with no Repo attribute - Fixes #4072 2021-08-18 11:32:19 +02:00
Yorik van Havre
cbdac756a8 Merge pull request #4963 from Helios113/stiffness
Base: Adding stiffness units
2021-08-18 10:04:46 +02:00
Yorik van Havre
d2d113a7a1 Merge pull request #4892 from PrzemoF/copr_fix_v37
[skip ci] fedora spec: Add %{?dist} to Release
2021-08-18 09:53:52 +02:00
Yorik van Havre
ea9a4ef93f Merge pull request #4972 from chennes/revert-4931-no-filename-encode
Revert "Start: Properly hash thumbnail filenames"
2021-08-17 21:43:04 +02:00
Chris Hennes
1d74880ac2 Revert "Start: Properly hash thumbnail filenames" 2021-08-17 14:28:47 -05:00
Chris Hennes
95770e521a [Arch] Silence LGTM missing init warnings 2021-08-17 12:34:28 -05:00
Chris Hennes
1b12226bd4 [Tools] Silence LGTM warning about missing init 2021-08-17 12:25:12 -05:00
Jose Luis Cercos-Pita
b2910f1913 Enable plot module by default 2021-08-17 19:01:27 +02:00
Jose Luis Cercos-Pita
b7d06844c9 Converted the Plot workbench into a module 2021-08-17 19:01:03 +02:00
Yorik van Havre
317dd4c031 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
2429043218 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
13ba896ea2 Merge pull request #4970 from chennes/openscadUnitTestBBoxFix
[OpenSCAD] Fix OpenSCAD bounding box calculations
2021-08-17 18:44:18 +02:00
Yorik van Havre
4e7742ad37 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
d34a283329 Upgrade plot module to Qt5 2021-08-17 18:17:05 +02:00
Chris Hennes
a80e67c04c [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
Yorik van Havre
c167955018 Merge pull request #4885 from Roy-043/Draft_Fix_Array_Count_Issues
Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
2021-08-17 15:19:57 +02:00
Yorik van Havre
1925998907 Merge pull request #4958 from paullee0/ArchWall_BugFixes_14
[ArchWall] Fix MakeBlocks to work if Base is Sketch with 1 edge only
2021-08-17 15:17:51 +02:00
Yorik van Havre
82d18aa324 Merge pull request #4950 from realthunder/FixLinkMode
App: fix LinkMode enforcement in Link on restore
2021-08-17 15:03:44 +02:00
0penBrain
586955e31b [PartDesign] Enable reverse ability for Pocket/UpToFace mode as it makes sense for curved faces 2021-08-17 12:07:02 +02:00
0penBrain
b2cf8581e0 [PartDesign] Add reverse ability for Pad/UpToFace mode as it makes sense for curved faces
And does not hurt/break in case face is reachable in only one direction
2021-08-17 12:07:02 +02:00
0penBrain
39ca142d5f [PartDesign] Restore 'Reversed' ability into Pocket/2dims mode 2021-08-17 12:07:02 +02:00
0penBrain
c561b5ac1f [PartDesign] Fix 'Reversed' no more available in Pad 'toFirst/toLast'
While useless 'Midplane' was still visible
 Bug introduced in commit #cf11f388, not fixed by commmit #b4b1cbed
 Also fixing some typos
2021-08-17 12:07:02 +02:00
Dirk Olbrich
089d5abb6f Fixes Xercesc include, harmonize XercesC_INCLUDE_DIRS statement (#4960)
* fix: typo for XERCESC_INCLUDE_DIRS

* fix: harmonize XercesC_INCLUDE_DIRS capitalization
2021-08-16 22:57:34 -05:00
luzpaz
72411f83ad Draft: Fix LGTM 'test for equality' warning (#4969)
* Draft: Fix LGTM 'test for equality' warning

ref: https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=7900090

* FEM: source comment typo fixes
2021-08-16 22:52:13 -05:00
M G Berberich
82f1f5cc2b PartDesign Pad UI-fix
hide the custom direction fields if no custom direction is used, to
unclutter the UI.
2021-08-16 19:38:05 +02:00
Yorik van Havre
61ac0b4838 Merge pull request #4900 from sanguinariojoe/del_ship
Ship: Remove Ship module
2021-08-16 17:30:43 +02:00