算法還是有點小tricky的.

來源: c101_237 2017-09-03 20:40:57 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (600 bytes)
本文內容已被 [ c101_237 ] 在 2017-09-03 20:43:05 編輯過。如有問題,請報告版主或論壇管理刪除.

算樓梯的時候, 按CODE和下麵的公式代入.

Riser Height = total rise / number of risers

total run = run x number of treads + thinkness of top riser + bottom nosing

注意, number of treads, one less than number of risers 

因為CODE會要求每個台階的rise/run的最小長度, rise/run的difference在一定範圍內, 比如3/8或.3/16... 同時total run/total rise周圍情況也可能限製了你的total run/total rise, 所以, 最後的台階數, rise, run要測試幾遍, 找到最適合每家的情況. 

所有跟帖: 

專家啊,是不是 total run=runs x (number of riser-1)+thickness of top ri -綠蟻采菊- 給 綠蟻采菊 發送悄悄話 (0 bytes) () 09/03/2017 postreply 21:19:01

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”