# Path: src/view.py

# 
# Path: model/structure/steel_profile.py
# class Steel_Profile:
#     def __init__(self):
#     def iwf_table(self):
#     def coordinate_iwf(self, H, B, tw, tf):
#     def angle_table(self):
#             A = (2*b*tf + tw*h1 + (2*r)**2 - math.pi*r**2 )/100 #cm2
#             A = float('{0:.2f}'.format(A))
#         P = [(0,0), (B,0), (B,tf), (B/2.+tw,tf), (B/2.+tw,H-tf),
#              (B,H-tf), (B,H), (0,H), (0,H-tf), (B/2.-tw, H-tf),
#             (B/2.-tw, tf), (0,tf)]
#             A1 = h*t - r2**2*(1-math.pi/4) #mm2
#             A2 = (b1*t - r2**2*(1-math.pi/4)) #mm2
#             A3 = r1**2 * (1-math.pi/4) #mm2
#             A = (A1+A2+A3)/100 #cm2
#             A = float('{0:.2f}'.format(A))


from src import view
from model.structure import steel_profile


class Steel_Profile:
    def index(self):
        return self.iwf()

    def iwf(self):
        template = view.lookup.get_template('structure/steel_iwf_profile.mako')

# Path: src/view.py

# 
# Path: model/structure/steel_profile.py
# class Steel_Profile:
#     def __init__(self):
#     def iwf_table(self):
#     def coordinate_iwf(self, H, B, tw, tf):
#     def angle_table(self):
#             A = (2*b*tf + tw*h1 + (2*r)**2 - math.pi*r**2 )/100 #cm2
#             A = float('{0:.2f}'.format(A))
#         P = [(0,0), (B,0), (B,tf), (B/2.+tw,tf), (B/2.+tw,H-tf),
#              (B,H-tf), (B,H), (0,H), (0,H-tf), (B/2.-tw, H-tf),
#             (B/2.-tw, tf), (0,tf)]
#             A1 = h*t - r2**2*(1-math.pi/4) #mm2
#             A2 = (b1*t - r2**2*(1-math.pi/4)) #mm2
#             A3 = r1**2 * (1-math.pi/4) #mm2
#             A = (A1+A2+A3)/100 #cm2
#             A = float('{0:.2f}'.format(A))


# Path: controller/structure/steel_profile.py
from src import view
from model.structure import steel_profile


class Steel_Profile:
    def index(self):
        return self.iwf()

    def iwf(self):
        template = view.lookup.get_template('structure/steel_iwf_profile.mako')

        model = steel_profile.Steel_Profile()
