算法还是有点小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”