If you want to remove a rotated 2D sketch from a solid, proceed as follows:
Initial situation: Cuboid created on plane ZX
Use the context menu command New Sketch [New sketch...]... to open the Sketcher and create a circle [Circle] (as well as a rotation axis [Rotation axis] ) that is positioned so that it later rotates and penetrates the 3D body.
In the 3D history [3D History] under Sketch 2, select the context menu command Section [Cut] -> Rotate.... [Rotate...]
Do you want the extrusion to go through the entire body or simply through a certain angle?
Make the appropriate settings in the Rotating body [Rotational solid] window. You can immediately see the expected result in the 3D view.
In the example, the cuboid is to be completely penetrated, i.e. it is rotated in both directions [Both directions] at the required angle [Angle] (here 90°).
-> After confirming with , both objects are cut. A ring-shaped tube is subtracted from the cuboid.
-> Another item (feature) appears in the 3D history [3D History]: Cut extrude 1.
The explanation of the other fields can be found in Section 7.6.2.6.1, “ Extrude... ”.