The Knicks look to move on from Randle who just doesn't fit the team anymore now that they've traded for Bridges. They bring in Portis who is an elite role player at PF/C and should fit in well with the Knicks culture. This also frees up a bit of the salary cap with the Knicks looking to sign both Hartenstein and OG in Free agency.
The Bucks trade Portis to free up some salary cap and get a bit younger by getting Grimes who can fill a need for some shooting and defence for the Bucks at SG.
The Pistons use some of their free cap space to take on Randle and get some All-Star help for Cade and who fits a need for a skilled PF who can handle the ball a bit.