Download examples
You can download the examples in your chosen format using the buttons on the right.
Steel LNP-Profile¶
This notebook demonstrates how to create and visualize LNP 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 the section properties of a standard LNP profile with corrosion
- Create, plot and display the section properties of a custom LNP profile
1. Import Required Libraries and Modules¶
First, import the relevant classes from the Blueprints library for LNP profiles.
from blueprints.structural_sections.steel.standard_profiles import LNP
2. Create Standard LNP Profile with Corrosion¶
Instantiate a standard LNP using a predefined LNP_100x65x9 profile.
lnp_profile = LNP.LNP100x65x9
3. Specify corrosion (optional)¶
You can specify corrosion allowance for the profile if needed.
lnp_profile = lnp_profile.with_corrosion(corrosion=1.0)
4. Plot Standard LNP Profile¶
Generate a plot of the standard LNP profile using the plot() method.
plot = lnp_profile.plot(show=True)
Ignoring fixed x limits to fulfill fixed data aspect with adjustable data limits.
5. Access Standard LNP Profile Properties¶
Retrieve the section properties of the standard LNP profile using the section_properties() method.
properties = lnp_profile.section_properties()
6. Create Custom LNP Profile¶
You can also define a custom LNP profile by specifying its width, height, thickness and radii.
from blueprints.structural_sections.steel.profile_definitions import LNPProfile
custom_lnp_profile = LNPProfile(
total_width=40, # mm
total_height=80, # mm
web_thickness=4.5, # mm
base_thickness=10, # mm
root_radius=11, # mm (optional, can be None)
back_radius=5, # mm (optional, can be None)
web_toe_radius=4, # mm (optional, can be None)
base_toe_radius=4, # mm (optional, can be None)
name="Custom LNP 120x80x4/10",
)
7. Plot Custom LNP Profile¶
Generate a plot of the custom LNP profile using the plot() method.
plot = custom_lnp_profile.plot(show=True)
Ignoring fixed x limits to fulfill fixed data aspect with adjustable data limits.
8. Access Custom LNP Profile Properties¶
Retrieve the section properties of the custom LNP profile using the section_properties() method.
properties = custom_lnp_profile.section_properties()