Function solveSketchConstraintsDetailed