Commit Graph

25552 Commits

Author SHA1 Message Date
Chris Hennes
080e2ea198 Add code to ensure unique preference pack names. 2021-08-19 12:29:08 -05:00
Chris Hennes
8c875a0098 Merge branch 'master' into addThemeSupport 2021-08-19 09:51:12 -05: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
Yorik van Havre
6982010ae3 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
8cac9061c0 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
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
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
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
Yorik van Havre
785a5023c4 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
b21355685c 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
87ca66b9fc Merge pull request #4950 from realthunder/FixLinkMode
App: fix LinkMode enforcement in Link on restore
2021-08-17 15:03:44 +02:00
0penBrain
9fe6b11d57 [PartDesign] Enable reverse ability for Pocket/UpToFace mode as it makes sense for curved faces 2021-08-17 12:07:02 +02:00
0penBrain
519dc3ac0a [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
781867b9c2 [PartDesign] Restore 'Reversed' ability into Pocket/2dims mode 2021-08-17 12:07:02 +02:00
0penBrain
7459bbb14d [PartDesign] Fix 'Reversed' no more available in Pad 'toFirst/toLast'
While useless 'Midplane' was still visible
 Bug introduced in commit #695abed1, not fixed by commmit #7d9fd5e4
 Also fixing some typos
2021-08-17 12:07:02 +02:00
Dirk Olbrich
8cee8adf5f 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
eec971d87a 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
Yorik van Havre
cc17c23e75 Merge pull request #4900 from sanguinariojoe/del_ship
Ship: Remove Ship module
2021-08-16 17:30:43 +02:00
paul
4c4c9f5e05 Merge branch 'master' into ArchWall_BugFixes_14 2021-08-16 23:26:45 +08:00
Yorik van Havre
7ee5eca590 Merge pull request #4954 from ageeye/FixDefaultShapeVertexColor
Part: Fix default shape vertex color
2021-08-16 16:23:18 +02:00
Yorik van Havre
fc8d786cb7 Merge pull request #4905 from Roy-043/Draft_fix_trimex_wrong_units
Draft: Draft_Trimex: Fix wrong angle units in task panel
2021-08-16 16:22:47 +02:00
Yorik van Havre
cb04363987 Merge pull request #4955 from paullee0/ArchWall_BugFixes_13
[ArchWall]  Fix MakeBlocks to work if Base is Sketch
2021-08-16 14:36:11 +02:00
Yorik van Havre
d1ca1f19aa Merge pull request #4967 from Syres916/patch-30
[Base/Gui] Bugfix Property Item formatting
2021-08-16 14:34:41 +02:00
Yorik van Havre
b8a2844cf9 Merge pull request #4968 from tomate44/patch-1
[Part] BugFix BSplineSurfacePyImp.cpp
2021-08-16 14:28:32 +02:00
Preslav
5030d8bb6d Added stiffness units to FreeCAD [mN/m, N/m, kN/m, MN/m] 2021-08-16 12:27:41 +01:00
Christophe Grellier
67ecfb6a1d Update BSplineSurfacePyImp.cpp
Typo in setVKnot()
2021-08-15 11:16:01 +02:00
Tomas Pavlicek
bb44a4dd0e TechDraw - Edit annotations via double-click 2021-08-15 00:16:57 +02:00
Ajinkya Dahale
78b644e313 [OpenSCAD] Fixes cut color while importing CSG (#4920)
* [OpenSCAD] Fixes cut color while importing CSG

Fixes #4684.
For some reason colors of "base" and "tool" need to be set in order for the cut
to have colors as well, just like fuse and multifuse.
Also tidied up the relevant code portions a little.
Some testing might be needed.

* [OpenSCAD] Color settings for other booleans in importCSG

As per Keith's comments, this change extends recursive color setting to other
boolean features viz. `Part::Common` and `Part::MultiCommon`. Also possible to
add any other features needing the same treatment.

* Update importCSG.py

Remove unneeded parentheses and fix its/it's mixup

Co-authored-by: Kurt Kremitzki <kkremitzki@users.noreply.github.com>
2021-08-14 15:04:02 -05:00
sliptonic
0eecacd795 Merge pull request #4797 from Russ4262/feature/tile_job
[Path] GUI scripting support and other improvements
2021-08-14 09:26:25 -05:00
sliptonic
b7f6254ee2 Merge pull request #4815 from Russ4262/fix/GUI_issues
[Path] Fix GUI issues and minor code cleanup
2021-08-14 09:20:03 -05:00
Russell Johnson
f793e6a0d0 Path: Downgrade module's debug level to INFO 2021-08-13 19:02:40 -05:00
Russell Johnson
a69c72f540 Path: Auto-load the user-selected job for the simulator
Add code to auto-load the user-selected job in the simulator so manual selection is not necessary with multi-job documents.
2021-08-13 19:02:40 -05:00
Russell Johnson
92441bd594 Path: Changes to allow for Adaptive op defaults at job level
Add `SetupProperties()` function to Adaptive module.
Connect `SetupProperties()` function to GUI command resources.
Add string assignment for `App::PropertyPythonObject` property prototype
2021-08-13 19:02:40 -05:00