PDA

View Full Version : command line calculations


gmatelich
11-14-2002, 06:54 AM
I thought OSD was supposed to allow command line calculations, such as
3.592/2
for a parallel construction line to layout the radius of a Ø3.592 sideview.
In fact I'd swear it worked once for me. Is there a switch? Does it only work with limited commands? Am I delirious?

fox-myers
11-14-2002, 07:48 AM
Originally posted by gmatelich
I thought OSD was supposed to allow command line calculations, such as
3.592/2


Yep, OSDM will support command line calculations, BUT you have to enter them in LISP. So for you example you need to enter:

(/ 3.592 2)

Most basic calcuations can be done this way. Just specify the operation first then give the numbers you want to use with the operation.

gmatelich
11-14-2002, 10:01 AM
yeah i've found occasional use for that notation, but find it too cumbersome.

Andreas
11-14-2002, 10:39 PM
Hi,

you can enter rational numbers as 1/2 or 1/3 which are handled properly by the system (to be honest, by the LISP interpreter). Example: (+ 1/2 5) results in 11/2. It's not that what you intented to do but only to give a hint what is possible.

Regards Andreas