Example #1
0
import ClassLibrary as cl 
import FunctionLibrary as fl
import items as it
l=615






if __name__ == "__main__":
    print('Name of the Woprk:- Grade I metalling of the road from Bhikabahali to Sakma')
    print('Estimated Cost:-\u20B94,00,000.00\tHead of Account:- Biju K.B.K.(2014-15)')
    print('-'*80)
    print(it.items['subbase'])
    subbasemoorum = cl.Quantity([['sub-base of the road',1,l,3.65,0.1]])
    subbasemoorum.rate = 183.06
    subbasemoorum.volume()
    print(it.items['gradeI'])
    gradeImetalling = cl.Quantity([['GradeI metalling',1,l,3.65,0.1]])
    gradeImetalling.rate =347.26
    gradeImetalling.volume()
    print(it.items['moorumcollection'])
    subbasemoorum = cl.Quantity([['sub-base of the road',1,l,3.65,0.1],
                                 ['for filling of tnterstices in metalling',0.25,l,3.65,0.1]])
    subbasemoorum.rate = 233.9
    subbasemoorum.volume()
    print(it.items['metalcollection'])
    gradeImetalling = cl.Quantity([['GradeI metalling',1,l,3.65,0.1]])
    gradeImetalling.rate =936.3
    gradeImetalling.volume()
