
Re: Equation driven curves: cool equations?
Harold Brunt Apr 27, 2010 7:42 AM (in response to Kevin De Smet)This is my work horse: (x^2/R)/(1+(1(1+(K))*(x/R)^2)^.5)
It is a formula for a Rho variable driven conic curve. X determines the start and end points; K is the Rho variable where 0 = circle, 0 > K > 1 = ellipse, 1 = parabolic, and K < 1 is hyperbolic; R is the radius of curvature. The formula gives me the freedom to change the curve type without deleting the sketch plus it adds hyperbolics. The new formula driven sketch tool allows the curve to be constrained to construction lines in the sketch instead of having to manipilate the position in the interface. I like the change.
I use this often for aspheric surfaces where optical accuracy is not required or for a construction sketch to rough in an idea.

Re: Equation driven curves: cool equations?
John Burrill Apr 27, 2010 8:00 AM (in response to Kevin De Smet)One of the presentations that I attended at solidworks world dealt with parametric curves where they input UVW equations into the curve equation editor to produce some pretty cools things like a spherical helix.
If the solidworks world web page is still up, you might want to download that presentation (beware of many scary greek symbols)

Re: Equation driven curves: cool equations?
Charles Culp May 6, 2010 3:07 PM (in response to John Burrill)John,
Who was the presenter? Name of the presentation?

Re: Equation driven curves: cool equations?
Harold Brunt May 6, 2010 3:51 PM (in response to Charles Culp)I down loaded "Parametric Geometry, The Mathematics of CAD" presented by Patrick Rainsberry. Even if that is the wrong one it is worth looking at.

Re: Equation driven curves: cool equations?
Charles Culp May 6, 2010 4:05 PM (in response to Harold Brunt)Huh.
The site appears to be messed up. I can't seem to download a lot of them, including that one, and mine. It also redirects be to the 2009 proceedings. something is not right.
I spoke too soon. It appears it sent me to the 2009 page, but the content was for 2010. Strange. When I now go to the real 2010 site after logging into the 2009 site, it works.




Re: Equation driven curves: cool equations?
Roland Schwarz Apr 27, 2010 11:30 AM (in response to Kevin De Smet)Look up tractrix curves. These are the curves used for speaker design and wind instrument bells. Also used for valve seats.

Re: Equation driven curves: cool equations?
Harold Brunt May 6, 2010 2:26 PM (in response to Roland Schwarz)
Re: Equation driven curves: cool equations?
Roland Schwarz May 6, 2010 4:16 PM (in response to Harold Brunt)I discovered tractrix while reviewing patents. There was a valve manufacturer that employed this as a seat profile to promote even wear. From there I learned about its musical and audio applications. It came in handy later, when I did a contract stint at a woodwind instrument manufacturer.
The tractrix is the curve you get when you drag an object. If you have an object to frag and start with the rope perpendicular to the direction of travel, the object follows the tractrix.

Re: Equation driven curves: cool equations?
Craig Gilbreath Mar 28, 2012 2:28 PM (in response to Harold Brunt)Ok... so how would I input this curve into the equation driven curve tool?

Re: Equation driven curves: cool equations?
Robert Crawford Mar 28, 2012 4:16 PM (in response to Craig Gilbreath)Try:
x(t) = a*(t(EXP(2*t)1)/(EXP(2*t)+1))
y(t) = a*(2/(EXP(t)EXP(t)))
choose an appropriate range for t and asuitable value for a.
Check the math, I had to translate the hyberolic trig functions into exponentials for swx.




Re: Equation driven curves: cool equations?
Jeremy Feist May 6, 2010 3:20 PM (in response to Kevin De Smet)on a related note... the SW Help says you can use dimensions and parameters in your equations. anyone get that to work or is it just me?
Jeremy

