You are on page 1of 11

12/22/2016 Equations 

for Curves (and more) | PTC Community

All Place > Creo > Document

quation for Curve (and more) Verion 1

Created  Kevinraderr on Fe 2, 2012 8:11 AM. Lat modified  Kevinraderr on Fe 2, 2012 11:24 AM.

I wish I had found a list like this a few years ago.  I've searched the web and compiled the following

list for your enjoyment.  Many are probably considered basic with a few very cool, complex curves

thrown in.  The list is divided into the coordinate systems that you will have to choose when

creating the datum curve.

 
To initiate the command that will allow you to try these, go to Insert>Model Datum>Curve>From

Equation. 

 
 After the Equations section see the section title Links to find PlanetPTC discussions and videos

that have demonstrated and, in some cases, explained the curve from equation command in more

detail with ways to incorporate relations and parameters.

 
 Attached is a Creo Elements/Pro 5.0 part file with all of the equations included.

 
In the comment, pleae hare an equation or link that ou know.  Other uggetion are welcome,

too.

QUATION
 
Carteian Coordinate:  x, , & z
The z variale i not necear, ut when ued will give the curve that extra dimenion. If
in dout, tr z = t*10.
ine
Carteian coordinate
x = 50 * t
 = 10 * in (t * 360)
Rhodonea
Carteian coordinate
theta = t * 360 * 4
x = 25 + (10-6) * co (theta) +10 * co ((10/6-1) * theta)

https://www.ptcusercommunity.com/docs/DOC­2499 1/11
12/22/2016 Equations for Curves (and more) | PTC Community

 = 25 + (10-6) * in (theta) - 6 * in ((10/6-1) * theta)
Involute
Carteian coordinate
r = 1
ang = 360 * t
 = 2 * pi * r * t
x0 =  * co (ang)
0 =  * in (ang)
x = x0 +  * in (ang)
 = 0- * co (ang)
Logarithmic
Carteian coordinate
z = 0
x = 10 * t
 = log (10 * t +0.0001)
Doule Arc piccloid
Carteian coordinate
l = 2.5
 = 2.5
x = 3 *  * co (t * 360) + l * co (3 * t * 360)
Y = 3 *  * in (t * 360) + l * in (3 * t * 360)
tar outhound
Carteian coordinate
a = 5
x = a * (co (t * 360)) ^ 3
 = a * (in (t * 360)) ^ 3
Leaf
Carteian coordinate
a = 10
x = 3 * a * t / (1 + (t ^ 3))
 = 3 * a * (t ^ 2) / (1 + (t ^ 3))
Helix
Carteian coordinate
x = 4 * co (t * (5 * 360))
 = 4 * in (t * (5 * 360))
z = 10 * t
Paraolic
Carteian coordinate
x = (4 * t)
 = (3 * t) + (5 * t ^ 2)
z = 0
liptical Helix
Carteian coordinate
X = 4 * co (t * 3 * 360)

https://www.ptcusercommunity.com/docs/DOC­2499 2/11
12/22/2016 Equations for Curves (and more) | PTC Community

 = 2 * in (t * 3 * 360)