Example #2
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print('Total centre line length')

    tcl = cl.Quantity([['long walls', 2, 8.6], ['short walls', 3, 6.00],
                       ['short wall1', 1,
                        6.55], ['short wall2', 1, 8.6 - 6.55],
                       ['short wall 3', 1, 2.05]])
    print(tcl.tcl()['y0'])
    print('Total centre line length = ', '{:.2f}m'.format(tcl.tcl()['y1']))
    print(it.items['efhs'])
    foundation = cl.Quantity([['foundation of columns', 9, 1.5, 1.5, 1.2],
                              ['open foundation', 1, 29.2 - 8 * 1.5, 0.6,
                               0.6]])
    foundation.rate = 122.97
    foundation.volume()
    print(it.items['m20'])
    rcc = cl.Quantity(
        [['rcc column footings', 9, 1.2, 1.2, 0.3],
         ['rcc pedestals', 9, 0.45, 0.45, 1.0],
         ['rcc columns', 9, 0.25, 0.25, 2.10],
         ['rcc plinth beams', 1, 45.85 + 2.05 - 5 * .25, 0.25, 0.3],
         ['rcc lintel band', 1, 45.85 - 1, 0.25, 0.15],
         ['extra thickness lintel at verandah', 1, 4.54, 0.25, 0.1],
         ['cantilever beams', 2, 1.5, 0.25, 0.1],
         ['kitchen wash slabs', 1, 2.3, 1.5, 0.1],
         ['kitchen platform', 1, 1.75, 0.45 + 0.25 + .05, 0.06],
         ['store and shoe rack', 2, 2.3, 0.45 + 0.25 + 0.23, 0.06],
Example #3
0
import ClassLibrary as cl
import items as it
import FunctionLibrary as fl

if __name__ == "__main__":
    print(
        'Name of the work = Completion of C.C. building at Kaudiamunda Nuapada\n'
    )
    print('Estimated Cost :- Rs. 1,60,000.00', '\t',
          'Head of Account:-fourth S.F.C.(2015-16)')
    print('=' * 85)
    print('Calculation of total centre line length')
    building = cl.Quantity([['long walls', 3, 5.28], ['short wall 1', 2, 3.66],
                            ['short wall 2', 2, 2.26]])
    building.tcl()
    print(it.items['m20'])
    slab = cl.Quantity([['slab', 1, 7.00, 5.8, 0.1],
                        ['beam', 1, 3.4, 0.25, 0.25]])
    slab.rate = 4293.3
    slab.volume()
    print(it.items['bmsscb'])
    walls = cl.Quantity([['walls', 1, 27.68, 0.25, 0.08]])
    walls.rate = 2997.9
    walls.volume()
    print(it.items['rscs_slab'])
    slab = cl.Quantity([['slab', 1, 7.00, 5.80], ['roof bend', -1, 27.68, .25],
                        ['beam', -1, 3.4, 0.25]])
    slab.rate = 305.67
    slab.hArea()
    print(it.items['rscs_beam'])
    beam = cl.Quantity([['beam', 3, 3.4, 0.25]])
Example #4
0
import ClassLibrary as cl
import FunctionLibrary as fl
import math as mt
from statistics import mean
l = 25

if __name__ == "__main__":
    print(
        '''Name of the work:-Construction of C.C. road with small Bridge from Kaudiamunda
Bagbahali Road to Silati Road''')
    print(
        'Estimated Cost:-Rs. 3,20,000.00\t\tHead of Account:-G.G.Y.(2016-17)')
    print('-' * 80)
    print('\t\t\t\tSection-A (Bridge)')
    print(it.items['efhs'])
    foundation = cl.Quantity([['abutments of the bridge', 2, 6.3, 2.6, 2.0]])
    foundation.rate = 103.2
    foundation.volume()
    print(it.items['CC(1:4:8)'])
    concrete = cl.Quantity([['footing 1', 2, 6.10, 2.5, 0.2],
                            ['footing 2', 2, 6.1, 2.1, 0.2],
                            ['footing 2', 2, 6.1, 2.0, 0.2],
                            ['footing 3', 2, 6.1, 1.9, 0.2],
                            ['footing 4', 2, 6.1,
                             mean([1.5, 0.9]), 1.2]])
    concrete.rate = 4132.62
    concrete.volume()
    print(it.items['rscs_plinth'])
    footing = cl.Quantity([['footing1,2,3,4', 4 * 2 * 2, 6.1, 0.2],
                           ['side of footing 1', 2, 2.5, 0.2],
                           ['side of footing 2', 2, 2.1, 0.2],
Example #5
0
import items as it








if __name__ == "__main__":
    print('Name of the work:-Improvement of KaraKhai at Kaudiamunda')
    print('Head of Account:-______________\tEstimated Cost:-\u20B92,00,000.00')
    print('-'*80)
    print(it.items['efhs'])
    foundation= cl.Quantity([['cut-off walls',2,17.00,0.68,0.45],
                             ['cut-off walls top & bottom',2,4.5-.38-.68,0.68,0.45]
                             ])
    foundation.rate=103.2
    foundation.volume()
    print(it.items['CC(1:3:6)'])
    concrete=cl.Quantity([['cut-off walls both side',2,17.00,0.38,0.45+0.45],
                          ['small steps',18,4.5,0.75,0.15],
                          ['bigger steps',1,4.5,3.2,0.15],
                          ['bigger step 2',1,4.5,2.75,0.15],
                          ['cut-off walls top and bottom',2,4.5-0.76,0.38,0.45],
                          ['kerbs',2,17.00,0.3,0.45],
                          ])
    concrete.rate=3700.47
    concrete.volume()
    chips_concrete= cl.Quantity([['smaller steps',18,4.5-0.75,0.6,0.1],
                                 ['larger step 1',1,4.5,2.6,0.1],
Example #6
0
at Women college at Binka''')
    print(
        'Estimated Cost:-\u20B912,50,000.00, Head of account:-ST/SC Welfare Department Fund'
    )
    print('-' * 80)
    print(
        '''Returning filling of excavated materials into the foundation trench
including all T & P and labour charges etc. complete.''')
    print('\nReference page:-1-2 of M.B. No. 559')
    print('\nQuantity :- 296.33 cum @ \u20B968.80/cum = \u20B930,338.00')
    print(it.items['Earth_work_mechanical'])
    print(
        'Excavation of the whole earth at the work site for workability cause.\n'
    )
    excavation = cl.Quantity(
        [['work site for the buildingf', 1, 55.5, 20.00, 1.43],
         ['deduct area not to cut', -1, 6.00, 5, 1.43]])
    excavation.rate = 94.4
    excavation.volume()
    print('\nFilling of area around the building\n')
    filling = cl.Quantity([['at the front of the building', 1, 55.5, 16.76, 1],
                           ['between existing buildings', 1, 10.75, 10, 0.3],
                           ['at the back of the building', 1, 55, 5, 2.5],
                           ['at the left of the buyilding', 1, 6, 5, 1.25],
                           ['near the private building', 1, 25, 6.55, 1]])
    filling.rate = 121.9
    filling.volume()
    print(
        '\nOrdinary rolling of earth layer by layer not exceeding 30cm in height\n'
    )
    print('1851.18cum @ \u20B9 383.05 % cum = \u20B97091.00 ')
Example #7
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print(
        'Name of the work :-Restoration & renovation of Bhagabat Mandir, Sankara Khairapada'
    )
    print(
        '\nHead of Account:-M.L.A.L.A.D (2013-14) \t Estimated Cost:-\u20B950,000.00 '
    )
    print('-' * 80)
    tcl = cl.Quantity([['long wall', 2, 8.55], ['short walls', 3, 3.65]])
    tcl.tcl()
    print(it.items['bmsscb'])
    brickmasonry = cl.Quantity([['alround wall', 1, 28.05, .38, 1.3],
                                ['columns   ', -8, 0.38, 0.38, 1.3]])
    brickmasonry.rate = 2967.79
    brickmasonry.volume()
    print(it.items['m20'])
    rcc = cl.Quantity([['R.C.C. plinth bend', 1, 28.05 - .38, 0.25, 0.25],
                       ['R.C.C. columns', 8, 0.38, 0.38, 0.25]])
    rcc.rate = 4308.24
    rcc.volume()
    print(it.items['hysd'])
    reinf = cl.Quantity([['column bars', 4 * 4, 3.65, .89],
                         ['plinth bend long', 2 * 4, 8.55 + .3, 0.89],
                         ['plinth bend short', 3 * 4, 3.95, 0.89],
                         ['stirrups', 150, 0.87, 0.395]])
    print(reinf.reinforcement()['y0'])
    print('\n\t\t\t\t\t1.75q @ \u20B9 4534.46 = \u20B9 7,935.00\n')
Example #8
0
import ClassLibrary as cl
import items as it
import FunctionLibrary as fl

if __name__ == "__main__":
    print(it.items['rcc'])
    slab = cl.Quantity([['slab ', 1, 6.8, 4.85, 0.1],
                        ['beam', 1, 4.52, 0.25, 0.25],
                        ['roof bend', 1, 20.98 - .5, 0.25, 0.15]])
    slab.rate = 5156.18
    slab.volume()
    print(it.items['rscs_slab'])
    centering_slab = cl.Quantity([['slab ', 1, 6.8, 4.85],
                                  ['beam', -1, 4.52, 0.25],
                                  ['roof bend', 1, 20.98 - .5, 0.05]])
    centering_slab.rate = 261.08
    centering_slab.hArea()
    print(it.items['rscs_beam'])
    centering_beam = cl.Quantity([
        ['beam', 3, 4.5, 0.25],
    ])
    centering_beam.rate = 383.34
    centering_beam.vArea()
    print(it.items['hysd'])
    reinforcement = cl.Quantity(
        [['main bottom1', 20, 2.9 + .5 + .3, 0.395],
         ['main bottom2', 20, 2.9 + 2.9 / 4 + .5 + .15, .395],
         ['main top', 2 * 13, 4.05 + .5 + .3 - .08, .395],
         ['distribution1', 18, 6.7, .395],
         ['distribution2', 28, 4.82 - .08, .395],
         ['extra bar at top', 26, 0.95, 0.395],
Example #9
0
 bus_stop = cl.Quantity([['']])
 print (it.items['hysd'])
 bus_stop=cl.Quantity([['beam main bars',5,3.39,0.89],
                       ['beam extra top',2,1.2,0.89],
                       ['roof bend long',2*4,6.42-.08,0.62],
                       ['roof bend short',2*4,3.47-.08,0.62],
                       ['beam and roof bend stirrups',140,0.87,0.395],
                       ['main bars bottom 1',15,4.19,.395],
                       ['main bar bottom 2',15,3.63,.395],
                       ['main bars at top',24,3.77,.395],
                       ['extra top on roof bends',24+15,0.8,.395],
                       ['Distributions long',16,6.73,.395],
                       ['Dstributions short',30,3.77,0.395]])
 bus_stop.reinforcement()
 print ('='*75)
 bus_stop=cl.reinforcement([2.83,2.97],[1,0,0,0],[2.83,0,0,0],[0.15,0.15])
 bus_stop.main_bottom_1()
 print ('='*75)
 print(it.items['rscs_slab'])
 bus_stop=cl.Quantity([['slab',1,6.76,3.78],
                       ['roof bends long',-2,6.42,0.25],
                       ['roof bends short',-3,2.97,0.25],
                       ['roof bends sides',4,6.42,0.15],
                       ['roof bends short',4,2.97,0.15]])
 bus_stop.hArea()
 print(it.items['rscs_beam'])
 bus_stop=cl.Quantity([['beams bottom',1,2.97,0.25+2*0.15]])
 bus_stop.hArea()
 print(it.items['20cp(1:4)'])
 bus_stop = cl.Quantity([['slab top',1,6.76,3.78]])
 bus_stop.hArea()
Example #10
0








if __name__ == "__main__":
    print('''Name of the work :-Construction of Additional class room at
+3 degree college at Baunsuni''')
    print('\nEstimated Cost:-','\u20B9{:.2f}'.format(500000),'\t','Head of Account:-W.O.D.C.(2015-16)')
    print('-'*80)
    centre_line=cl.Quantity([['long walls',3,10.25],
                             ['short walls1',2,5.25],
                             ['short walls2',2,2.05]
                             ])
    
    centre_line.tcl()
    print(it.items['efhs'])
    foundation_trench=cl.Quantity([['column trenches',11,1.5,1.5,1.5],
                                   ['walls foundation',1,45.35-11*1.5,0.6,0.75]])
    foundation_trench.rate=103.2
    foundation_trench.volume()
    print(it.items['CC(1:4:8)'])
    metal_concrete=cl.Quantity([['column trenches',11,1.5,1.5,0.1],
                                ['walls',1,45.35-11*1.5,0.1],
                                ['room',4,10.25-.38,10.25-.38,0.1],
                                ['steps',2,1.2,1.25,0.1]])
    metal_concrete.rate = 3280.94
    metal_concrete.volume()
Example #11
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print(
        "Name of the work:- Construction of Community Centre at Talipada, Baunsuni"
    )
    print(
        'Head of Account:-Biju K.B.K.(2016-17)\tEstimated Cost:-\u20B92,00,000.00'
    )
    print('-' * 80)
    print(it.items['efhs'])
    foundation = cl.Quantity([['larger columns', 4, 1.5, 1.8, 1.5]])
    foundation.rate = 103.20
    foundation.volume()
    print(it.items['CC(1:4:8)'])
    metal_concrete = cl.Quantity([['foundation trench', 2, 1.5, 1.5, 0.1]])
    metal_concrete.rate = 3280.94
    metal_concrete.volume()
    print(it.items['m20'])
    rcc = cl.Quantity([['R.C.C. columns footings', 4, 1.2, 1.2, 0.30],
                       ['R.C.C.pedestals', 4, 0.45, 0.45, 1.5],
                       ['R.C.C. columns', 4, 0.25, 0.25, 4.2],
                       ['R.C.C. lintel bend long wall', 2, 11, 0.38, 0.25],
                       ['R.C.C. lintel bend short wall', 2, 3.05, 0.25, 0.25],
                       ['R.C.C. lintel bend short wall', 2, 3.05, 0.38, 0.25],
                       ['R.C.C. roof bend long', 2, 11, 0.38, 0.15],
                       ['R.C.C. roof bend short', 2, 3.05, 0.25, 0.15],
                       ['R.C.C. roof bend short', 2, 3.05, 0.38, 0.15],
                       ['R.C.C. slab', 1, 11.3, 3.95, 0.12]])
Example #12
0
import ClassLibrary as cl
import items as it

if __name__ == "__main__":
    print(it.items['m20'])
    bus_stop = cl.Quantity([['long bench', 1, 5.92, 0.45, .08],
                            ['short benches', 2, 2.97 + 0.25, 0.45, 0.08],
                            ['back side lintel', 1, 5.92 + 0.5, 0.25, 0.15],
                            ['both side lintels', 2, 2.97, 0.25, 0.15],
                            ['front side lintel', 1, 5.92 + 0.5, 0.25, 0.25],
                            ['front chajja', 1, 5.92 + 0.5, 0.6, 0.07],
                            ['chajja on windows', 2, 1.5, 0.6, 0.07],
                            ['columns', 6, 0.25, 0.25, 0.9]])
    bus_stop.rate = 5137.08
    bus_stop.volume()
    print(it.items['hysd'])

    bus_stop = cl.Quantity([['long bench main', 4, 5.92 - .08, .395],
                            ['short benches', 2 * 4, 2.97 + .25 - .08, .395],
                            ['distributions', 80, .45 - .08, 0.395]])
    bus_stop.reinforcement()
    bus_stop = cl.Quantity(
        [['front wall lintel reinforcement', 5, 5.84, 0.89],
         ['front wall extra top', 2, 1.2, 0.89],
         ['front wall extra top', 1, 0.95 * 2 + .25, 0.89],
         ['back side walls main', 4, 5.92 + .5 - .08, 0.62],
         ['both side walls main bars', 8, 2.97 + .5 - .08, 0.92],
         ['extra on window openings openings', 2, 1.7, 0.62],
         ['front lintel stirrups', 40, 0.85, 0.395],
         ['stirrups on normal walls', 74, 0.65, 0.395],
         ['front and window chajja bars', 65, 0.6 + .25 - .08, 0.395],
Example #13
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it
l = 87

if __name__ == "__main__":
    print(
        'Name of the Work:- Constn. of C.C. road from Baunsuni NuaBasti High School Road'
    )
    print(
        'Head of Account:-G.G.Y.(2016-17)\tEstimated Cost:-\u20B93,20,000.00')
    print('-' * 80)
    print('Calculation of total builtup area:-')
    tba = cl.Quantity([['patch 1', 1, 9.15, 3.85], ['patch 2', 1, 13.8, 3.9],
                       ['patch 3', 1, 19.5, 3.5], ['patch 4', 1, 15.1, 5.25],
                       ['patch 5', 1, 14.7, 4.2],
                       ['steps 1st footing', 2, 3.05, 0.7],
                       ['steps 2nd footings', 2, 3.05, 0.35],
                       ['old road and new road junction', 1, 3.65, 1.2]])

    print(tba.tba()['y0'], '{:.2f}sqm'.format(tba.tba()['y1']))
    print('\nClaculation of cut-off wall lengths:-')
    tcl = cl.Quantity([['patch 1', 2, 9.15], ['patch 2', 2, 13.8],
                       ['patch 3', 2, 19.5], ['patch 4', 2, 15.1],
                       ['patch 5', 2, 14.7],
                       ['old road and new road junction', 2, 4.88]])
    print(tcl.tcl()['y0'], '{:.2f}m'.format(tcl.tcl()['y1']))
    print('\nSurface Area of cut-off walls')
    cutoff = cl.Quantity([['cut-off walls', 1, 154.26, .2]])
    print(cutoff.tba()['y0'], '{:.2f}sqm'.format(cutoff.tba()['y1']))
    print(it.items['efhs'])
    foundation = cl.Quantity([['cut-off walls', 1, 154.26, 0.2, 0.2]])
Example #14
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it
l = 87

if __name__ == "__main__":
    print(
        'Name of the Work:- Constn. of C.C. road from Fabsi Harijan Pada Byepass road to AWC Building'
    )
    print(
        'Head of Account:-G.G.Y.(2016-17)\tEstimated Cost:-\u20B92,00,000.00')
    print('-' * 80)
    print('Calculation of total builtup area:-')
    tba = cl.Quantity([['patch 1', 1, 29, 4.32], ['patch 2', -1, 2.0, 1.5],
                       ['patch 3', 0.5, 2.1, 1.68]])

    print(tba.tba()['y0'], '{:.2f}sqm'.format(tba.tba()['y1']))
    print('\nClaculation of cut-off wall lengths:-')
    tcl = cl.Quantity([
        ['patch 1', 2, 29],
    ])
    print(tcl.tcl()['y0'], '{:.2f}m'.format(tcl.tcl()['y1']))
    print('\nSurface Area of cut-off walls')
    cutoff = cl.Quantity([['cut-off walls', 1, 58.00, .2]])
    print(cutoff.tba()['y0'], '{:.2f}sqm'.format(cutoff.tba()['y1']))
    print(it.items['efhs'])
    foundation = cl.Quantity([['cut-off walls', 1, 58.00, 0.2, 0.2]])
    foundation.rate = 103.2
    foundation.volume()
    print(it.items['sand_fill'])
    sand_fill = cl.Quantity([['road subgrade', 1, 112.44, .05]])
Example #15
0
import FunctionLibrary as fl 
import items as it
import math as mt





if __name__ == "__main__":
    print('Restoration of Nama Mandap at Phabsi, Baunsuni G.P.')
    print('Head of Account:- M.L.A.L.A.D.(2016-17)\t Estimated Cost:-\u20B9100000.00')
    print('-'*80)
    print(it.items['floor tile'])
    floor=cl.Quantity([['circular floor',mt.pi,4.22,4.22],
                       ['rectangular portion',-1,2.57,2.57],
                       ['mid portion',1,7.09,2.43],
                       ['out side step 1',1,1.5+2*.3,0.25],
                       ['out side step 2',1,1.0,0.25]
                       ])
    floor.rate=251.94
    floor.hArea()
    print('''Cost of 30cm x 30cm / 40cm x 40cm special plain / printedser\nies ceramic floor
tiles of premium grade having thickness 7mm to 8mm confirminq to IS 13755''')
    print('Cost = 67.35sqm @ \u20B9429.00 / sqm = \u20B928893.00')
    print(it.items['wall tile'])
    wall=cl.Quantity([['square mandap sides',4,2.53,0.4],
                      ['altar back 1',2,1.8,0.3],
                      ['altar back 2',2,1.2,0.3],
                      ['altar back 3',2,0.65,0.3],
                      ['altar back 4',2,0.5,0.25],
                      ['altar sides',2,.4,0.45],
                      ['altar inside offsets',2,0.3,0.15],
Example #16
0
import ClassLibrary as cl
print ('Calculation of total centre line length')
building = cl.Quantity([['long walls',2,6.2],
                        ['short walls',2,2.5]])
building.tcl()
print ("R.c.c. work")
slab = cl.Quantity([['roof slab',1,7.32,3.15,0.1],
                    ['beam',1,2.5,0.25,0.15],
                    ['roof bends']])
slab.data = [['roof slab',1,7.32,3.15,0.1]]
slab.volume()
print("20 mm thick grading plaster")
slab.data =[['slab top',1,7.32,3.15]]
slab.hArea()
print('\nCalculation of reinforcement bars')
v = cl.reinforcement()
v.end_support_condition = [0,0,0,1]
v.spacing_of_bars = [0.15,0.15]
v.span = [2.5,2.87]
v.trans_span_length=[0.15,0,0,2.87]
v.main_bottom_1()
slab_reinforcement = cl.Quantity([['main bottom 1',6,3.15,0.395],
                                  ['main bottom2',6,3.15,0.395],
                                  ['main top 1',6,3.67,0.395],
                                  ['main top 2',6,4.24,0.395]])
slab_reinforcement.reinforcement()
slab_reinforcement_1 = cl.Quantity([['main bottom 1',6,3.15,0.395],
                                  ['main bottom2',6,3.15,0.395],
                                  ['main top 1',6,3.67,0.395],
                                  ['main top 2',6,4.24,0.395]])
slab_reinforcement_1.reinforcement()
Example #17
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print(it.items['efhs'])
    foundation_excavation = cl.Quantity(
        [['foundation trenches', 16, 1.5, 1.5, 1.2],
         ['walls', 1, 32.8 - 12 * 1.5 + .94, 0.6, 0.6],
         ['inside mandap', 4, 2.7 - 1.5, 0.6, .6]])
    foundation_excavation.rate = 100
    foundation_excavation.volume()
    print(it.items['CC(1:4:8)'])
    metal_concrete = cl.Quantity(
        [['columns', 16, 1.5, 1.5, 0.1],
         ['walls', 1, 32.8 - 12 * .38 + .94, 0.6, 0.09],
         ['inside mandap', 4, 2.7 - 0.38 - .19, 0.6, 0.09]])
    metal_concrete.rate = 100
    metal_concrete.volume()
    print(it.items['rcc'])
    rcc_work = cl.Quantity([['footings', 16, 1.2, 1.2, 0.23],
                            ['columns1', 12, 0.38, 0.38, 1.40],
                            ['columns2', 4, 0.38, 0.38, 1.95]])
    rcc_work.rate
    rcc_work.volume()

    print(it.items['bmfp'])
    brick_foundation = cl.Quantity(
        [['circular mandap', 1, 32.8 - 12 * 0.38 + .94, 0.38, 0.55],
         ['inside mandap', 4, 2.7 - .38, 0.38, 0.57]])
    brick_foundation.rate = 100
Example #18
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it
l = 4.5

if __name__ == "__main__":
    print(
        'Construction of Community centre at Nuapalli H.P. of Binka N.A.C. ward no12'
    )
    print(
        'Estimated cost:-\u20B950,000.00\tHead of Account:-M.L.A.L.A.D.(2013-14)'
    )
    print('-' * 80)
    print(it.items['efhs'])
    foundation = cl.Quantity(
        [['columns', 2, 1.5, 1.5, 1.2],
         ['verandah long wall', 1, l + .3, 0.6, 0.3],
         ['verandah short walls', 2, 2.25 - .125 - 1.5 - .3, 0.6, 0.3]])
    foundation.rate = 103.2
    foundation.volume()
    print(it.items['sand_fill'])
    sandfill = cl.Quantity(
        [['footings', 2, 1.5, 1.5, 0.1],
         ['verandah long wall', 1, l + .3, 0.6, 0.1],
         ['verandah short walls', 2, 2.25 - .125 - 1.5 - .3, 0.6, 0.1],
         ['verandah sub base', 1, 4.8 - .5, 1.8 - .25, 0.45]])
    sandfill.rate = 302.62
    sandfill.volume()
    print(it.items['CC(1:4:8)'])
    concrete = cl.Quantity(
        [['footings', 2, 1.5, 1.5, 0.1],
         ['verandah long wall', 1, l + .3, 0.6, 0.1],
Example #19
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print(it.items['rcc'])
    slab = cl.Quantity([['slab ', 1, 8.53, 4.25, 0.1],
                        ['beam', 1, 4.05, 0.25, 0.15],
                        ['roof bend long', 2, 8.35, 0.25, 0.15],
                        ['oof bend short', 3, 3.55, 0.25, 0.15]])
    slab.rate = 4872.24
    slab.volume()
    print(it.items['rscs_slab'])
    centering_slab = cl.Quantity([['slab ', 1, 8.53, 4.25],
                                  ['beam', -1, 4.05, 0.25],
                                  ['roof bend', 1, 27.35, 0.05]])
    centering_slab.rate = 258.88
    centering_slab.hArea()
    print(it.items['rscs_beam'])
    centering_beam = cl.Quantity([
        ['beam', 1, 3.55, 0.55],
    ])
    centering_beam.rate = 391.57
    centering_beam.vArea()
    reinforcement = cl.Quantity([['beam main', 5, 4.05, 0.89],
                                 ['roof bend long', 2 * 4, 8.35, 0.62],
                                 ['roof bend short', 3 * 4, 3.55 + .5, 0.62],
                                 ['stirrups ', 208, 0.87, 0.395],
                                 ['main bottom1', 9, 2.84, 0.395],
                                 ['main bar bottom2', 9, 3.33, 0.395],
                                 ['main bar bottom 3', 9, 3.78, .395],
Example #20
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print(it.items['rcc'])
    rcc = cl.Quantity([['slab', 1, 8.05, 4.35, 0.1],
                       ['beam', 1, 3.5, 0.25, 0.25],
                       ['roof bend', 1, 6.5 * 2 + 3.5 * 2, 0.25, 0.15]])
    rcc.rate = 5068.16
    rcc.volume()
    print(it.items['20cp(1:4)'])
    grading = cl.Quantity([['slab top', 1, 8.05, 4.35]])
    grading.rate = 120.64
    grading.hArea()
    print(it.items['rscs_slab'])
    slab = cl.Quantity([['slab area', 1, 8.05, 4.35],
                        ['deduct beam', -1, 3.5, 0.25],
                        ['deduct roof bend', 1, 20, 0.05]])
    slab.rate = 261.08
    slab.hArea()
    print(it.items['rscs_beam'])
    beam = cl.Quantity([['beam', 1, 3.5, 0.75]])
    beam.rate = 383.34
    beam.vArea()
    print(it.items['CC(1:4:8)'])
    pcc = cl.Quantity([['sub base of floor', 1, 6.00 - .13, 3.5 - .13, 0.1]])
    pcc.rate = 2665.96
    pcc.volume()
    print(it.items['hysd'])
    reinforcement = cl.Quantity(
Example #21
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

l = 27

if __name__ == "__main__":
    print(
        'Name of the Work:- Constn. of C.C. road from Baunsuni College Campus')
    print(
        'Head of Account:-Maintenance of R & B SFC (2016-17)\tEstimated Cost:-\u20B91,00,000.00'
    )
    print('-' * 80)
    print(it.items['efhs'])
    foundation = cl.Quantity([['cut-off walls', 2, l, 0.2, 0.2]])
    foundation.rate = 103.2
    foundation.volume()
    print(it.items['sand_fill'])
    sand_fill = cl.Quantity([['road subgrade', 1, l, 3.65 - .4, .05]])
    sand_fill.rate = 313.52
    sand_fill.volume()
    print(it.items['CC(1:3:6)'])
    metal_concrete = cl.Quantity([['cut-off walls', 2, l, 0.2, 0.25],
                                  ['sub-base concrete', 1, l, 3.65, 0.1]])
    metal_concrete.rate = 3700.47
    metal_concrete.volume()
    print(it.items['CC(1:2:4)'])
    chips_concrete = cl.Quantity([['crust of the road', 1, l, 3.65, 0.1]])
    chips_concrete.rate = 4814.96
    chips_concrete.volume()
    print(it.items['rscs_plinth'])
Example #22
0
import FunctionLibrary as fl
import ClassLibrary as cl
import items as it

if __name__ == "__main__":
    tcl1 = cl.Quantity([['long wall 1', 2, 10.74], ['long wall 2', 1, 8.51],
                        ['short wall 1', 2, 5.94], ['short wall 2', 2, 3.68],
                        ['short wall 3', 2, 2.13]])
    tcl1.tcl()
    print(it.items['CC(1:4:8)'])
    metal_concrete = cl.Quantity(
        [['class room', 1, 8.06, 3.23, 0.1],
         ['verandah,kitchen and store', 3, 2.49, 1.68, 0.1],
         ['toilets', 1, 3.23, 1.8, 0.1], ['steps entrance', 1, 1.5, 1.0, 0.1],
         ['kitchen exit', 1, 1.2, 1.00, 0.1], ['toilet steps', 1, 3, 1.0,
                                               0.1]])
    metal_concrete.rate = 2835.52
    metal_concrete.volume()
    print(it.items['m20'])
    rcc = cl.Quantity([
        ['R.C.C. slab 1', 1, 11.29, 4.23, 0.1],
        ['R.C.C. slab 2', 1, 9.06, 2.13, 0.1],
        ['R.C.C. beams', 2, 3.43, 0.25, 0.25],
        ['R.C.C. roof bend', 1, 53.49 - 1, 0.25, 0.15],
    ])
    rcc.rate = 4142.32
    rcc.volume()
    print(it.items['bmss'])
    brick_super_structure = cl.Quantity(
        [['walls above lintel', 1, 53.49 - 2, 0.25, 0.6],
         ['toilet half brick walls', 2, 1.8, 0.13, 0.6]])
Example #23
0









if __name__ == "__main__":
    print('Name of the work :-Restoration of Jagannath Temple at Sankara')
    print('\nEstimated Cost:-','\u20B9{:.2f}'.format(500000),'\t','Head of Account:-W.O.D.C.(2015-16)')
    print('-'*80)
    print('Calculation of total centre line length')
    centre_line=cl.Quantity([['walls',6,9]
                             ])
    
    centre_line.tcl()
    print(it.items['efhs'])
    foundation_trench=cl.Quantity([['column trenches',9,1.5,1.5,1.5],
                                   ['walls foundation',1,54-9*1.5,0.6,0.75]])
    foundation_trench.rate=103.2
    foundation_trench.volume()
    print(it.items['CC(1:4:8)'])
    metal_concrete=cl.Quantity([['column trenches',9,1.5,1.5,0.1],
                                ['walls',1,54-9*1.5,0.1],
                                ['room',4,4.19,4.19,0.1],
                                ['steps',4,1.2,1.25,0.1]])
    metal_concrete.rate = 3280.94
    metal_concrete.volume()
    print(it.items['m20'])
Example #24
0
]
b1 = [i + 0.25 for i in b]
b2 = [i - .25 for i in b]
c = [
    18.4166, 18.33, 18.4166, 18.25, 18.25, 18.25, 18.0833, 18, 18, 18, 18, 18,
    18.166, 18.0833, 18.166, 18.0833, 18.0833
]
c = [round(i * .3048, 2) - 0.9 for i in c]
d = [8, 2, 2.083, 2, 2, 2, 10, 2, 2, 2, 2, 2, 2, 2, 2.083, 2.083, 5]
d1 = [round(i * .3048, 2) for i in d]
d2 = [i + .15 for i in d1]

if __name__ == "__main__":
    print(it.items['efhs'])
    foundationtrench = cl.Quantity(
        [['both side cut-off walls', 2, 15.81 - .45 + .6, 0.75, 0.45],
         ['top and bottom cut-off walls', 2, 4.88, 0.75, 0.45],
         ['middle cut-off walls', 1, 4.88, 0.75, 0.45]])
    foundationtrench.rate = 103.2
    foundationtrench.volume()
    print(it.items['CC(1:3:6)'])
    pcc = cl.Quantity([['1st step', 2, d1[0], 0.45, b1[0]],
                       ['2nd step', 2, d1[1], 0.45, b1[1]],
                       ['3rd step', 2, d1[2], 0.45, b1[2]],
                       ['4th step', 2, d1[3], 0.45, b1[3]],
                       ['5th step', 2, d1[4], 0.45, b1[4]],
                       ['6th step', 2, d1[5], 0.45, b1[5]],
                       ['7th step', 2, d1[6], 0.45, b1[6]],
                       ['8th step', 2, d1[7], 0.45, b1[7]],
                       ['9th step', 2, d1[8], 0.45, b1[8]],
                       ['10th step', 2, d1[9], 0.45, b1[9]],
                       ['11th step', 2, d1[10], 0.45, b1[10]],
Example #25
0
import ClassLibrary as cl
import items as it
import FunctionLibrary as fl

if __name__ == "__main__":
    print(
        'Name of the work = Restoration and renovation of Bhabagat Tungi  at Kaudiamunda\n'
    )
    print('Estimated Cost :- Rs. 1,00,000.00', '\t',
          'Head of Account:-M.L.A.L.A.D.(2013-14)')
    print('=' * 85)
    print('Calculation of total centre line length')
    building = cl.Quantity([['long walls', 1, 5.44 + .25],
                            ['short wall 1', 2, 2.29 + .25]])
    building.tcl()
    print(it.items['m20'])
    slab = cl.Quantity([['lintel', 1, 10.52, 0.25, 0.15],
                        ['chajja', 1, 5.94, 0.45, 0.06],
                        ['slab', 1, 6.4, 2.82, 0.1],
                        ['beam', 1, 2.29, 0.25, 0.15]])
    slab.rate = 4293.3
    slab.volume()
    print(it.items['bmsscb'])
    walls = cl.Quantity([['walls', 2, 2.13, 0.25, 2.13],
                         ['front wall', 1, 5.94, 0.25, 2.6],
                         ['deduct pillars', -3, 0.35, 0.25, 2.1],
                         ['door', -1, 1.57, .25, 2.13],
                         ['windows', -2, 1.8, 0.25, 1.2]])
    walls.rate = 2997.9
    walls.volume()
    print(it.items['rscs_slab'])
Example #26
0
import items as it
import ClassLibrary as cl
import FunctionLibrary as fl









if __name__ == "__main__":
    print ('Name of the Work:- Construction of cement concrete roadat Sankara Bartal Gully' )
    print('Estimated Cost:-Rs.1,00,000.00','\t\t','Head of Account:T.F.C.(15-16)' )
    print('-'*85)
    print(it.items['CC(1:2:4)'])
    road =cl.Quantity([['road',1,41.76,2.5,0.19]])
    road.rate=4760.71
    road.volume()
    print('Cess for labour welfare = Rs. 1,000.00\n')
    print('Work contingency = Rs. 1,000.00\n')
    print('Display Board and photograph = Rs.500.00\n')
    print('_'*85)
    print('Total estimated cost is limited to Rs.1,00,000.00\n')
    fl.signature(100000, 'Rupees one lakh only', 3, 'Sankara G.P.')
    
    
    
Example #27
0
import ClassLibrary as cl
import items as it
import FunctionLibrary as fl

if __name__ == "__main__":
    print(
        'Name of the work:-Construction of community Mandap at Phabsi village\n'
    )
    print('Head of Account :- M.P.L.A.D.(2015-16)', '\t\t',
          'Estimated Cost:-Rs.1,00,000.00\n')
    print('-' * 80)

    print('Calculation of total centre line length\n')
    building = cl.Quantity([['long walls', 2, 5.9], ['short walls', 2, 2.45]])
    building.tcl()
    print(it.items['CC(1:4:8)'])
    metal_concrete = cl.Quantity([['mandap sub-base', 1, 5.65, 2.18, 0.1]])
    metal_concrete.rate = 3280.94
    metal_concrete.volume()
    print(it.items['m20'])
    slab = cl.Quantity([['roof slab', 1, 7.32, 3.15, 0.1],
                        ['beam', 1, 2.2, 0.25, 0.15],
                        ['roof bends', 1, 17.2, 0.25, .15]])
    slab.rate = 4277.3
    slab.volume()
    print(it.items['20cp(1:4)'])
    plaster20 = cl.Quantity([['slab top', 1, 7.32, 3.15]])
    plaster20.rate = 140.24
    plaster20.hArea()
    #------------------------------ print('\nCalculation of reinforcement bars')
    #---------------------------------------------------- v = cl.reinforcement()
Example #28
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it








if __name__ == "__main__":
    print('Total centre line length ')
    tcl = cl.Quantity([['long wall 1',2,9.9],
                       ['long wall 2',1,6.95],
                       ['short wall 1',3,6.0],
                       ['short wall 2',1,2.95],
                       ['short wall 3',1,1.9],
                       ])
    print(tcl.tcl()['y0'],
          tcl.tcl()['y1'])
    
    print(it.items['m20'])
    rcc=cl.Quantity([['effective centre line length',1,49.6-4*0.25,0.25,0.15],
                     ['extra thick at verandah lintel',1,3.23+.5-.03,0.25,0.1],
                     ['verandah lintel chajja',1,3.7,0.45,0.06],
                     ['toilet and kitchen chajja',1,6.0,0.45,0.06],
                     ['store room chajja',1,1.78,0.45,0.06],
                     ['window chajja',2,1.2,0.45,0.06],
                     ['columns 1',6,0.25,0.25,0.45],
                     ['columns 2',6,0.25,0.25,0.75],
                     ])
Example #29
0
import ClassLibrary as cl
import FunctionLibrary as fl
import items as it

if __name__ == "__main__":
    print(
        'Name of the Woprk:- Grade I metalling of the road from Bhikabahali to Sakma'
    )
    print(
        'Estimated Cost:-\u20B94,00,000.00\tHead of Account:- Biju K.B.K.(2014-15)'
    )
    print('-' * 80)
    print(it.items['subbase'])
    subbasemoorum = cl.Quantity([['sub-base of the road', 1, 100, 3.65, 0.15]])
    subbasemoorum.rate = 177.48
    subbasemoorum.volume()
    print(it.items['gradeI'])
    gradeImetalling = cl.Quantity([['GradeI metalling', 1, 100, 3.65, 0.1]])
    gradeImetalling.rate = 290.76
    gradeImetalling.volume()
    print(it.items['moorumcollection'])
    subbasemoorum = cl.Quantity([['sub-base of the road', 1, 100, 3.65, 0.15]])
    subbasemoorum.rate = 233.9
    subbasemoorum.volume()
    print(it.items['metalcollection'])
    gradeImetalling = cl.Quantity([['GradeI metalling', 1, 100, 3.65, 0.1]])
    gradeImetalling.rate = 936.3
    gradeImetalling.volume()