Re: Equation driven curves: cool equations?
Mahir Abrahim May 6, 2010 3:48 PM (in response to Kevin De Smet)Wave Spring with radius R, height A, and n waves
x: R*cos(2*pi*t)
y: R*sin(2*pi*t)
z: A*sin(n*2*pi*t)
t1: 0
t2: .999 (SW won't do a closed loop)
Sphere shaped coil with radius R and n wraps
x: R*((1^2  t^2)^.5)*cos(n*2*pi*t)
y: R*((1^2  t^2)^.5)*sin(n*2*pi*t)
z: R*t
t1: .999
t2: .999

Re: Equation driven curves: cool equations?
Christopher Thompson May 13, 2010 1:26 PM (in response to Mahir Abrahim)I am wondering how to model a wavespring using these equations in SolidWorks 2009 as I cannot open the SW2010 models:
Wave Spring with radius R, height A, and n waves
x: R*cos(2*pi*t)
y: R*sin(2*pi*t)
z: A*sin(n*2*pi*t)
t1: 0
t2: .999 (SW won't do a closed loop)
The image of the wavespring was done as a sweep without equations, and I suspect for a SW equation drive wave spring that three separate curves need to be created (one per equation). Do you have a SW2009 model example or something similar to upload for review? Also, can R (radius) & A (height) be defined using linked values or equations in the SW equation driven curve instead of using a number?

Re: Equation driven curves: cool equations?
Harold Brunt May 13, 2010 1:39 PM (in response to Christopher Thompson)
Re: Equation driven curves: cool equations?
Sreenath Varma Dec 2, 2010 2:29 PM (in response to Harold Brunt)Brunt 
Is it possible to create the wave spring of n turns with equations alone.
I saw a webpage (http://www.solidprofessor.com/blog/index.php?p=120) which tells me, it is possible to create the same using equation driven curves and a sweep. It also shows you how you can manipulate the coefficients of the equation driven curve to create the geometry you’re looking for. But unfortunately, I dont have a login to that website. Can anybody throw some light on this?
cheers

Re: Equation driven curves: cool equations?
Harold Brunt Dec 2, 2010 3:04 PM (in response to Sreenath Varma)I'm not aware that SW can create a curve that is a full revolution but I would like to be wrong! So would this poster:
https://forum.solidworks.com/thread/39207?tstart=30
I don't have access either.


Re: Equation driven curves: cool equations?
Victor Monje Apr 12, 2012 6:19 PM (in response to Harold Brunt)
Re: Equation driven curves: cool equations?
Mahir Abrahim Apr 13, 2012 10:45 AM (in response to Victor Monje)I don't have SolidWorks handy right now to test this out, but try this. You should be able to get the above shape by tweaking the r and w variables.
xt = (r1 + r2*cos(w2*pi*t)) * cos(w1*pi*t)
yt = (r1 + r2*cos(w2*pi*t)) * sin(w1*pi*t)
zt = h + r2* sin(w2*pi*t)
w1 = angular velocity of point around main torus diameter
w2 = angular velocity of point around the circular torus cross section
r1 = main torus radius
r2 = torus cross section radius
h = height above the z = 0 plane

Re: Equation driven curves: cool equations?
Marcos Rodríguez Sep 12, 2018 6:50 AM (in response to Mahir Abrahim)Hi Mahir,
Amazing the level of maths,your equations looks great!!
I've developed a macro that uses the toiroidical helicoidal to help designing a worm wheel.
Worm wheel sweep path and involute
will use your equations for the globoide options.
Regards.

Re: Equation driven curves: cool equations?
Mahir Abrahim Sep 12, 2018 9:47 AM (in response to Marcos Rodríguez)Thanks. I probably looked up the formula on Wikipedia or something



Re: Equation driven curves: cool equations?
Mahir Abrahim Apr 14, 2012 1:52 PM (in response to Victor Monje)
Re: Equation driven curves: cool equations?
Harold Brunt Apr 17, 2012 10:12 AM (in response to Mahir Abrahim)This is great Mahir. I'm looking forward to messing around with these!
Harold

Re: Equation driven curves: cool equations?
Steve Martinez Nov 25, 2013 12:33 PM (in response to Harold Brunt)Hi Harold, Your equation for the wave spring worked, I'm pretty new to this and dont really understand the equations properly although I can mess around with them to get cool, but unpredictable results! MY aim is to make a wave spring that tapers inwards, I suppose you could call it a conical wave spring. I'm sure these dont exist in real life but do you think it would be possible to produce in solidworks?
If you can help me out I'll make sure to give you credit for my design!
Thanks.


Re: Equation driven curves: cool equations?
Victor Monje Apr 17, 2012 11:11 AM (in response to Mahir Abrahim)ThanksMahir, the equation worked great, I was able to get the same results you did, I also did notice that once the curve is created the curve does not seen to be level. Is there a way to make this curve level?
Thanks.

Re: Equation driven curves: cool equations?
Mahir Abrahim Apr 17, 2012 11:34 AM (in response to Mahir Abrahim)You're welcome, Victor. What do you mean by it's not level? I don't have SW available to me at the moment, but in theory the shape as a whole should be parallel to the XY plane.

Re: Equation driven curves: cool equations?
Victor Monje Apr 17, 2012 11:49 AM (in response to Mahir Abrahim)My mistake, I’ve reentered the equation into a new part and it’s now fixed.
Thanks.


Re: Equation driven curves: cool equations?
Victor Monje Aug 9, 2012 12:52 PM (in response to Mahir Abrahim)
Re: Equation driven curves: cool equations?
Mahir Abrahim Aug 9, 2012 3:48 PM (in response to Victor Monje)Sounds doable, but I don't have the time right now. It would involve obtaining the 3D derivative of the original function in X, Y, and Z in order to know the direction of the curve at any given time. Then, you could use that to add a slight sinusoidal perturbation on a plane normal to the direction of the tangent/derivate.

Re: Equation driven curves: cool equations?
Mahir Abrahim Aug 10, 2012 11:54 AM (in response to Victor Monje)Or you could add just a simple perturbation that oscillates on 2 or 3 axes independent of the direction of the base curve. It would be like ading a small starfish or spike ball shape that varies in time on top of your base curve.





Re: Equation driven curves: cool equations?
Marcos Rodríguez Sep 12, 2018 6:00 AM (in response to Christopher Thompson)



Re: Equation driven curves: cool equations?
Craig Gilbreath Apr 19, 2012 9:41 AM (in response to Kevin De Smet)
Re: Equation driven curves: cool equations?
Jeremy Feist Apr 19, 2012 9:49 AM (in response to Craig Gilbreath) 
Re: Equation driven curves: cool equations?
Mahir Abrahim Apr 19, 2012 10:02 AM (in response to Craig Gilbreath)Close. Jeremy forgot to square the x.
yx = .000010845*x^2 + .5

Re: Equation driven curves: cool equations?
Craig Gilbreath Apr 19, 2012 10:06 AM (in response to Mahir Abrahim)THANK YOU Mahir! I was wondering why the curve wasnt really "curving" when I input the other equation that did not square the x.
I really need to take some time to understand this function of SW. It really is an amazing tool seeing what you guys have come up with just on this one thread!

Re: Equation driven curves: cool equations?
Jeremy Feist Apr 19, 2012 10:08 AM (in response to Mahir Abrahim)



Re: Equation driven curves: cool equations?
Mustaqim Ahmat Mar 1, 2015 10:29 PM (in response to Kevin De Smet)
Re: Equation driven curves: cool equations?
Mustaqim Ahmat Mar 1, 2015 10:29 PM (in response to Mustaqim Ahmat)Only the y(x) not including the R^2


Re: Equation driven curves: cool equations?
Adam Donovan Jul 16, 2015 8:54 AM (in response to Kevin De Smet)I'm looking for a way to generate a exponential curve for a small ultrasonic horn. The horn should be roughly looking like the one in Fig:6 in the following link. Section 81 Problems
As my math is a little rusty would anyone be willing to perhaps guide me or give a solution?
Im going to 3D print these with an SLA printer and can do a bit of trail and error with the SPL I get from the curves.

Re: Equation driven curves: cool equations?
Ben Ben Apr 28, 2016 7:10 AM (in response to Kevin De Smet)Simple question (hopefully)
I'm needing to learn an equation to do a simple tapered helix. To control lead in and wash out when using the new threading tool.
I simply need to know how to control:
 starting diameter
 end diameter
 pitch
 revolution
any help would be much appreciated.