Esempio n. 1
0
def showBeam():
	#global BEAM_LENGTH,HAS_BEAM,LOADS,SUPPORTS
	if my_beam.HAS_BEAM!=1:
		print "No beam to show,Please add a beam"
		return
	print "Beam Specs\n=========="
	print "Beam length: "+str(my_beam.BEAM_LENGTH)
	showSupports()
	showLoads()
	analyse.calculateReactions(my_beam)
Esempio n. 2
0
def showBeam():
	global BEAM_LENGTH,HAS_BEAM,LOADS,SUPPORTS
	if HAS_BEAM!=1:
		print "No beam to show,Please add a beam"
		return
	print "Beam Specs\n=========="
	print "Beam length: "+str(BEAM_LENGTH)
	showSupports()
	showLoads()
	analyse.calculateReactions(BEAM_LENGTH,LOADS,SUPPORTS,VERTICAL_REACTIONS)