Merge pull request #19986 from Roy-043/Draft-fix-make_sketch-hang

Draft: fix make_sketch hang
This commit is contained in:
Roy-043
2025-03-05 11:10:28 +00:00
committed by GitHub

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