3D Piping - Optimize number of pipe bends using swivel fitting

UseCase1

Scenario

We want to optimize End fitting orientation to reduce the number of pipe bend

in the following exemple to go from one fitting to the other we have routed a pipe with2 bends . now we want to compute the pipe path between the 2 fittings but with a single bend and for this we are allowed to rotate the angle fitting 

Video