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 by equation

Hi,


I agree with the previous posters that it doesn't make any sense to try to accomplish this by using a curve by equation. It is better to create this using a pattern.


However if you still want to create a curve for this, it will be not that easy to do.


An approximation (for a cartesian coordinate system) of the first image you have is e.g.


bigradius = 100
smallradius = 10
nrofcircles = 15
x = ( bigradius + smallradius*cos(t*360*nrofcircles) ) * cos ( t * 360 )
y = ( bigradius + smallradius*cos(t*360*nrofcircles) ) * sin ( t * 360 )



Best regards,


John
 
Too good john
smiley32.gif
 
I too am looking for something similar. I would like to wrap a sine wave around a circle. I have found other posts dealing with similar requests but they are not exactly what I am after.They have the sine wave's amplitude in the z direction. I would like everything to stay in the xy plane (2D curve). If anyone could offer some advice on how to do this, I would very much appreciate it. Thanks and have a great day!!!





Dan
 
If I understand it correctly you want something like


r_circle = 100
sin_amplitude = 10
sin_periods = 5


x = (r_circle + sin_amplitude*sin ( t * 360 * sin_periods )) * cos ( t * 360 )
y = (r_circle + sin_amplitude*sin ( t * 360 * sin_periods )) * sin ( t * 360 )
z = 0


Best regards,


John Bijnens
Edited by: orac
 

Sponsor

Articles From 3DCAD World

Back
Top