英尺加英寸计算器
大家好我正在寻找一个宏或lips来创建英尺-英寸计算器(特别是在英尺-英寸和其他数学运算中添加英尺-英寸)。从事建筑设计需要在许多场合进行加减英尺英寸计算
谢谢 这是一个优秀的英尺/英寸计算器程序,但它不是免费的。
我敢打赌,李可以在午休时间做一个同样好的。
http://www.jobbercalculator.com/downloads.htm 使用distof函数将所有内容转换为十进制,执行算术,然后使用rtos函数将其转换回英尺/英寸。
快速示例:
(defun c:add ( / _getnumber tot num )
(defun _getnumber ( msg / str num )
(while (not (or (eq "" (setq str (getstring t msg))) (setq num (distof str))))
(princ "\nPlease enter a number.")
)
num
)
(if (setq tot (_getnumber "\nSpecify Amount: "))
(while (setq num (_getnumber "\nSpecify Amount to Add <Exit>: "))
(princ (strcat "Total: " (rtos (setq tot (+ num tot)))))
)
)
(princ)
) 或者买一个合适的计算器(因为你会经常做这个加法)。 这里有免费赠品。。。。
http://www.calculatorsoup.com/calculators/construction/feetandinches.php
手持计算器。。。
http://www.amazon.com/Calculated-Industries-4020-Measurement-Conversion/dp/B0008F0YXK/ref=sr_1_1?ie=UTF8&qid=1318515980&sr=8-1 你决定要保留哪个登录了吗? 在命令行中输入QC以打开“快速计算器”
确保在图形中相应地设置了单位。。。
我发现使用分数英寸的诀窍是使用减号作为整英寸和分数英寸之间的间隔符:
2 1/2" = 2-1/2"
其他人成功地使用了规则空格,但我发现使用减号很有效。。。
我有一个这样的,但管道配件行业更昂贵的一个。同一家公司。我喜欢它,无论我的笔记本电脑走到哪里,它都伴随着我。 留住神探 在Lisp和Dcl文件中编写是否如此复杂?
页:
[1]
2