Commit Graph

18458 Commits

Author SHA1 Message Date
Abdullah Tahiri
931757e1e6 Sketcher: ViewProvider - Show malformed constraints in solver messages 2021-01-06 13:54:00 +01:00
Abdullah Tahiri
e0bd53bcdf Sketcher: add command to select malformed constraints 2021-01-06 13:54:00 +01:00
Abdullah Tahiri
64df620407 Sketcher: Retrieve 1-based list of malformed constraints from solver 2021-01-06 13:54:00 +01:00
Abdullah Tahiri
c2dd10b41a 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
005f2a7018 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
4facab0936 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
e05bb7ac73 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
1c14b28815 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
e8ab12bcf9 Start: Added tooltip to preferences button 2021-01-05 16:54:23 +01:00
Yorik van Havre
2cf3a15101 Draft: Added import/export buttons to Annotation styles editor dialog 2021-01-05 16:54:06 +01:00
Yorik van Havre
43289ad685 Arch: Fixed wrong section fill when using archvrm module 2021-01-05 16:52:56 +01:00
wmayer
d7a8cf21aa Path: [skip ci] fix build failure when using boost 1.75 2021-01-05 15:12:46 +01:00
sliptonic
a3ea1033d2 Merge pull request #4213 from mlampert/feature/job-tool-group
[Path]: Feature/job tool group
2021-01-04 14:10:50 -06:00
sliptonic
1cf0848fe1 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
9ee06a098a Fix Qt deprecation warnings. QPrinter::paperSize() and QPrinter::setPaperSize() are obsolete. 2021-01-04 13:40:58 +01:00
wmayer
2b60042821 FEM: fix also typos in inp files to avoid to break unit tests
See also: 5c6b59b6530d
2021-01-04 13:38:43 +01:00
Yorik van Havre
4da2b5b273 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
c7a0eb6724 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
660ccafcbd 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
mlampert
6b7af226c7 Merge branch 'master' into feature/job-tool-group 2021-01-03 18:12:41 -08:00
Bernd Hahnebach
ad0dc79b57 FEM: calculix solver, typos, thanks to UR_ 2021-01-04 00:52:33 +01:00
sliptonic
4945563a52 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
08f9fede94 Merge pull request #4237 from Schildkroet/centroid_post
[PATH] Updated centroid post
2021-01-03 16:41:22 -06:00
sliptonic
6dab2a45bf Merge pull request #4233 from Schildkroet/adaptive_fix
[PATH]: Added missing attribute for adaptive
2021-01-03 16:39:35 -06:00
Patrick F
d956586331 [PATH] Bugfix centroid_post 2021-01-03 17:21:05 +01:00
carlopav
f97e7aec3c 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
5b4e76b834 Fix Qt deprecation warnings. QPrinter::orientation() and QPrinter::setOrientation() are obsolete. 2021-01-03 15:08:10 +01:00
mlampert
113f461725 Merge branch 'master' into bugfix/drilling-op-tool-attributes 2021-01-02 18:02:37 -08:00
Patrick F
26f9742299 Updated centroid post 2021-01-02 21:37:32 +01:00
mlampert
f9f33f740f Merge branch 'master' into feature/job-tool-group 2021-01-02 10:58:47 -08:00
wmayer
a9945500d8 TechDraw: [skip ci] restore TAB order of TaskBalloon dialog 2021-01-02 12:00:01 +01:00
donovaly
12c9aa00cf [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
78492b5bb7 Fix build warnings from deprecated Boost headers (1.74) 2021-01-02 10:43:56 +01:00
Mateusz Skowroński
2bfccf8146 Fix Qt deprecation warnings. QPrinter::paperRect() and QPrinter::pageRect() are obsolete. 2021-01-02 10:39:16 +01:00
marioalexis
739daccd8d Draft: Fix multiple crashes when using modification functions - fixes #0004243 2021-01-02 02:15:43 -03:00
mlampert
6edce5d94e Merge branch 'master' into feature/job-tool-group 2021-01-01 20:56:32 -08:00
Markus Lampert
779275439b Check for CuttingEdgeAngle existance before using it for drill tip calculation. 2021-01-01 20:53:28 -08:00
Patrick F
6a79225066 Added missing attribute 2021-01-02 01:46:28 +01:00
sliptonic
b87f3f4a55 add fix in one more spot 2021-01-01 15:59:16 -06:00
sliptonic
a611eb0bd2 fix bug with path gouging at start of movement 2021-01-01 15:57:04 -06:00
sliptonic
907adc95b3 Merge pull request #4224 from realthunder/FixPathCrash
Path: fix crash on edit
2021-01-01 15:24:26 -06:00
Markus Lampert
89b63f4d53 Fixed unit test for ToolTable rename 2020-12-31 20:43:40 -08:00
Markus Lampert
05c910c536 Renamed ToolTable group to Tools in order to (not) set expectations. 2020-12-31 18:40:23 -08:00
Markus Lampert
18c45c414f Fixed job deletion. 2020-12-31 15:38:18 -08:00
Markus Lampert
2f73055825 Use job.ToolTable.Group instead of job.ToolController. 2020-12-31 15:38:18 -08:00
Markus Lampert
8cf51ab5a7 Added ToolTable to job and convert old ToolController property on the fly. 2020-12-31 15:38:18 -08:00
sliptonic
4c1ae19069 Merge pull request #4214 from mlampert/bugfix/dangling-signal-registration
[Path]: bugfix/dangling signal handler error
2020-12-31 14:14:44 -06:00
Russell Johnson
949e6154b9 Path: Fix isinstance() item.Proxy error
Some items in `objectList` do not contain a `Proxy` child and cause a fatal error in post processing with this post module.
2020-12-31 08:50:38 -06:00
Zheng, Lei
ca1f799a7d Path: fix crash on edit
Many Path object forward its editing operation to the job object. It is
possible that some editing option change may lead to removing of the
editing object (e.g. changing stock type) causing crash. It is possible
to just open the task panel without setting any editing object by
returning False in ViewProvider.setEdit()
2020-12-31 21:07:56 +08:00
mlampert
4a59255fd9 Merge branch 'master' into bugfix/dangling-signal-registration 2020-12-30 18:32:26 -08:00