z = 5
Dic piral 1
Carteian coordinate
/* Inner Diameter
d = 10
/* Pitch
p = 5
/* Revolution
r = 5
/* Height; ue 0 for a 2D curve
h = 0
x = ((d/2 + p * r * t) * co ((r * t) * 360))
 = ((d / 2 + p * r * t) * in ((r * t) * 360))
z = t * h
utterfl
a=co(t*360)
=in(t*360)
c=co(4*t*360)
d=(in((1/12)*t*360))^5
x=*(exp(a)-2*c+d)
=a*(exp(a)-2*c+d)
Fih
a = co (t * 360)
 = in (t * 360)
/* A "c" increae the fih get fatter until it tranform into a figure 8.
c = 10
x = (C*a-20*(()^2)/1.5)
 = c * a * 
Cappa
/* "c" i a caling variale
c=20
/* Revolution
r=1
/* Height
h=0
x=c*co(t*r*360)*in(t*r*360)
=c*co(t*r*360)
z=t*h
tar
/* "a" & "" are caling variale
a=2
=2
/* If, r=2/3 ----> atroid
/* If, r=2 ----> ellipe; when a=, it a circle

https://www.ptcusercommunity.com/docs/DOC­2499 3/11
12/22/2016 Equations for Curves (and more) | PTC Community

/* r cannot equal 1
r=2/3
x=a*(co(t*360))^(2/r)
=*(in(t*360))^(2/r)
z=0
icorn
/* "c" i a caling variale.
c=5
a=co(t*360)
=in(t*360)
x=c*a
=c*(a^2)*(2+a)/(3+^2)
Talot
/* "c" i a caling variale.
c=10
a=co(t*360)
=in(t*360)
x=C*a*(1+exp(2)*(^2))
=C**(1+exp(2)*(^2))
 
 
 
Clindrical Coordinate:  r, theta, & z
piral
Clindrical coordinate
r = t
theta = 10 + t * (20 * 360)
z = t * 3
Circle piral Column
Clindrical coordinate
theta = t * 360
r = 10 +10 * in (6 * theta)
z = 2 * in (6 * theta)
Helical Wave
Clindrical coordinate
r = 5
theta = t * 3600
z = (in (3.5 * theta-90)) +24 * t
aket
Clindrical coordinate
r = 5 + 0.3 * in (t * 180) + t
theta = t * 360 * 30
z = t * 5
Dic piral 2
https://www.ptcusercommunity.com/docs/DOC­2499 4/11
12/22/2016 Equations for Curves (and more) | PTC Community

 
Clindrical coordinate
R = 50 + t * (120)
Theta = t * 360 * 5
Z = 0
Apple
Clindrical coordinate
a = 10
r = a * (1 + co (theta))
theta = t * 360
   
 
pherical Coordinate:  rho, theta, & phi
utterfl all
pherical coordinate
rho = 8 * t
theta = 360 * t * 4
phi = -360 * t * 8
pherical Helix
pherical coordinate
rho = 4
theta = t * 180
phi = t * 360 * 20
UFO
pherical coordinate
rho = 20 * t ^ 2
theta = 60 * log (30) * t
phi = 7200 * t
Unnamed
pherical coordinate
rho = 200 * t
theta = 900 * t
phi = t * 90 * 10
   
 
 
 
 

LINK
Perue the link for more equation and explanation a to how the work.
 
We Link
 

https://www.ptcusercommunity.com/docs/DOC­2499 5/11
12/22/2016 Equations for Curves (and more) | PTC Community

1. Involute Gear
2. Power Tool: Curve  quation
1. Thi give detail aout uing Pro/ dimenion reference in the equation to give it a
parametric touch.
 
Link to curve-from-equation Dicuion on PlanetPTC:
 
1.  Curve from quation ample for Newie
2.  Capto
3.  How to Create a Curve from the quation? Doe Anod Know?
4.  Datum Curve from quation Driven  Parameter
5.  Contant Force pring Model
6.  Involute Helical Gear Geometr
 
Link for related PlanetPTC content:
If ou think curve from equation are cool, then the following i right up our alle.  Thee
delve into the ue of variale ection weep and the trajpar variale.

 
1. From -learning with Vladimir Palff
1.  http://communitie.ptc.com/log/vpalff/2011/02/09/uer-defined-pring
2.  http://communitie.ptc.com/log/vpalff/2011/11/27/weep-and-trajpar
2.  Fun with Helical weep and Trajpar
3.  Conch hell in Creo Parametric
4.  How to Create Twited Wire
 

equation_curve.prt.1.zip
93.3 K

29459 View   Categorie:   Tag: reource, equation, curve

Average Uer Rating

(4 rating)

17 Comment

Frank.chiavone Fe 2, 2012 11:43 AM

Nice find!  thank for poting it.
https://www.ptcusercommunity.com/docs/DOC­2499 6/11
12/22/2016 Equations for Curves (and more) | PTC Community

 
Note:  I ugget downloading  uing the "View a PDF" utton in the "Action" menu
in the upper right of thi page.  That wa ou can cut & pate and tr ome out. 
Intereting tuff here.  Not a whole lot of practical application in mot cae (except
involute, etc.), ut ver cool for fun.

Action  Like (0)

Kevinraderr Fe 2, 2012 11:41 AM (in repone to Frank.chiavone)

Thank ou, the model that ou hared with me lead me to create thi
document.  I haven't et figured out how to recreate our model, ut I have
redicovered m interet in the curve from equation command.  However, I
am aware that ou ued a different method to create our geometr.  Mae
(or, hopefull) ou'll hare it with u later.

Action  Like (0)

Frank.chiavone Fe 2, 2012 11:52 AM (in repone to Kevinraderr)

I'm kind of waiting to ee if omeone from PTC can't tell me how ome
of them, in particular, the wav-waher, 3rd_curve and the
coiled_piral were created.     How did I get the trajector in the latter
to circle ack on itelf 4 time without failing?  

Action  Like (0)

rianMartin Fe 2, 2012 5:19 PM

Thank for the pot Kevin. I actuall have a couple to add to our lit. I dicovered one
reall cool equation while tring to help omeone ele on Planet PTC> I haven't gotten
a chance to write it up et o I haven't poted it. When I do I'll end it to ou, too o ou
can include it in our document (if ou'd like).
 
Thank!
-rian

Action  Like (1)

Kevinraderr Fe 3, 2012 5:09 AM (in repone to rianMartin)

I aolutel want them and will add them to the document.  That goe for
everone.  In time, I think I will alo add image for each curve o a uer,
without having to tr all of them, could decide which one the want to
experiment with.

Action  Like (1)

riantoddard Ma 3, 2012 5:41 PM

l = 2.5
 = 2.5
x = 3 *  * co (t * 360) + l * co (3 * t * 360)
Y = 3 *  * in (t * 360) + l * in (3 * t * 360)
 

https://www.ptcusercommunity.com/docs/DOC­2499 7/11
12/22/2016 Equations for Curves (and more) | PTC Community

I have a quetion aout the Doule Arc piccloid.  I'm looking to make a 4 arc
verion.  aed on our equation, the (3 * t * 360) would change to (5 * t * 360).  What
I'm unclear aout i the ret of the formula.  The aic formula to create a epiccloid
i:
 
x = (R + r) co theta - r co ((k + 1) theta)
 = (R+ r) in theta - r in ((k + 1) theta)
 
Where R = radiu of the circle eing revolved around, r = radiu of the circle revolving
around the R circle and k = the numer of arc.
 
What doe "l" and "" tand for in our equation?  It look like "l" tand for the "r",
ut I'm not ure aout the "". Alo, what i the 3 hown efore the "" uppoed to
tand for? 
 
The outide diameter at the tangent point of the arc for m project i .7874 (or 2 cm).
 
Alo, do ou have a formula for creating a hpoccloid?
 
Thank.
rian

Action  Like (0)

Kevinraderr Ma 3, 2012 7:00 PM (in repone to riantoddard)

Thee equation aren't m own, ut I can hed ome light on them with the
caveat that I don't have acce to Creo and the equation anmore--If I did I
could anwer our quetion etter.
 
Anwa, the l &  from the equation are jut multiplier, if I rememer
correctl. In order to maintain the deired hape of the curve, I think the
intention wa to onl change the l &  value, there modifing the ize of the
curve, et till eing ale to call it a doule arc epiccloid.  ecaue if ou
change the other value then the hape no longer deerve that name (I
think).  Did I make an ene?
 
rian or Frank, from the pot aove, ma e ale to help more.
 
Thank for repling.  It' a fun feature to pla around with.

Action  Like (0)

riantoddard Ma 4, 2012 11:36 AM

Firt, it would help if I poted the equation correctl.
 
x = r (k+1) co theta - r co ((k+1) theta)
 = r (k+1) in theta - r in ((k+1) theta)
 
Anwa, I figured out that oth "l" and "" are oth the ame repreentation of "r". 
Changing them to the value I needed and changing each of the 3' to 5' (which i the
k+1 value) made it work.  Thank for the input.

Action  Like (0)

https://www.ptcusercommunity.com/docs/DOC­2499 8/11
12/22/2016 Equations for Curves (and more) | PTC Community

AmandaPatopoulou Dec 23, 2012 12:54 PM

hello!
 
I would deepl appreciate our help, a I am new to inerting equation into Pro .
 
What i the carteian or clindrical equation for Logarithmic piral that I hould enter
to the ptogram?!?!?
elow the equation
 
http://mathdl.maa.org/image/upload_lirar/23/picado/eahell/epiraleng.html

Action  Like (0)

ptc-4967783 Fe 17, 2014 8:34 PM

Greeting,
 
I've een tring to turn the following into a functional epiccloidal curve from
equation ut have hit a wall:

I've reduced it to the following after tring it in it original format ut it till low up
at zero, rotate the epiccloid CCW 5° or o and generall in't the correct curve. Thi
requet for help ma e eond the cope of thi forum in which cae I'd e willing to
talk conulting term. Thank ou.
 
A = 90
 = 12
C = 11
D = 3
 
x = A*co(t*360) - *co((t*360) + atan ((in(1-C)*(t*360)) /  (A/(D*C) - co(1-C)*
(t*360)))) - D*co(C*(t*360))
 
 = -A*in(t*360) + *in((t*360) + atan ((in(1-C)*(t*360)) / (A/(D*C) - co(1-C)*
(t*360)))) + D*in(C*(t*360))

Action  Like (0)

knagarjun Apr 11, 2015 3:01 AM

thank lot finall i got aout the equation for curve

Action  Like (0)

tleati Jun 7, 2016 7:50 AM

https://www.ptcusercommunity.com/docs/DOC­2499 9/11
12/22/2016 Equations for Curves (and more) | PTC Community

Hello,
 
do ou know whether it i poile to plit the range of t into multiple interval?
for example I would like to et:
for 0<t<0.5
x=0
=t
 
for 0.5<t<1
x=t
=t^2
 
I would reall need thi ecaue if I uild thee two piece with two eparate curve
and then merge them with the "Cop - evaluation" command, an ketch projecting
the unified curve will alwa ee it a two eparate piece and thi caue me
prolem in ketch reference when the curve themelve change.
 
thank
e

Action  Like (0)

TomUminn Jun 13, 2016 9:24 AM (in repone to tleati)

hort anwer, no.  You can create the IF tatement for the different range
ut the do not get evaluated correctl.
 
Long anwer from PTC:
"The relation for trajpar doe not upport range (change of function on
different piece of the trajector, implemented with 'if' tatement).
uggeted uing multiple variale ection weep feature, with famil
tale, or defining geometrical reak in the trajector."

Action  Like (0)

tleati Jun 15, 2016 1:07 AM (in repone to TomUminn)

Hello Tom,
 
thank for our tip. What do ou exactl mean with "the do not get
evaluated correctl"?.
 
Alo, how could I define geometrical reak ?  trimming the curve?
 
e

Action  Like (0)

TomUminn Jun 15, 2016 5:17 AM (in repone to tleati)

What do ou exactl mean with "the do not get
evaluated correctl"?

Well, I'm not a developer ut from what I can tell the curve
generator dnamicall adjut how man location it need to

https://www.ptcusercommunity.com/docs/DOC­2499 10/11
12/22/2016 Equations for Curves (and more) | PTC Community

evaluate 't' for aed on the reult of the previou
evaluation.  It will progreivel reduce the tep ize (down to
ome minimum) until it meet ome tpe of fitting criteria.  I
don't know the exact algorithm, ut if the firt ection of the
curve ue an equation that make it flat, then the entire curve
will end up flat, regardle of what the equation for the other
ection might e.

how could I define geometrical reak ?  trimming
the curve?

Ye, exactl.

Action  Like (0)

Jame62 Jun 13, 2016 11:09 AM (in repone to tleati)

Not reall ure what' "Cop - evaluation" command, ut tr earching for a
term "Compoite curve".

Action  Like (0)

tleati Jun 15, 2016 1:09 AM (in repone to Jame62)

Hello Jame,
 
with Cop-valuation I wa meaning the action of electing the curve
(which highlight in green), Ctrl+C, then Ctrl+V and the cop evaluation
menu open (where ou can add more curve to the copied one).
 
e

Action  Like (0)

Home | Aout | Contact | Communit Help | Term of Ue | Legal Copright © 2015 PTC Inc. |
Policie

https://www.ptcusercommunity.com/docs/DOC­2499 11/11

You might also like