Download examples
You can download the examples in your chosen format using the buttons on the right.
Steel RHS-Profile¶
This notebook demonstrates how to create and visualize RHS (Rectangular Hollow Section) steel profile shapes using the Blueprints library. The Blueprints library provides predefined standard profiles as well as the ability to define custom profiles.
We will:
- Import required libraries and modules
- Create, plot and display section properties of both standard and custom RHS profiles
1. Import Required Libraries and Modules¶
First, import the relevant classes from the Blueprints library for RHS profiles.
from blueprints.structural_sections.steel.standard_profiles import RHS
2. Create Standard RHS Profile¶
Instantiate a standard RHS using a predefined RHS300x200x6 profile.
rhs_profile = RHS.RHS300x200x16
3. Specify corrosion (optional)¶
You can specify corrosion allowance for the profile if needed.
rhs_profile = rhs_profile.with_corrosion(corrosion_inside=1, corrosion_outside=2)
4. Plot Standard RHS Profile¶
Generate a plot of the standard RHS profile using the plot() method.
plot = rhs_profile.plot(show=True)
Ignoring fixed x limits to fulfill fixed data aspect with adjustable data limits.
5. Access Standard RHS Profile Properties¶
Retrieve the section properties of the standard RHS profile using the section_properties() method.
properties = rhs_profile.section_properties()
6. Create Custom RHS Profile¶
You can also define a custom RHS profile by specifying its width, height and wall thickness.
from blueprints.structural_sections.steel.profile_definitions import RHSProfile
custom_rhs_profile = RHSProfile(
total_width=300, # mm
total_height=350, # mm
left_wall_thickness=12, # mm
right_wall_thickness=18, # mm
top_wall_thickness=9, # mm
bottom_wall_thickness=7, # mm
top_right_inner_radius=50, # mm (optional)
top_left_inner_radius=5, # mm (optional)
bottom_right_inner_radius=9, # mm (optional)
bottom_left_inner_radius=14, # mm (optional)
top_right_outer_radius=55, # mm (optional)
top_left_outer_radius=13, # mm (optional)
bottom_right_outer_radius=10, # mm (optional)
bottom_left_outer_radius=12, # mm (optional)
)
7. Plot Custom RHS Profile¶
Generate a plot of the custom RHS profile using the plot() method.
plot = custom_rhs_profile.plot(show=True)
Ignoring fixed x limits to fulfill fixed data aspect with adjustable data limits.
8. Access Custom RHS Profile Properties¶
Retrieve the section properties of the custom RHS profile using the section_properties() method.
properties = custom_rhs_profile.section_properties()