diff --git a/src/Mod/Draft/DraftGeomUtils.py b/src/Mod/Draft/DraftGeomUtils.py index fb74b7f2c..9969fe679 100755 --- a/src/Mod/Draft/DraftGeomUtils.py +++ b/src/Mod/Draft/DraftGeomUtils.py @@ -1076,6 +1076,8 @@ def isReallyClosed(wire): def getNormal(shape): "finds the normal of a shape, if possible" n = Vector(0,0,1) + if shape.isNull(): + return n if (shape.ShapeType == "Face") and hasattr(shape,"normalAt"): n = shape.copy().normalAt(0.5,0.5) elif shape.ShapeType == "Edge":