From 29c03a43a33d36ab0b5a5dcb18ab6d25998e0d38 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Tue, 4 Mar 2025 10:12:44 +0100 Subject: [PATCH] Draft: fix make_sketch hang Fixes #19978 The onebyone argument of makeMissingPointOnPointCoincident and makeMissingVerticalHorizontal should be set to False. --- src/Mod/Draft/draftmake/make_sketch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/draftmake/make_sketch.py b/src/Mod/Draft/draftmake/make_sketch.py index 72789b9093..27c5f2244b 100644 --- a/src/Mod/Draft/draftmake/make_sketch.py +++ b/src/Mod/Draft/draftmake/make_sketch.py @@ -238,9 +238,9 @@ def make_sketch(objects_list, autoconstraints=False, addTo=None, nobj.addConstraint(constraints) if autoconstraints: nobj.detectMissingPointOnPointConstraints(utils.tolerance()) - nobj.makeMissingPointOnPointCoincident(True) + nobj.makeMissingPointOnPointCoincident(False) nobj.detectMissingVerticalHorizontalConstraints(utils.tolerance()) - nobj.makeMissingVerticalHorizontal(True) + nobj.makeMissingVerticalHorizontal(False) return nobj