Brook Lopez was coming off the best season of his career and getting ready to head out of town for the summer when he got a disappointing piece of news from Nets athletic trainer Tim Walsh.

For the third time in less than two years he needed surgery on his right foot this time to replace a screw inserted in an earlier procedure that had bent.

“I think I was more disappointed than anything” Lopez told The Post yesterday. “I wasn’t concerned. I was disappointed but it was best to do it when we did it in the week after the season to give myself the most time to get back in shape and to get ready for the season.”

Lopez was the Nets’ best and most consistent player last season averaging 19.4 points to lead all NBA centers and making his first All-Star team. After having the surgery in May the 7-footer recently was able to shed his walking boot and resume workouts. He said he’s on track to be ready by the time the Nets reconvene for training camp in late September.

“I feel great” Lopez said. “I have been getting in some weight lifting getting shots up and everything is going well.

“I’m not fully working out. I’m not jumping or running or anything like that but we have a good month-and-a-half just until training camp starts so we’ll definitely be all right by then.”

Being in a walking boot for the past couple of months did not deter Lopez from a busy travel schedule. After going on a cruise with his family around Europe he headed to Africa this month on a trip organized by the Clinton Foundation. He visited Malawi Zambia Tanzania and Rwanda and spent time with former President Clinton. Lopez an avid traveler said he had never been to Africa but had always hoped to go.