From c4405f83562f2a3807a82fc16307be0f1b02c077 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Fri, 13 Jan 2017 18:00:15 -0600 Subject: [PATCH 1/2] Path: fix missing field in profile edges --- .../Gui/Resources/panels/ProfileEdgesEdit.ui | 179 +++++++++++++----- 1 file changed, 132 insertions(+), 47 deletions(-) diff --git a/src/Mod/Path/Gui/Resources/panels/ProfileEdgesEdit.ui b/src/Mod/Path/Gui/Resources/panels/ProfileEdgesEdit.ui index 9b96b1ba2231..1ab552244bfb 100644 --- a/src/Mod/Path/Gui/Resources/panels/ProfileEdgesEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/ProfileEdgesEdit.ui @@ -23,7 +23,7 @@ - 0 + 4 @@ -34,7 +34,7 @@ 0 0 334 - 348 + 320 @@ -111,8 +111,8 @@ 0 0 - 334 - 348 + 120 + 96 @@ -181,8 +181,8 @@ 0 0 - 334 - 348 + 154 + 68 @@ -226,13 +226,71 @@ + + + + 0 + 0 + 194 + 140 + + + + Holding + + + + + + Add New + + + + + + + Delete + + + + + + + + Tag + + + + + Location + + + + + Height + + + + + Length + + + + + Angle + + + + + + 0 0 334 - 348 + 320 @@ -246,6 +304,73 @@ QFormLayout::AllNonFixedFieldsGrow + + + + + + + Use Start Point + + + + + + + Use Compensation + + + + + + + Use End Point + + + + + + + + + + + + + 0.000000000000000 + + + mm + + + + + + + Roll Radius + + + + + + + 0.000000000000000 + + + mm + + + + + + + Extra Offset + + + + + + @@ -302,46 +427,6 @@ - - - - - - - Use Start Point - - - - - - - Use Compensation - - - - - - - Use End Point - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - From ed373673e8ec7857276f0edc7a0e149c64d06cd6 Mon Sep 17 00:00:00 2001 From: sliptonic Date: Fri, 13 Jan 2017 18:54:16 -0600 Subject: [PATCH 2/2] Path: Make contour default final depth to part bottom instead of 0 --- src/Mod/Path/PathScripts/PathContour.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mod/Path/PathScripts/PathContour.py b/src/Mod/Path/PathScripts/PathContour.py index 9e954cde0333..ed8a00164949 100644 --- a/src/Mod/Path/PathScripts/PathContour.py +++ b/src/Mod/Path/PathScripts/PathContour.py @@ -127,6 +127,7 @@ def setDepths(proxy, obj): obj.StartDepth = bb.ZMax obj.ClearanceHeight = bb.ZMax + 5.0 obj.SafeHeight = bb.ZMax + 3.0 + obj.FinalDepth = bb.ZMin except: obj.StartDepth = 5.0