Download examples
You can download the examples in your chosen format using the buttons on the right.
Steel CHS-Profile¶
This notebook demonstrates how to create and visualize CHS (Circular 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 the required CHS standard profile library
- Create, plot and and display the section properties of an standard CHS profile
- Import the required CHS profile section library
- Create, plot and and display the section properties of custom CHS profile
1. Import Required Libraries and Modules¶
First, import the relevant classes from the Blueprints library CHS profiles.
from blueprints.structural_sections.steel.standard_profiles import CHS
2. Create Standard CHS Profile¶
Instantiate a standard CHS using the pre-defined CHS273x5 profile.
chs_profile = CHS.CHS139_7x10
3. Specify corrosion (optional)¶
You can specify corrosion allowance for the profile if needed.
chs_profile = chs_profile.with_corrosion(corrosion_inside=1, corrosion_outside=2)
4. Plot Standard CHS Profile¶
Generate a plot of the standard CHS profile using the plot() method.
plot = chs_profile.plot(show=True)
Ignoring fixed x limits to fulfill fixed data aspect with adjustable data limits.
5. Access Standard CHS Profile Properties¶
Retrieve the section properties of the standard CHS profile using the section_properties() method.
properties = chs_profile.section_properties()
6. Create Custom CHS Profile¶
You can also define a custom CHS profile by specifying its outer diameter and wall thickness.
from blueprints.structural_sections.steel.profile_definitions import CHSProfile
custom_chs_profile = CHSProfile(
outer_diameter=150,
wall_thickness=10,
)
7. Plot Custom CHS Profile¶
Generate a plot of the custom CHS profile using the plot() method.
plot = custom_chs_profile.plot(show=True)
Ignoring fixed x limits to fulfill fixed data aspect with adjustable data limits.
8. Access Custom CHS Profile Properties¶
Retrieve the section properties of the custom CHS profile using the section_properties() method.
properties = custom_chs_profile.section_properties()