[TD]fix #9471 - prevent impossible centerline

This commit is contained in:
wandererfan
2023-05-06 19:50:05 -04:00
committed by WandererFan
parent c868940cf1
commit 4ccb566b7d
5 changed files with 103 additions and 57 deletions

View File

@@ -283,6 +283,7 @@ std::vector<Base::Vector3d> BaseGeom::findEndPoints()
} else {
//TODO: this should throw something
Base::Console().Message("Geometry::findEndPoints - OCC edge not found\n");
throw Base::RuntimeError("no OCC edge in Geometry::findEndPoints");
}
return result;
}