Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Curve Equasion Help wtf?

coloratura

New member
Hi, i'm new to this forum but i hope you can help.

I'm trying to create a logarithmic spiral in pro/engineer wildfire 4.0

This is the equasion:

--------------------------------------

e = 2.7182

A = ( 34.043468568719990944999999999999 * t )

B = 0.5&nb sp;
C = A * B
D = cos ( A )
F = sin ( A )
G = e ^ C

x = G * D
y = G * F

-------------------------

now as you can see i'm having a problem with 'A'

this should be in the range of 0t to 360t

but the maximum i can multiply t by is 34.043468568719990944999999999999
when i get to 34.043468568719990945 i get a 'failed to generate cure' error.

Mathematically ( as far as i can see ) there should be no reason why it stops there, in matlab i have no problem generating the curve.

the thing that bites is I had this working about a year ago but cant now.

I'm thinking might be needing memory on my laptop (1gb) but after closing all other apps and trying to create the datum first give the same result.

any ideas, is there a problem with my maths?

any help will be much appreciated.

Thanks
Ash
 
SOLVED!!!!!!!!!!!!!!!

it was E^C that was the actual problem;

C should be in radians so C becomes (A * B)*(pi / 180) otherwise e^c gets stupidly large :s .

only took about 4 and a half hours of head scratching!

Thanks if anyone tried looking at this for me.

Ash
 

Sponsor

Back
Top