Remove temporary constraints if the solver failed and then recalculate set of constraints once again.
try {
if (!isGroupEmpty)
aResult = mySketchSolver->solve();
+ if (aResult == PlaneGCSSolver_Solver::STATUS_FAILED &&
+ !myTempConstraints.empty()) {
+ removeTemporaryConstraints();
+ aResult = mySketchSolver->solve();
+ }
} catch (...) {
getWorkplane()->string(SketchPlugin_Sketch::SOLVER_ERROR())
->setValue(SketchSolver_Error::SOLVESPACE_CRASH());