From b000fe7538da5e5b20ee2af505398a858545e8fa Mon Sep 17 00:00:00 2001 From: tarman3 Date: Tue, 6 Jan 2026 10:11:40 +0200 Subject: [PATCH] CAM: RampEntryDressup - Fix findMinZ() --- src/Mod/CAM/Path/Dressup/Gui/RampEntry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py b/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py index 1ae362dd4c..84d808dab3 100644 --- a/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py +++ b/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py @@ -543,7 +543,7 @@ class ObjectDressup: def findMinZ(self, edges): minZ = 99999999999 for edge in edges: - if edge.end_point[2] < minZ: + if edge.command.Name in Path.Geom.CmdMoveAll and edge.end_point[2] < minZ: minZ = edge.end_point[2] return minZ