typing in Pi
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
typing in Pi

 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD
Author Message
don
Guest





Posted: Tue Sep 20, 2005 12:10 am    Post subject: typing in Pi Reply with 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
Paul Turvill
Guest





Posted: Tue Sep 20, 2005 12:10 am    Post subject: Re: typing in Pi Reply with 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...
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 Reply with quote

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 Reply with quote

"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 Reply with quote

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 Reply with quote

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 Reply with quote

"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
 
Post new topic   Reply to topic    CADForums.net Forum Index -> AutoCAD All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB