You are on page 1of 25

UNIVERSIDAD ALAS PERUANAS

FACULTAD DE INGENIERIA CIVIL

PROGRAMACION DIGITAL

MENENDEZ COLOMA ADRIAN


ILAQUITA TITO JORGE EDAVID
ING. LINO PINTO OPPE

ROJAS BELTRAN JEAN PIERE


2014
INTRODUCCION

El siguiente trabajo tiene como objetivo comprender la importancia


del programa Visual Basic 6.0 en nuestras actividades laborales,
para lo cual es necesario realizar un recuento de todas las nociones
aprendidas en el transcurso del semestre dictadas por el ingeniero
LINO PINTO OPPE , con el fin de acercarnos a una aplicacin que
pueda ayudarnos y facilitarnos en el trabajo de alguna labor.

Posteriormente, analizaremos las facilidades que nos brindo Visual


Basic para la elaboracin de este programa sobre metrados, el cual
podr ser utilizado por cualquier ingeniero para la agilizar las
labores en obra.

Este programada fue decidido por un debate que se ha sostenido


por los integrantes de este grupo.

No pretendemos llegar a un programa que revolucione limites


tecnolgicos, pero s que nos ayude a todos los estudiantes de
ingeniera civil de la Universidad Alas Peruanas y porque no de otras
universidades de nuestra localidad y del Per entero.

Permitiendo al lector darse cuenta de la facilidad de uso de este


programa y que cada uno pueda sacar sus conclusiones, as como
incentivar al publico a que pueda elaborar sus propios programas .

A continuacin, realizaremos una apreciacin ms profunda de


nuestro programa de metrados, para que finalmente pueda usted
utilizarlo.
METRADOS

1. DEFINICIN

Se define as al conjunto ordenado de datos obtenidos o logrados


mediante lecturas acotadas, preferentemente, y con excepcin con
lecturas a escala, es decir, utilizando el escalmetro. Es obligatorio
hacer un metrado antes de empezar con la obra para saber la
cantidad de acero, fierro, a utilizar en las columnas para saber la
distribucin de los estribos, de la misma forma sabiendo la longitud
de la luz de una columna o una viga podemos realizar clculos para
obtener dichos resultados.

2. FINALIDAD

Los metrados se realizan con el objeto de calcular la cantidad de obra a


realizar y que al ser multiplicado por el respectivo costo unitario y sumado
obtendremos el costo directo. Asimismo, se ha publicado el
Reglamento de Metrados para Obras de Edificacin (Decreto
Supremo NW13-79-VC de 26.04.79) que establece criterios y
procedimientos uniformes respecto al metrado de partidas para
obras de edificacin y que norma adecuadamente el ordenamiento y
preparacin de los presupuestos de obra.

3. RECOMENDACIONES DE CARCTER GENERAL

Cuando se trate de un conjunto de varios edificios, pabellones o m


dulos,los metrados sern elaborados por separado para cada uno
de ellos, incluso los de las obras exteriores; de esta manera, se
facilitar la revisin de los metrados y el control del avance de los trabajos
durante la ejecucin de la obra. Todo metrado debe sealar los lmites
de la obra o sectores de ella; los lmites sern claramente indicados en
los planos. Asimismo, precisar qu trabajos no han sido incluidos en el
metrado.-Antes de iniciar el metrado de una obra es necesario estudiar
minuciosamente los planos y las especificaciones tcnicas
correspondientes. El estudio facilitar el trabajo y evitar
interpretaciones errneas.
PROGRAMA DE METRADOS EN VISUAL BASIC6.0

Nuestro trabajo consta de tres formularios


debidamente elaborados.

Con la funcin PLAY que se muestra en el


margen superior hacemos correr nuestro
programa.

Realizado el paso anterior, nos aparecer esta


ventana que es la de nuestro programa en la
cual ingresaremos la contrasea:

programacin

la contrasea deber ser escrita con letras


minsculas
SI ingreso bien la contrasea el
programa lo enviara a esta ventana
en la cual tenemos la siguiente
opcin:

-metrado de columnas.

la seleccionamos y ponemos
empezar a metrar.

Para lo que es el metrado de parrilla usted deber ingresar los


siguientes datos:

-ingrese largo. (franja amarilla)

-ingrese ancho. (franja amarilla)

-ingrese el recubrimiento. (franja amarilla)

-el tipo de acero. (franja amarilla)

-la distancia. (franja amarilla)


posteriormente presionar el botn PLAY.

Los datos calculados sern expuestos en las (franjas verdes).

Este programa tambin nos brinda la opcin de redondear los


clculos obtenidos, simplemente deber presionar la opcin
redondear "SI" eh ingresar los numero a los que desea redondear
que por calculo debern ser EL MAXIMO SUPERIOR O EL MINIMO
INFERIOR. Y finalmente presionar CALCULAR METRADO DE
PARRILLA para poder obtener sus valores ya redondeados.

Si lo que usted lo que desea es calcular el metrado de acero


longitudinal este programa tambin se lo calcula solo deber
ingresar los siguientes datos:

-nmero de pisos. (franja amarilla)

