Monday, February 1, 2010

SoftList -Multiple Drywall Sheet Lengths

Here is modified sheetrock formula to include 54" sheetrock.

; wall height calculation for 48" or 54" sheets
if height<=8' or height>9'
@width=48"
else
@width=54"
endif
; get count of 8' sheets if 8' or less
if length<=8'
list(area/(8*@width),thickness,@width,8')
; how many 10' sheets
else
if between(length,8',10') or length=10'
list(height/@width,thickness,@width,10')
; how many 12' sheets
else
if between(length,10',12') or length=12'
list(height/@width,thickness,@width,12')
; how many 14' sheets
else
if between(length,12',14') or length=14'
list(height/@width,thickness,@width,14')
; how many 16' sheets
else
if between(length,14',16') or length=16'
list(height/@width,thickness,@width,16')
; if walls over 16', how many 16' sheets and length of sheet left over.
else
list((height/@width) *trunc (length/16),thickness,@width,16')
@remainder=length - (16*trunc(length/16))
if @remainder <=8'
list(area/(8*@width),thickness,@width,8')
else
if between(@remainder,8',10') or @remainder=10'
list(height/@width,thickness,@width,10')
else
if between(@remainder,10',12') or @remainder=12'
list(height/@width,thickness,@width,12')
else
if between(@remainder,12',14') or @remainder=14'
list(height/@width,thickness,@width,14')
else
if between(@remainder,14',16') or @remainder=16'
list(height/@width,thickness,@width,16')
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif

No comments:

Post a Comment