Commit Graph

17118 Commits

Author SHA1 Message Date
Abdullah Tahiri
18a5ff2bf5 Part Gui: Update attachment icon on attach extension change 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
d2d6a4bde2 PartDesign Gui: Extend ViewProviderDatum with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
3f63b164eb PartDesign Gui: Extend ViewProvider with Part::ViewProviderAttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
dd841c9810 Part Gui: New ViewProvider extension for overlaying icons related to Part::AttachExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
489f48a223 Gui::Add mergeoverlay function to ViewProviderExtension 2019-06-23 01:03:36 +02:00
Abdullah Tahiri
561475a780 Gui: BitmapFactory new static function to make icon overlays with pixmaps 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
9d805452f9 Pixmap: Make bigger attachment icon 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
813e9040ac PartDesign: Refactor set/remove tip in the new Gui::ViewProvider mechanism 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
d28ef3bd54 PartDesign: Extend Datums ViewProvider to overlay attachment status 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
79b54c3494 Gui: Extend ViewProvider to enable merging of overlays on icon 2019-06-23 01:03:35 +02:00
Abdullah Tahiri
9fd2a2d9ff 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
7d0f8e2fa9 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
wmayer
b62366dbf9 code simplification in PythonWrapper 2019-06-22 14:32:50 +02:00
wmayer
d1e255f8d9 issue #0003984: Creating a Path Job object fails with 'PySide2.QtWidgets.QDialog' object has no attribute 'templateGroup' 2019-06-22 12:32:36 +02:00
Abdullah Tahiri
34402cbe90 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
383885f2b5 Sketcher: Toolbar - add toggle deactivated state command 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
4dd484bd7e Sketcher: ViewProvider representation of deactivated constraints 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
a97bb669a9 Sketcher: Settings - Deactivated constraints color selection 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
3facea7ed0 Sketcher: Constraints' widget deactivated constraints commands and representation 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
a571376584 Sketcher: GUI command to activate/deactivate constraints 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
688641b8db Sketcher: Update icon resources 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
3d137cbf8d Sketcher: Art - Toggle Active Constraint icon 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
0e15d3461f Sketcher: Python interface to SketchObject constraint state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
3a47e27ce4 Sketcher: Extend SketchObject to handle constraint state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
3e72246e9f Sketcher: Solver interface of activated state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
6a1863fe52 Sketcher: Python interface to contraints' activated state 2019-06-22 08:26:31 +02:00
Abdullah Tahiri
0b84325e5f Sketcher: Extend Constraints to have an activated boolean state 2019-06-22 08:26:31 +02:00
Zheng, Lei
5708613672 BrowserView: fix QWebEngine crash 2019-06-21 16:23:55 +02:00
wmayer
b2cd9bdab6 PartDesign: Extend context menu when right-clicking on 3d view in PD workbench 2019-06-21 13:02:56 +02:00
luz.paz
450d46f212 [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
016e352c43 [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
5ae08b34bb [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
c2827611be [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
triplus
46d1095816 Set QMdiArea tabs movable 2019-06-20 17:30:47 +02:00
sliptonic
349536d2d8 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
254bae2ebd For divide-by-zero issues write an error message intead of raising an exception 2019-06-20 14:43:16 +02:00
wmayer
83844e261d improve doc string of Part.sortEdges 2019-06-20 14:41:50 +02:00
Russell Johnson
924a9860dc Merge branch 'profile_faces_fix' of https://github.com/Russ4262/FreeCAD into profile_faces_fix 2019-06-20 00:02:31 -05:00
Russell Johnson
d6df552ff0 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
37336d5701 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
e1d3160c50 proxy to obj.Proxy partial conversion 2019-06-20 00:02:13 -05:00
Russell Johnson
8776f33a01 Fixes bug #4008: removes phantom path cause
Job object was base of transformations, rather than Job base(clone).
2019-06-19 23:35:13 -05:00
sliptonic
79a4122acf Merge pull request #2271 from sliptonic/master
Path:  fix proxy error
2019-06-19 19:46:08 -05:00
luz.paz
13443ca27f [Material] Respect unicode filenames
Fixes #4027
2019-06-19 22:16:13 +02:00
Bernd Hahnebach
ebe3a2925f FEM: icons, fix clipping of reinforced material icon 2019-06-19 22:02:54 +02:00
wmayer
6d1785a5eb Fix crash in case encoding of Python paths fails 2019-06-19 17:31:50 +02:00
sliptonic
2f456424cd Path: fix proxy error 2019-06-19 10:21:17 -05:00
Russell Johnson
e1c4fb567d 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-18 22:38:58 -05:00
Russell Johnson
ee9a5050ee proxy to obj.Proxy partial conversion 2019-06-18 19:59:57 -05:00
Bernd Hahnebach
692505ae96 IDF: code formating, replace tabs with spaces 2019-06-18 22:39:54 +02:00