-luz de cada piso. (franja amarilla)

-altura de falso piso. (franja amarilla)


-nivel fondo de zapata. (franja amarilla)

-recubrimiento superior. (franja amarilla)

-recubrimiento inferior. (franja amarilla)

Presionar la tecla PLAY, su resultado aparecer inmediatamente en


la (franja verde).

Ahora si dentro de sus requerimientos esta hallar el acero


longitudinal pues de la misma forma solo debera ingresar los
siguientes datos:

-distancia. (franja amarilla)

-tipo de acero. (franja amarilla)

-gancho superior. (franja amarilla)

Inmediatamente aparecer el dimetro, radio, corte, y si usted


presiona el botn CALCULAR METRADOS DE ACERO LONGITUDINAL.
Podr obtener sus clculos con sus aceros denominados en metros.
Pseudocdigo
Form1

Private Sub Command1_Click()

If txtcontra.Text = "programacion" Then

Form2.Show

Else

MsgBox "contrasea invalida"

txtcontra.Text = Clear

txtcontra.SetFocus

End If

End Sub

Private Sub Command2_Click()

Unload Me

End Sub

Form2

If option1.Value = True Then

Form3.Show

Else

End If

End Sub
Private Sub Command2_Click()

Unload Me

End Sub

Private Sub option1_Click()

If option1.Value = True Then

lbldes.Caption = "SE METRARA TANTO ACERO LONGITUDINAL


COMO TRANSVERSAL CONTENIENDO LOS ESTRIBOS DOBLES Y
ACERO DE CIMIENTOS INCLUYENDO LA PARRILLA"

imgcolumna.Visible = True

imgvigas.Visible = False

End If

End Sub

Form3

Private Sub cmb_Change()

End Sub

Private Sub cmbl1_Click()

If cmbl1.Text = " 3/8" Then

lbll1.Caption = 5.715

lblr1.Caption = 2.8575

lblac1.Caption = "3/8"
lblc1.Caption = "4.488"

Else

If cmbl1.Text = " 1/2" Then

lbll1.Caption = 7.62

lblr1.Caption = 3.81

lblac1.Caption = "1/2"

lblc1.Caption = "5.985"

Else

If cmbl1.Text = " 5/8" Then

lbll1.Caption = 9.525

lblr1.Caption = 4.7625

lblac1.Caption = "5/8"

lblc1.Caption = "7.481"

Else

If cmbl1.Text = " 3/4" Then

lbll1.Caption = 11.43

lblr1.Caption = 5.715

lblac1.Caption = "3/4"

lblc1.Caption = "8.977"

End If
End If

End If

End If

' datos colocados en la zonA DE CALCULO FINAL

If cmbl1.Text = " 3/8" Then

lbllon1.Caption = "1"

Else

If cmbl1.Text = " 1/2" Then

lbllon1.Caption = "2"

Else

If cmbl1.Text = " 5/8" Then

lbllon1.Caption = "3"

Else

If cmbl1.Text = " 3/4" Then

lbllon1.Caption = "4"

End If

End If

End If

End If

End Sub
Private Sub cmbl2_Click()

If cmbl2.Text = " 3/8" Then

lbll2.Caption = 5.715

lblr2.Caption = 2.8575

lblac2.Caption = "3/8"

lblc2.Caption = "4.488"

Else

If cmbl2.Text = " 1/2" Then

lbll2.Caption = 7.62

lblr2.Caption = 3.81

lblac2.Caption = "1/2"

lblc2.Caption = "5.985"

Else

If cmbl2.Text = " 5/8" Then

lbll2.Caption = 9.525

lblr2.Caption = 4.7625

lblac2.Caption = "5/8"

lblc2.Caption = "7.481"

Else
If cmbl2.Text = " 3/4" Then

lbll2.Caption = 11.43

lblr2.Caption = 5.715

lblac2.Caption = "3/4"

lblc2.Caption = "8.977"

End If

End If

End If

End If

' desde aca se calculara un buffer para calculo final

If cmbl2.Text = " 3/8" Then

lbllon2.Caption = "1"

Else

If cmbl2.Text = " 1/2" Then

lbllon2.Caption = "2"

Else

If cmbl2.Text = " 5/8" Then

lbllon2.Caption = "3"

Else

If cmbl2.Text = " 3/4" Then


lbllon2.Caption = "4"

End If

End If

End If

End If

End Sub

Private Sub cmbpaa_Click()

If cmbpaa.Text = " 3/8" Then

lblpaa.Caption = "1"

Else

If cmbpaa.Text = " 1/2" Then

lblpaa.Caption = "2"

Else

If cmbpaa.Text = " 5/8" Then

lblpaa.Caption = "3"

Else

If cmbpaa.Text = " 3/4" Then

lblpaa.Caption = "4"

End If

End If
End If

End If

End Sub

Private Sub cmbpal_Click()

If cmbpal.Text = " 3/8" Then

lblpal.Caption = "1"

Else

If cmbpal.Text = " 1/2" Then

lblpal.Caption = "2"

Else

If cmbpal.Text = " 5/8" Then

lblpal.Caption = "3"

Else

