# Code automatically extracted from steel_chs_profile.ipynb.
from blueprints.structural_sections.steel.standard_profiles import CHS

chs_profile = CHS.CHS139_7x10

chs_profile = chs_profile.with_corrosion(corrosion_inside=1, corrosion_outside=2)

plot = chs_profile.plot(show=True)

properties = chs_profile.section_properties()

from blueprints.structural_sections.steel.profile_definitions import CHSProfile

custom_chs_profile = CHSProfile(
    outer_diameter=150,
    wall_thickness=10,
)

plot = custom_chs_profile.plot(show=True)

properties = custom_chs_profile.section_properties()
