Commit Graph

13156 Commits

Author SHA1 Message Date
wmayer
85270f5cd3 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
Abdullah Tahiri
b9417938c4 Sketcher: Fix Carbon copy leads to unsolvable sketch
====================================================

fixes #3973

https://forum.freecadweb.org/viewtopic.php?p=316251#p316198

This commit disables an old "axis orientation correction mode", which tried to
solve a problem with orientation of the axis. It never worked fine and it should
have never been introduced, as everything it intends to do should be done by
setting the appropriate placement offset.
2019-06-23 15:15:46 +02:00
wmayer
81f37959a7 fix -Winconsistent-missing-override 2019-06-23 10:37:28 +02:00
Abdullah Tahiri
e72b48e0cf ViewProviderAttachExtension: check for attach extension 2019-06-23 01:03:37 +02:00
Abdullah Tahiri
62975d2fcf Part Gui: Update attachment icon on attach extension change 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
511bb070b9 PartDesign Gui: Extend ViewProviderDatum with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
85c37aa6c0 PartDesign Gui: Extend ViewProvider with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
680364b171 Part Gui: New ViewProvider extension for overlaying icons related to Part::AttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
7602d39dda Pixmap: Make bigger attachment icon 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
2ac5707072 PartDesign: Refactor set/remove tip in the new Gui::ViewProvider mechanism 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
321e9215d4 PartDesign: Extend Datums ViewProvider to overlay attachment status 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
e632e9feb8 Sketcher: Fix carbon copy construction points
=============================================

fixes #3926

Points made of construction type are special non-constrainable points, such as (current) bspline knots.

This was not intended in Carbon Copy.
2019-06-22 23:15:07 +02:00
Abdullah Tahiri
0635822415 Sketcher: Polyline snap arc to 45 degrees bug fix
=================================================

fixes #3974

Snapping to 45 degrees during arc creation (hold ctrl during an arc within a polyline), resulted in
reduced precision, because Gui::Command::doCommand %f defaults only to six decimal positions, which is
a poor representation in radians of, for example, 90 degrees.

A work-around could have been to hardcode a higher number of decimals, as in %0.Xf. However, I do not like
such magic numbers.

The solution chosen is to use an App.Quantity object using as units degrees, which leads to no loss of precision.
2019-06-22 17:22:40 +02:00
Abdullah Tahiri
3810381d92 Sketcher: fixes no horizontal/vertical on segment after horizontal/vertical alignment
=====================================================================================

Selecting first the horizontal/vertical constraint and applying to a line segment with
a previous horizontal/vertical alignment constraint caused FreeCAD to refuse applying it.

fixes #4013
2019-06-22 09:58:42 +02:00
Abdullah Tahiri
f22d1393c7 Sketcher: Toolbar - add toggle deactivated state command 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
2822381d44 Sketcher: ViewProvider representation of deactivated constraints 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
8b5ee49db8 Sketcher: Settings - Deactivated constraints color selection 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
70081d739b Sketcher: Constraints' widget deactivated constraints commands and representation 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
4de857a471 Sketcher: GUI command to activate/deactivate constraints 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
7e3fd1a343 Sketcher: Update icon resources 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
76097838db Sketcher: Art - Toggle Active Constraint icon 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
f45d0e54c0 Sketcher: Python interface to SketchObject constraint state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
e06e03dccb Sketcher: Extend SketchObject to handle constraint state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
20a83b82f6 Sketcher: Solver interface of activated state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
7fad315613 Sketcher: Python interface to contraints' activated state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
7cd3dd7dc4 Sketcher: Extend Constraints to have an activated boolean state 2019-06-22 08:26:31 +02:00
Zheng, Lei
4a0be9d3ba BrowserView: fix QWebEngine crash 2019-06-21 16:23:55 +02:00
wmayer
0b8baab4c7 PartDesign: Extend context menu when right-clicking on 3d view in PD workbench 2019-06-21 13:02:56 +02:00
luz.paz
d7b6d4dba9 [AddonManager] Keep AddonManager.qrc alphabetized
For more convenient readability of the file in order to look for specific items.
2019-06-20 18:48:51 +02:00
luz.paz
4035abc3c8 [Crowdin] Fix typo in TechDraw/Gui/CommandAnnotate.cpp
https://crowdin.com/translate/freecad/all/en-en#6576658
2019-06-20 18:42:09 +02:00
luz.paz
ee09850c46 [Crowdin] Fix typo in Draft/Resources/ui/preferences-draft.ui
https://crowdin.com/translate/freecad/all/en-en#6576194
2019-06-20 18:42:09 +02:00
luz.paz
3fe94ea7cf [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
sliptonic
12ae0b35cb Merge pull request #2276 from Russ4262/profile_faces_fix
[Path] fix ProfileFaces limited depth;  fix to remove phantom paths;  proxy improvements
2019-06-20 07:58:59 -05:00
wmayer
1031644fab improve doc string of Part.sortEdges 2019-06-20 14:41:50 +02:00
Russell Johnson
332bfb5052 Fixes bug #4008: removes phantom path cause
Job object was base of transformations, rather than Job base(clone).
2019-06-20 00:02:14 -05:00
Russell Johnson
97f42a6193 Fix functionality of manual override of Final Depth
manual Final Depth settings were limited to values greater than the base face for the Op. Manual settings of Final Depth may now proceed below the face (Outside profile ops)
2019-06-20 00:02:14 -05:00
Russell Johnson
2e0861babc proxy to obj.Proxy partial conversion 2019-06-20 00:02:13 -05:00
sliptonic
dfccd6870e Merge pull request #2271 from sliptonic/master
Path:  fix proxy error
2019-06-19 19:46:08 -05:00
luz.paz
75b52c85b0 [Material] Respect unicode filenames
Fixes #4027
2019-06-19 22:16:13 +02:00
Bernd Hahnebach
798a910265 FEM: icons, fix clipping of reinforced material icon 2019-06-19 22:02:54 +02:00
sliptonic
fbb138653a Path: fix proxy error 2019-06-19 10:21:17 -05:00
Bernd Hahnebach
2ed1f19b42 IDF: code formating, replace tabs with spaces 2019-06-18 22:39:54 +02:00
Yorik van Havre
236f890864 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
Yorik van Havre
32b30bbd74 AddonManager: Fixes for translation 2019-06-17 20:06:32 -03:00
Yorik van Havre
d890b4ec17 Updated master ts files 2019-06-17 17:28:12 -03:00
Yorik van Havre
33ce0f3f23 AddonManager: cosmetic fixes + prevision formacro icons 2019-06-17 17:17:46 -03:00
Yorik van Havre
d99a1e3fb8 AddonManager: Added BIMBots icon 2019-06-17 16:58:23 -03:00
luz.paz
faca7f7dc8 [AddonManager] Add YAML Workspace logo 2019-06-17 16:53:28 -03:00
Hakan Seven
0dca7b31f4 [Draft] Wavy Object Fix for Point 2019-06-17 16:52:45 -03:00
luz.paz
1233817808 [Crowdin] [Arch] Resources/ui/preferences-ifc.ui typo fix
Reported in https://crowdin.com/translate/freecad/6766/en-hu#6574208:drl:39616:ONESZ
2019-06-17 16:51:23 -03:00