| Author |
Message |
don
Guest
|
Posted:
Tue Sep 20, 2005 12:10 am Post subject:
typing in Pi |
|
|
Is there a fast key code to type in the value of Pi? ALso when trying to
draw a line at an angle of 1/4 pi radians , how would you type this in -
so far I know how to to specify whole values such as @2<2r but when
trying to type in a fractional pi value I'm getting a syntax error
|
|
| Back to top |
|
 |
Paul Turvill
Guest
|
Posted:
Tue Sep 20, 2005 12:10 am Post subject:
Re: typing in Pi |
|
|
!pi returns the value of pi to the command line.
....or use lisp expressions: (/ pi 2.0), (/ pi 4.0), (* pi 1.5), etc.
However, you can't use these formats in a command string with the @
function. When working in radians, you can specify decimal values only, for
example, @2<2.123r. If you're working in the common fractions of pi (1/4,
1/2, 3/4, etc.) it may be easier to just use degree notation and use 45, 90,
135 respectively.
___
"don" <don@panix.com> wrote in message
news:dgndel$n8q$1@reader1.panix.com...
| Quote: | Is there a fast key code to type in the value of Pi? ALso when trying to
draw a line at an angle of 1/4 pi radians , how would you type this in -
so far I know how to to specify whole values such as @2<2r but when
trying to type in a fractional pi value I'm getting a syntax error
|
|
|
| Back to top |
|
 |
don
Guest
|
Posted:
Tue Sep 20, 2005 6:08 am Post subject:
Re: typing in Pi |
|
|
ok thanks alot
"Paul Turvill" <nospam@turvill.com> wrote in message
news:F_udnezl9doI1LLeRVn-gQ@whidbeytel.com...
| Quote: | !pi returns the value of pi to the command line.
...or use lisp expressions: (/ pi 2.0), (/ pi 4.0), (* pi 1.5), etc.
However, you can't use these formats in a command string with the @
function. When working in radians, you can specify decimal values only,
for
example, @2<2.123r. If you're working in the common fractions of pi (1/4,
1/2, 3/4, etc.) it may be easier to just use degree notation and use 45,
90,
135 respectively.
___
"don" <don@panix.com> wrote in message
news:dgndel$n8q$1@reader1.panix.com...
Is there a fast key code to type in the value of Pi? ALso when trying
to
draw a line at an angle of 1/4 pi radians , how would you type this
n -
so far I know how to to specify whole values such as @2<2r but when
trying to type in a fractional pi value I'm getting a syntax error
|
|
|
| Back to top |
|
 |
Caveman
Guest
|
Posted:
Wed Sep 21, 2005 12:10 am Post subject:
Re: typing in Pi |
|
|
"Paul Turvill" <nospam@turvill.com> kirjoitti
viestissä:F_udnezl9doI1LLeRVn-gQ@whidbeytel.com...
| Quote: | !pi returns the value of pi to the command line.
...or use lisp expressions: (/ pi 2.0), (/ pi 4.0), (* pi 1.5), etc.
However, you can't use these formats in a command string with the @
function. When working in radians, you can specify decimal values only,
for
example, @2<2.123r. If you're working in the common fractions of pi (1/4,
1/2, 3/4, etc.) it may be easier to just use degree notation and use 45,
90,
135 respectively.
___
"don" <don@panix.com> wrote in message
news:dgndel$n8q$1@reader1.panix.com...
Is there a fast key code to type in the value of Pi? ALso when trying
to
draw a line at an angle of 1/4 pi radians , how would you type this
n -
so far I know how to to specify whole values such as @2<2r but when
trying to type in a fractional pi value I'm getting a syntax error
May I remind you, also the value of 355 divided by 113 is approximartely |
accurate enough within most calculations when you are handicapped by the
very basic electronic calculator without scientific features. And this rule
of thumb is very easy to remember, too. |
|
| Back to top |
|
 |
Longshot
Guest
|
Posted:
Wed Sep 21, 2005 12:10 am Post subject:
Re: typing in Pi |
|
|
| Quote: | May I remind you, also the value of 355 divided by 113 is approximartely
accurate enough within most calculations when you are handicapped by the
very basic electronic calculator without scientific features. And this
rule
of thumb is very easy to remember, too.
why not just remember 3.14159. in reality 3.14 should be close enough for |
any typical layout (except a machine shop, maybe) |
|
| Back to top |
|
 |
Paul Turvill
Guest
|
Posted:
Wed Sep 21, 2005 12:10 am Post subject:
Re: typing in Pi |
|
|
You needn't remind me. I've only known that relationship for 50 years or so.
Perhaps the OP would appreciate the information, but since he was asking
about AutoCAD, it's a bit off-topic. Besides, "!pi" takes fewer than half
the keystrokes of "355/113" -- and returns a far more precise value.
___
"Caveman" <caveman@the.cave.invalid> wrote in message
news:xh_Xe.390$Hr2.316@read3.inet.fi...
| Quote: | "Paul Turvill" <nospam@turvill.com> kirjoitti
viestissä:F_udnezl9doI1LLeRVn-gQ@whidbeytel.com...
May I remind you, also the value of 355 divided by 113 is approximartely
accurate enough within most calculations when you are handicapped by the
very basic electronic calculator without scientific features. And this
rule
of thumb is very easy to remember, too. |
|
|
| Back to top |
|
 |
SimonLW
Guest
|
Posted:
Thu Sep 22, 2005 12:10 pm Post subject:
Re: typing in Pi |
|
|
"don" <don@panix.com> wrote in message
news:dgndel$n8q$1@reader1.panix.com...
| Quote: | Is there a fast key code to type in the value of Pi? ALso when trying to
draw a line at an angle of 1/4 pi radians , how would you type this in -
so far I know how to to specify whole values such as @2<2r but when
trying to type in a fractional pi value I'm getting a syntax error
another way is to open the Windows calculator, set it for sci. mode and hit |
pi. it gives a 32 digit number.
-S |
|
| Back to top |
|
 |
|
|
|
|