Find the position of the center of each storey

For doing some automation by programming I have written a function which finds the position of the center of each storey.

# i is the storey level
def center_of_storey(i):                                                
    z = z_sum(i)                                
    if (i == 1):           
        cen_storey = z/2                                                                                           
    else:                   
        cen_storey = z - dep_beam/2 - clear_height[i-1]/2
    return cen_storey
FollowFollow on FacebookFollow on Google+Email this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *