Commit Graph

23628 Commits

Author SHA1 Message Date
Abdullah Tahiri
dbb08f0bfe Sketcher : Correct XPM icon
===========================

Added yellowish inside for better visualisation
2021-01-06 13:54:00 +01:00
Abdullah Tahiri
a388a0d980 Sketcher: ViewProvider - Show malformed constraints in solver messages 2021-01-06 13:54:00 +01:00
Abdullah Tahiri
3d5ab8a67e Sketcher: add command to select malformed constraints 2021-01-06 13:54:00 +01:00
Abdullah Tahiri
2bd2041bfe Sketcher: Retrieve 1-based list of malformed constraints from solver 2021-01-06 13:54:00 +01:00
Abdullah Tahiri
150e50c700 Sketcher: Treat malformed solver constraints as an error during recompute
=========================================================================

Sometimes it happens that malformed constraints are arrived to.

Example:
https://forum.freecadweb.org/viewtopic.php?f=3&t=53780#p463271

It is not the first time. They usually go under the radar and when they are
detected is too late to know what caused them. The user is desperate too.

This commit makes malformed constraints to prevent the recompute of the project.

This is in the best interest of the user.
2021-01-06 13:54:00 +01:00
Abdullah Tahiri
83d039101c Sketcher: VP show overlay icon fully constrained status
=======================================================

ViewProviderSketch relies on new property SketchObject::FullyConstraint to show status via overlay icon
2021-01-06 13:54:00 +01:00
Abdullah Tahiri
87c9f83bd6 Gui: Colorful/Greyable overlay status in icons
===============================================

Before this implementation, specific status via former mergeOverlayIcon() was greyed out
with the visibility.

With this commit, the developer has two options:

a) override mergeGreyableOverlayIcons, in which case the overlay will
be greyed out when the item is greyed out as per former mergeOverlayIcon()

b) override mergeColorfulOverlayIcons, in which case the overlay will
be superimposed after the icon is greyed out as it is the case for stardard
error and recompute flags.
2021-01-06 13:54:00 +01:00
Abdullah Tahiri
035bea5082 Sketcher: Add FullyConstrained read-only output property
========================================================

This property stores whether a Sketch has 0 DoF or not upon solve.

It is serialised to disk, enabling a recently loaded project to have an accurate
populated property even before the first solve() call.
2021-01-06 13:54:00 +01:00
Abdullah Tahiri
f9143750ab Sketcher: Show attachment overlay icon information
==================================================

ViewProviderSketch now derives from the ViewProviderAttachExtension and gets the overlay icon when not attached.