If cmbpal.Text = " 3/4" Then

lblpal.Caption = "4"

End If

End If

End If

End If
End Sub

Private Sub cmbpisos_Click()

If cmbpisos.Text = "Uno" Then

lbl1.Visible = True

txta1.Visible = True

lbl2.Visible = False

txta2.Visible = False

lbl3.Visible = False

txta3.Visible = False

lbl4.Visible = False

txta4.Visible = False

lblh.Caption = 1

Else

If cmbpisos.Text = "Dos" Then

lbl1.Visible = True

txta1.Visible = True

lbl2.Visible = True

txta2.Visible = True

lbl3.Visible = False

txta3.Visible = False
lbl4.Visible = False

txta4.Visible = False

lblh.Caption = 2

Else

If cmbpisos.Text = "Tres" Then

lbl1.Visible = True

txta1.Visible = True

lbl2.Visible = True

txta2.Visible = True

lbl3.Visible = True

txta3.Visible = True

lbl4.Visible = False

txta4.Visible = False

lblh.Caption = 3

Else

If cmbpisos.Text = "Cuatro" Then

lbl1.Visible = True

txta1.Visible = True

lbl2.Visible = True

txta2.Visible = True
lbl3.Visible = True

txta3.Visible = True

lbl4.Visible = True

txta4.Visible = True

lblh.Caption = 4

End If

End If

End If

End If

End Sub

Private Sub Command1_Click()

If opt1.Value = False Then

l = txtlar.Text

m = txtanc.Text

tolar = txttolar.Text

toan = txttoan.Text

resulargopa = tolar * m

resuanchopa = toan * l

txtlapa.Text = resulargopa

txtanpa.Text = resuanchopa
Else

l = txtlar.Text

m = txtanc.Text

tolar = txtrel.Text

toan = txtrea.Text

resulargopa = tolar * m

resuanchopa = toan * l

txtlapa.Text = resulargopa

txtanpa.Text = resuanchopa

End If

If lblpal.Caption = "1" Then

resupal1 = txtlapa.Text

Else

If lblpal.Caption = "2" Then

resupal2 = txtlapa.Text

Else

If lblpal.Caption = "3" Then

resupal3 = txtlapa.Text

If lblpal.Caption = "4" Then

resupal4 = txtlapa.Text
End If

End If

End If

End If

End Sub

Private Sub Command2_Click()

Dim x, y, z, k, l, m, n, nf, tolar, toan As Double

x = txtlargoparri.Text

y = txtanchoparri.Text

z = txtcadalar.Text

k = txtcadaanc.Text

l = txtlar.Text

m = txtanc.Text

n = txtrecu.Text

nf = n / 100

l = x - nf

txtlar.Text = l

m = y - nf

txtanc.Text = m
tolar = l / z

toan = m / k

txttolar.Text = tolar

txttoan.Text = toan

' solucionar el tema del redondeo aca

End Sub

Private Sub option1_Click()

End Sub

Private Sub Option2_Click()

End Sub

Private Sub Command3_Click()

Dim hh, a1, a2, a3, a4, h, hz, rs, ri As Double

a1 = txta1.Text

a2 = txta2.Text

a3 = txta3.Text

a4 = txta4.Text

h = txth.Text

hz = txthz.Text

rs = txtrs.Text

ri = txtri.Text
pisos = lblh.Caption

recu = Val(pisos) * Val(h)

hh = Val(a1) + Val(a2) + Val(a3) + Val(a4) + Val(recu) + Val(hz) -


Val(rs) - Val(ri)

txthto.Text = hh

End Sub

Private Sub Command4_Click()

gan = txtgancho.Text

gan2 = txtga2.Text

hh = txthto.Text

totalac1 = Val(gan2) + Val(hh) + Val(gan) + 2 * ((Val(lblc1.Caption) *


0.01))

totalac2 = Val(gan2) + Val(hh) + Val(gan) + 2 * ((Val(lblc2.Caption) *


0.01))

txtl1.Text = totalac1

txtl2.Text = totalac2

End Sub

Private Sub Command5_Clic()

End Sub

Private Sub Command5_Click()

fff1 = resupal1
fff2 = resupal2

fff3 = resupal3

fff4 = resupal4

txtfff1.Text = fff1

txtfff2.Text = fff2

txtfff3.Text = fff3

txtfff4.Text = fff4

End Sub

Private Sub Command6_Click()

Unload Me

End Sub

Private Sub Label32_Click()

End Sub

Private Sub Form_Load()

Dim fff1, fff2, fff3, fff4, resupal1, resupal2, resupal3, resupal4 As


Double

End Sub

Private Sub opt1_Click()

If opt1.Value = True Then

MsgBox "SE DEBERA INGRESAR MANUALMENTE LOS VALORES A


REDONDEAR TANTO LARGO COMO ANCHO"
txtrel.Visible = True

txtrea.Visible = True

txtlapa.Text = Clear

txtanpa.Text = Clear

End If

End Sub

Private Sub opt2_Click()

If opt2.Value = True Then

txtrel.Visible = False

txtrea.Visible = False

End If

End Sub

You might also like