Draft: fix make_sketch hang

Fixes #19978

The onebyone argument of makeMissingPointOnPointCoincident and makeMissingVerticalHorizontal should be set to False.
This commit is contained in:
Roy-043
2025-03-04 10:12:44 +01:00
parent a027a2e6d5
commit db3b0640f8

View File

@@ -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