Skip to content

Upn

Sizes variants and definitions to generate UPN-like.

Example:

from db_beams_and_bars.upn import Standards, Section, Bar

Section(Standards.UPN.UPN_50)
Bar(Standards.UPN.UPN_50, 1000)

Definition dataclass

Definition(h, b, tw, tf, r1, r2, d, u)

Bases: BaseDefinition

Values to generate a UPN-like beam

b instance-attribute

b

Width (or flange length)

d instance-attribute

d

Distance between the end of the two inner radii

h instance-attribute

h

Height (or base width)

r1 instance-attribute

r1

Inner radius

r2 instance-attribute

r2

Flange outer radius

tf instance-attribute

tf

Flange thickness

tw instance-attribute

tw

Web thickness

u instance-attribute

u

Distance from the end of the flange where it should have the right thickness

Standards

UPN

Bases: _Standard

Hot rolled UPN beams