ViewProvider2DObject does not implement a ViewProviderAttachExtension although Part2DObject (on which SketchObject derives)
does derive from AttachExtension. It is understood that this is because this functionality is unwanted for other
ViewProviders.
2021-01-06 13:54:00 +01:00
Yorik van Havre
55219f85d4 Start: Added tooltip to preferences button 2021-01-05 16:54:23 +01:00
Yorik van Havre
eb549a99d3 Draft: Added import/export buttons to Annotation styles editor dialog 2021-01-05 16:54:06 +01:00
Yorik van Havre
d7692e359e Arch: Fixed wrong section fill when using archvrm module 2021-01-05 16:52:56 +01:00
bitacovir
58cf466b39 Add SVG icons for eight Std View commands 2021-01-05 16:14:57 +01:00
wmayer
bb1e4ed7c4 Path: [skip ci] fix build failure when using boost 1.75 2021-01-05 15:12:46 +01:00
wmayer
2a0b688114 cmake_ [skip ci] print major, minor and build number of boost 2021-01-05 15:11:53 +01:00
sliptonic
d5092d78f0 Merge pull request #4213 from mlampert/feature/job-tool-group
[Path]: Feature/job tool group
2021-01-04 14:10:50 -06:00
sliptonic
deaee2292e Merge pull request #4226 from sliptonic/bug/adaptiveclip
[Path] fix bug with adaptive path gouging at start of movement
2021-01-04 09:53:27 -06:00
Mateusz Skowroński
294a2ebc9d Fix Qt deprecation warnings. QPrinter::paperSize() and QPrinter::setPaperSize() are obsolete. 2021-01-04 13:40:58 +01:00
wmayer
65b4271d53 FEM: fix also typos in inp files to avoid to break unit tests
See also: 22ed94e118
2021-01-04 13:38:43 +01:00
Yorik van Havre
9324b0aa56 Merge pull request #4216 from marioalexis84/draft-draftify
Draft: Replace Part.getSortedClusters by Part.sortEdges in draftify function
2021-01-04 12:33:55 +01:00
Yorik van Havre
5fca0232d7 Merge pull request #4236 from bitacovir/New_Std_View_Icons1
Add SVG icons of eight Std View menu commands
2021-01-04 12:31:46 +01:00
Yorik van Havre
f1b644d176 Merge pull request #4235 from marioalexis84/draft-facebinder
Draft: Fix multiple crashes when using modification functions - fixes #0004243, #0003971
2021-01-04 12:30:56 +01:00
Yorik van Havre
914e10c627 Merge pull request #4239 from carlopav/fix_draft_move_with_copy
Draft: change in default Draft.makeCopy
2021-01-04 12:18:54 +01:00
Yorik van Havre
5803784377 Merge pull request #4242 from realthunder/HelpDonate
Gui: add 'Donate' to Help menu
2021-01-04 12:05:16 +01:00
Zheng, Lei
3ea1486071 Gui: fix external edit reset crash
By making sure to signal from the owner document of the editing object.
The owner document of the editing object may be different from the
editing document in case of editing external linked object.
2021-01-04 12:01:00 +01:00
Zheng, Lei
d45122f45f Gui: add 'Donate' to Help menu 2021-01-04 10:43:37 +08:00
mlampert
254505e83c Merge branch 'master' into feature/job-tool-group 2021-01-03 18:12:41 -08:00
Bernd Hahnebach
22ed94e118 FEM: calculix solver, typos, thanks to UR_ 2021-01-04 00:52:33 +01:00
sliptonic
19ea3d28f5 Merge pull request #4234 from mlampert/bugfix/drilling-op-tool-attributes
[Path]: Check for CuttingEdgeAngle existance before using it for drill tip calculation
2021-01-03 16:42:04 -06:00
sliptonic
2b6f3ba84c Merge pull request #4237 from Schildkroet/centroid_post
[PATH] Updated centroid post
2021-01-03 16:41:22 -06:00
sliptonic
b9867ab7ec Merge pull request #4233 from Schildkroet/adaptive_fix
[PATH]: Added missing attribute for adaptive
2021-01-03 16:39:35 -06:00
Patrick F
eae5d56cf9 [PATH] Bugfix centroid_post 2021-01-03 17:21:05 +01:00
carlopav
79aa9ed0c4 Draft: change in default Draft.makeCopy
always copy with dependencies when copying App::Part and PartDesign::Body
.
2021-01-03 15:10:29 +01:00
Mateusz Skowroński
712f6c1251 Fix Qt deprecation warnings. QPrinter::orientation() and QPrinter::setOrientation() are obsolete. 2021-01-03 15:08:10 +01:00
mlampert
9e846c66f7 Merge branch 'master' into bugfix/drilling-op-tool-attributes 2021-01-02 18:02:37 -08:00
Patrick F
ae761583a6 Updated centroid post 2021-01-02 21:37:32 +01:00
mlampert
c61b7ee636 Merge branch 'master' into feature/job-tool-group 2021-01-02 10:58:47 -08:00
bitacovir
7587658ae3 Add SVG icons of eight Std View menu commands 2021-01-02 11:55:58 -03:00
wmayer
50c3cbf005 TechDraw: [skip ci] restore TAB order of TaskBalloon dialog 2021-01-02 12:00:01 +01:00
donovaly
a9da6194a5 [TD] update balloon dialog
2 weeks ago the properties EndTypeScale and LineVisible were added but not to the dialog.

This PR adds them t the balloon dialog-

It also took the opportunity to cleanup the code:
- add missing tooltips
- uniform tooltips in App and Gui
- uniform the UI element names
2021-01-02 11:49:20 +01:00
Mateusz Skowroński
ea6e8e9906 Fix build warnings from deprecated Boost headers (1.74) 2021-01-02 10:43:56 +01:00
Mateusz Skowroński
e6032b7d53 Fix Qt deprecation warnings. QPrinter::paperRect() and QPrinter::pageRect() are obsolete. 2021-01-02 10:39:16 +01:00
marioalexis
4d9e29418a Draft: Fix multiple crashes when using modification functions - fixes #0004243 2021-01-02 02:15:43 -03:00
mlampert
2eb9d7a070 Merge branch 'master' into feature/job-tool-group 2021-01-01 20:56:32 -08:00
Markus Lampert
c077672add Check for CuttingEdgeAngle existance before using it for drill tip calculation. 2021-01-01 20:53:28 -08:00
Patrick F
36526d7080 Added missing attribute 2021-01-02 01:46:28 +01:00
sliptonic
08b988b691 add fix in one more spot 2021-01-01 15:59:16 -06:00
sliptonic
0db316ab0c fix bug with path gouging at start of movement 2021-01-01 15:57:04 -06:00
sliptonic
01072f3709 Merge pull request #4224 from realthunder/FixPathCrash
Path: fix crash on edit
2021-01-01 15:24:26 -06:00
Markus Lampert
83b431d0b7 Fixed unit test for ToolTable rename 2020-12-31 20:43:40 -08:00