Trim by a cylindrical shape:
The trimming plane is function of the main axis of the trimmed/extended shape.
It will be normal to the main axis of the trimmed/extended shape.
In red you see the main axis and in grey the trimming planes.