PDA

View Full Version : Feet Plus Inch Calculator

Wonder-Man
13th Oct 2011, 02:28 pm
Hi All

I'm look for a macro or lips to create Feet-Inch calculator (specially adding feet-inch to feet-inch and other math operations). working in architectural design requires in many occasions adding and subtraction feet-inch calculations

Thanks

digger
13th Oct 2011, 02:36 pm
This is an excellent feet/inch calculator program but it is not free.
I'd bet that LeeMac could make one just as good during his lunch break.

Lee Mac
13th Oct 2011, 02:47 pm
Use the distof function to convert everything to decimal, perform the arithmetic, then use the rtos function to convert back to feet/inches.

Quick example:

(defun c:add ( / _getnumber tot num )

(defun _getnumber ( msg / str num )
(while (not (or (eq "" (setq str (getstring t msg))) (setq num (distof str))))
)
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)
)

ReMark
13th Oct 2011, 03:20 pm
Or just buy the right calculator (since you'll be doing this addition quite often).

ReMark
13th Oct 2011, 03:22 pm
Freebie here....

http://www.calculatorsoup.com/calculators/construction/feetandinches.php

Hand held calculator...

http://www.amazon.com/Calculated-Industries-4020-Measurement-Conversion/dp/B0008F0YXK/ref=sr_1_1?ie=UTF8&qid=1318515980&sr=8-1

SLW210
13th Oct 2011, 03:36 pm
Have you decided which log-in you wanted to keep?

troggarf
13th Oct 2011, 05:02 pm
Enter QC in the command line to open the "Quick Calculator"
The trick for using fractional inches that I have found is to use the minus sign as a spacer between the whole inch and the fractional inch:
2 1/2" = 2-1/2"
Others have had success using a regular space, but I find using the minus sign works...
30550

tzframpton
13th Oct 2011, 05:15 pm
Hand held calculator...

http://www.amazon.com/Calculated-Industries-4020-Measurement-Conversion/dp/B0008F0YXK/ref=sr_1_1?ie=UTF8&qid=1318515980&sr=8-1
I have one of these, but the more expensive one for the Pipe Fitting trade. Same company. I love it, and it goes with me everywhere my laptop goes.

Wonder-Man
13th Oct 2011, 06:00 pm
Keep wonder-man

Wonder-Man
13th Oct 2011, 06:07 pm
Is it so complicated to be written in Lisp and Dcl files?

ReMark
13th Oct 2011, 06:14 pm
Perhaps you can write a lisp routine and share it with us. That would be very nice of you.

troggarf
13th Oct 2011, 06:23 pm
As shown in post #7, there is already one inside of AutoCAD

Wonder-Man
13th Oct 2011, 08:46 pm
Perhaps you can write a lisp routine and share it with us. That would be very nice of you.

I wish I can, I would not ask for it in the first place,

Any How thanks for the reply

Wonder-Man

Wonder-Man
13th Oct 2011, 08:48 pm
As shown in post #7, there is already one inside of AutoCAD

I did try it. It is not handy as a real calc.

alanjt
13th Oct 2011, 08:53 pm
It is not handy as a real calc.
Then why are you asking for a LISP routine?

Wonder-Man
13th Oct 2011, 09:04 pm
oK alanjt, let me explain exactly what I wish to find... you know some time you find a lips routine comes with a dcl file and can be a regular calculator, now instead a regular calc I like to find a calculator that do the addition and the subtraction of the feet and the inches it is similar to what post #2 shown.

Wonder-Man
13th Oct 2011, 09:06 pm
Thanks digger I just find this

http://www.brothersoft.com/feet-and-inches-calculator-42798.html

digger
13th Oct 2011, 11:00 pm
Thanks for the link, Wonder-Man, I'll check it out.
I recommend the hand held Jobber 6. I still use a Jobber 5 that I bought many years ago. My first was a Jobber II.
For \$70, unless you go together with some co-workers to get the \$55 price, gets you an instrument you can use anywhere, anytime.

digger

17th Oct 2011, 04:15 pm
http://www.amazon.com/Alvin-Co-CA223-MEASURE-MASTER/dp/B001OTDVWU

\$33.00

I've used one for years.
Has memory, works with and converts FT/IN and Metric units.

Highly Recommended!

Wonder-Man
17th Oct 2011, 06:08 pm
http://www.amazon.com/Alvin-Co-CA223-MEASURE-MASTER/dp/B001OTDVWU

\$33.00

I've used one for years.
Has memory, works with and converts FT/IN and Metric units.

Highly Recommended!

I know it is a good one I might buy one