diff --git a/src/Mod/Arch/ArchCommands.py b/src/Mod/Arch/ArchCommands.py index 0171aa38d6..eab57c0fc7 100644 --- a/src/Mod/Arch/ArchCommands.py +++ b/src/Mod/Arch/ArchCommands.py @@ -358,6 +358,8 @@ def getCutVolume(cutplane,shapes): from the given shapes and the given cutting plane""" if not shapes: return None,None,None + if not cutplane.Faces: + return None,None,None import Part if not isinstance(shapes,list): shapes = [shapes]