//건축물의 피난ㆍ방화구조 등의 기준에 관한 규칙 15조 (계단의 설치기준) 5항 1호
Check(REFB_15_5_1){
KS
}
KS{
getObjectGradient(Ramp) <= 12.5%
}
|
std_floor_area = 200
std_floor_area_label = '기준 연면적'
max_v = 1/8
max_v_label = '최대 경사도'
def Check():
for building in SELECT('building'):
for ramp in building.SELECT('ramp'):
if ramp.SELECT('prop', '계단대체경사로').BOOL() == False:
continue
for change in ramp.SELECT('level change'):
gradient = change.SELECT('gradient')
g = gradient.NUMBER()
if g > max_v:
gradient.ERROR('경사도: ' + str(g) + ' > ' + str(max_v))
else:
gradient.SUCCESS('경사도: ' + str(g) + ' <= ' + str(max_v))
|