Extruded shape with hole missing inside mesh

You can use this method for a non-hollow rod:

Construction of frames with contour/profile