rhs_profile
structural_sections.steel.profile_definitions.rhs_profile
RHS- and SHS-Profile.
Classes:
-
RHSProfile–Representation of an SHS or RHS profile.
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile
dataclass
RHSProfile(
*,
total_width: MM,
total_height: MM,
left_wall_thickness: MM,
right_wall_thickness: MM,
top_wall_thickness: MM,
bottom_wall_thickness: MM,
top_right_inner_radius: MM = 0,
top_left_inner_radius: MM = 0,
bottom_right_inner_radius: MM = 0,
bottom_left_inner_radius: MM = 0,
top_right_outer_radius: MM = 0,
top_left_outer_radius: MM = 0,
bottom_right_outer_radius: MM = 0,
bottom_left_outer_radius: MM = 0,
name: str = "RHS-Profile",
plotter: Callable[[Profile], Figure] = plot_shapes,
)
Bases: Profile
Representation of an SHS or RHS profile.
Attributes:
-
total_width(MM) –The width of the profile [mm].
-
total_height(MM) –The height of the profile [mm].
-
left_wall_thickness(MM) –The thickness of the left wall [mm].
-
right_wall_thickness(MM) –The thickness of the right wall [mm].
-
top_wall_thickness(MM) –The thickness of the top wall [mm].
-
bottom_wall_thickness(MM) –The thickness of the bottom wall [mm].
-
top_right_inner_radius(MM) –The inner radius of the top right corner. Default is 0.
-
top_left_inner_radius(MM) –The inner radius of the top left corner. Default is 0.
-
bottom_right_inner_radius(MM) –The inner radius of the bottom right corner. Default is 0.
-
bottom_left_inner_radius(MM) –The inner radius of the bottom left corner. Default is 0.
-
top_right_outer_radius(MM) –The outer radius of the top right corner. Default is 0.
-
top_left_outer_radius(MM) –The outer radius of the top left corner. Default is 0.
-
bottom_right_outer_radius(MM) –The outer radius of the bottom right corner. Default is 0.
-
bottom_left_outer_radius(MM) –The outer radius of the bottom left corner. Default is 0.
-
name(str) –The name of the profile. Default is "RHS-Profile". If corrosion is applied, the name will include the corrosion value.
-
plotter(Callable[[Profile], Figure]) –The plotter function to visualize the profile (default:
plot_shapes).
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_left_inner_radius
class-attribute
instance-attribute
bottom_left_inner_radius: MM = 0
The inner radius of the bottom left corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_left_outer_radius
class-attribute
instance-attribute
bottom_left_outer_radius: MM = 0
The outer radius of the bottom left corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_right_inner_radius
class-attribute
instance-attribute
bottom_right_inner_radius: MM = 0
The inner radius of the bottom right corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_right_outer_radius
class-attribute
instance-attribute
bottom_right_outer_radius: MM = 0
The outer radius of the bottom right corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_wall_inner_width
class-attribute
instance-attribute
bottom_wall_inner_width: MM = field(init=False)
The inner width of the bottom wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_wall_outer_width
class-attribute
instance-attribute
bottom_wall_outer_width: MM = field(init=False)
The outer width of the bottom wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.bottom_wall_thickness
instance-attribute
bottom_wall_thickness: MM
The thickness of the bottom wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.left_wall_inner_height
class-attribute
instance-attribute
left_wall_inner_height: MM = field(init=False)
The inner height of the left wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.left_wall_outer_height
class-attribute
instance-attribute
left_wall_outer_height: MM = field(init=False)
The outer height of the left wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.left_wall_thickness
instance-attribute
left_wall_thickness: MM
The thickness of the left wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.max_thickness
property
max_thickness: MM
Maximum element thickness of the profile [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.name
class-attribute
instance-attribute
name: str = 'RHS-Profile'
The name of the profile.
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.plotter
class-attribute
instance-attribute
plotter: Callable[[Profile], Figure] = plot_shapes
The plotter function to visualize the profile.
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.right_wall_inner_height
class-attribute
instance-attribute
right_wall_inner_height: MM = field(init=False)
The inner height of the right wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.right_wall_outer_height
class-attribute
instance-attribute
right_wall_outer_height: MM = field(init=False)
The outer height of the right wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.right_wall_thickness
instance-attribute
right_wall_thickness: MM
The thickness of the right wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_left_inner_radius
class-attribute
instance-attribute
top_left_inner_radius: MM = 0
The inner radius of the top left corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_left_outer_radius
class-attribute
instance-attribute
top_left_outer_radius: MM = 0
The outer radius of the top left corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_right_inner_radius
class-attribute
instance-attribute
top_right_inner_radius: MM = 0
The inner radius of the top right corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_right_outer_radius
class-attribute
instance-attribute
top_right_outer_radius: MM = 0
The outer radius of the top right corner [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_wall_inner_width
class-attribute
instance-attribute
top_wall_inner_width: MM = field(init=False)
The inner width of the top wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_wall_outer_width
class-attribute
instance-attribute
top_wall_outer_width: MM = field(init=False)
The outer width of the top wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.top_wall_thickness
instance-attribute
top_wall_thickness: MM
The thickness of the top wall [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.total_height
instance-attribute
total_height: MM
The total height of the profile [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.total_width
instance-attribute
total_width: MM
The total width of the profile [mm].
structural_sections.steel.profile_definitions.rhs_profile.RHSProfile.with_corrosion
with_corrosion(
corrosion_outside: MM = 0, corrosion_inside: MM = 0
) -> RHSProfile
Apply corrosion to the RHS- or SHS-profile and return a new RHS- or SHS-profile instance.
The name attribute of the new instance will be updated to reflect the total corrosion applied including any previous corrosion indicated in the original name.
Parameters:
-
corrosion_outside(MM, default:0) –Corrosion to be subtracted from the outer diameter [mm] (default: 0).
-
corrosion_inside(MM, default:0) –Corrosion to be added to the inner diameter [mm] (default: 0).
Returns:
-
RHSProfile–A new RHS- or SHS-profile instance with the applied corrosion.
Raises:
-
ValueError–If the profile has fully corroded.
Source code in blueprints/structural_sections/steel/profile_definitions/rhs_profile.py
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | |