from sectionproperties.pre.library import rectangular_hollow_section

rectangular_hollow_section(d=100, b=50, t=6, r_out=9, n_r=8).plot_geometry()