Equations For Curves (And More) - PTC Community
Equations For Curves (And More) - PTC Community
Equations For Curves (And More) - PTC Community
for Curves (and more) | PTC Community
All Place > Creo > Document
quation for Curve (and more) Verion 1
Created Kevinraderr on Fe 2, 2012 8:11 AM. Lat modified Kevinraderr 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, pleae hare an equation or link that ou know. Other uggetion are welcome,
too.
QUATION
Carteian Coordinate: x, , & z
The z variale i not necear, ut when ued will give the curve that extra dimenion. If
in dout, tr z = t*10.
ine
Carteian coordinate
x = 50 * t
= 10 * in (t * 360)
Rhodonea
Carteian coordinate
theta = t * 360 * 4
x = 25 + (10-6) * co (theta) +10 * co ((10/6-1) * theta)
https://www.ptcusercommunity.com/docs/DOC2499 1/11
12/22/2016 Equations for Curves (and more) | PTC Community
= 25 + (10-6) * in (theta) - 6 * in ((10/6-1) * theta)
Involute
Carteian coordinate
r = 1
ang = 360 * t
= 2 * pi * r * t
x0 = * co (ang)
0 = * in (ang)
x = x0 + * in (ang)
= 0- * co (ang)
Logarithmic
Carteian coordinate
z = 0
x = 10 * t
= log (10 * t +0.0001)
Doule Arc piccloid
Carteian 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 outhound
Carteian coordinate
a = 5
x = a * (co (t * 360)) ^ 3
= a * (in (t * 360)) ^ 3
Leaf
Carteian coordinate
a = 10
x = 3 * a * t / (1 + (t ^ 3))
= 3 * a * (t ^ 2) / (1 + (t ^ 3))
Helix
Carteian coordinate
x = 4 * co (t * (5 * 360))
= 4 * in (t * (5 * 360))
z = 10 * t
Paraolic
Carteian coordinate
x = (4 * t)
= (3 * t) + (5 * t ^ 2)
z = 0
liptical Helix
Carteian coordinate
X = 4 * co (t * 3 * 360)
https://www.ptcusercommunity.com/docs/DOC2499 2/11
12/22/2016 Equations for Curves (and more) | PTC Community
= 2 * in (t * 3 * 360)
z = 5
Dic piral 1
Carteian coordinate
/* Inner Diameter
d = 10
/* Pitch
p = 5
/* Revolution
r = 5
/* Height; ue 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)
Fih
a = co (t * 360)
= in (t * 360)
/* A "c" increae the fih get fatter until it tranform into a figure 8.
c = 10
x = (C*a-20*(()^2)/1.5)
= c * a *
Cappa
/* "c" i a caling variale
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 variale
a=2
=2
/* If, r=2/3 ----> atroid
/* If, r=2 ----> ellipe; when a=, it a circle
https://www.ptcusercommunity.com/docs/DOC2499 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 variale.
c=5
a=co(t*360)
=in(t*360)
x=c*a
=c*(a^2)*(2+a)/(3+^2)
Talot
/* "c" i a caling variale.
c=10
a=co(t*360)
=in(t*360)
x=C*a*(1+exp(2)*(^2))
=C**(1+exp(2)*(^2))
Clindrical Coordinate: r, theta, & z
piral
Clindrical coordinate
r = t
theta = 10 + t * (20 * 360)
z = t * 3
Circle piral Column
Clindrical coordinate
theta = t * 360
r = 10 +10 * in (6 * theta)
z = 2 * in (6 * theta)
Helical Wave
Clindrical coordinate
r = 5
theta = t * 3600
z = (in (3.5 * theta-90)) +24 * t
aket
Clindrical coordinate
r = 5 + 0.3 * in (t * 180) + t
theta = t * 360 * 30
z = t * 5
Dic piral 2
https://www.ptcusercommunity.com/docs/DOC2499 4/11
12/22/2016 Equations for Curves (and more) | PTC Community
Clindrical coordinate
R = 50 + t * (120)
Theta = t * 360 * 5
Z = 0
Apple
Clindrical 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
Perue the link for more equation and explanation a to how the work.
We Link
https://www.ptcusercommunity.com/docs/DOC2499 5/11
12/22/2016 Equations for Curves (and more) | PTC Community
1. Involute Gear
2. Power Tool: Curve quation
1. Thi give detail aout uing Pro/ dimenion reference in the equation to give it a
parametric touch.
Link to curve-from-equation Dicuion on PlanetPTC:
1. Curve from quation ample for Newie
2. Capto
3. How to Create a Curve from the quation? Doe Anod Know?
4. Datum Curve from quation Driven Parameter
5. Contant 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. Thee
delve into the ue of variale ection weep and the trajpar variale.
1. From -learning with Vladimir Palff
1. http://communitie.ptc.com/log/vpalff/2011/02/09/uer-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 Twited Wire
equation_curve.prt.1.zip
93.3 K
Average Uer Rating
(4 rating)
17 Comment
Frank.chiavone Fe 2, 2012 11:43 AM
Nice find! thank for poting it.
https://www.ptcusercommunity.com/docs/DOC2499 6/11
12/22/2016 Equations for Curves (and more) | PTC Community
Note: I ugget downloading uing the "View a PDF" utton in the "Action" menu
in the upper right of thi page. That wa ou can cut & pate and tr ome out.
Intereting tuff here. Not a whole lot of practical application in mot cae (except
involute, etc.), ut ver cool for fun.
Action Like (0)
Kevinraderr Fe 2, 2012 11:41 AM (in repone 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
redicovered m interet in the curve from equation command. However, I
am aware that ou ued a different method to create our geometr. Mae
(or, hopefull) ou'll hare it with u later.
Action Like (0)
Frank.chiavone Fe 2, 2012 11:52 AM (in repone to Kevinraderr)
I'm kind of waiting to ee if omeone from PTC can't tell me how ome
of them, in particular, the wav-waher, 3rd_curve and the
coiled_piral were created. How did I get the trajector in the latter
to circle ack on itelf 4 time without failing?
Action Like (0)
rianMartin Fe 2, 2012 5:19 PM
Thank for the pot Kevin. I actuall have a couple to add to our lit. I dicovered one
reall cool equation while tring to help omeone ele on Planet PTC> I haven't gotten
a chance to write it up et o I haven't poted 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)
Kevinraderr Fe 3, 2012 5:09 AM (in repone to rianMartin)
I aolutel want them and will add them to the document. That goe for
everone. In time, I think I will alo add image for each curve o a uer,
without having to tr all of them, could decide which one the want to
experiment with.
Action Like (1)
riantoddard 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/DOC2499 7/11
12/22/2016 Equations for Curves (and more) | PTC Community
I have a quetion aout the Doule Arc piccloid. I'm looking to make a 4 arc
verion. aed on our equation, the (3 * t * 360) would change to (5 * t * 360). What
I'm unclear aout i the ret of the formula. The aic formula to create a epiccloid
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 numer of arc.
What doe "l" and "" tand for in our equation? It look like "l" tand for the "r",
ut I'm not ure aout the "". Alo, what i the 3 hown efore the "" uppoed to
tand for?
The outide diameter at the tangent point of the arc for m project i .7874 (or 2 cm).
Alo, do ou have a formula for creating a hpoccloid?
Thank.
rian
Action Like (0)
Kevinraderr Ma 3, 2012 7:00 PM (in repone to riantoddard)
Thee 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 anmore--If I did I
could anwer our quetion etter.
Anwa, the l & from the equation are jut multiplier, if I rememer
correctl. In order to maintain the deired hape of the curve, I think the
intention wa to onl change the l & value, there modifing the ize of the
curve, et till eing ale to call it a doule arc epiccloid. ecaue if ou
change the other value then the hape no longer deerve that name (I
think). Did I make an ene?
rian or Frank, from the pot aove, ma e ale to help more.
Thank for repling. It' a fun feature to pla around with.
Action Like (0)
riantoddard Ma 4, 2012 11:36 AM
Firt, it would help if I poted the equation correctl.
x = r (k+1) co theta - r co ((k+1) theta)
= r (k+1) in theta - r in ((k+1) theta)
Anwa, I figured out that oth "l" and "" are oth the ame repreentation 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/DOC2499 8/11
12/22/2016 Equations for Curves (and more) | PTC Community
AmandaPatopoulou Dec 23, 2012 12:54 PM
hello!
I would deepl appreciate our help, a I am new to inerting equation into Pro .
What i the carteian or clindrical equation for Logarithmic piral that I hould enter
to the ptogram?!?!?
elow the equation
http://mathdl.maa.org/image/upload_lirar/23/picado/eahell/epiraleng.html
Action Like (0)
ptc-4967783 Fe 17, 2014 8:34 PM
Greeting,
I've een tring to turn the following into a functional epiccloidal curve from
equation ut have hit a wall:
I've reduced it to the following after tring it in it original format ut it till low up
at zero, rotate the epiccloid CCW 5° or o and generall in't the correct curve. Thi
requet for help ma e eond the cope of thi forum in which cae I'd e willing to
talk conulting 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 aout the equation for curve
Action Like (0)
tleati Jun 7, 2016 7:50 AM
https://www.ptcusercommunity.com/docs/DOC2499 9/11
12/22/2016 Equations for Curves (and more) | PTC Community
Hello,
do ou know whether it i poile 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 ecaue if I uild thee 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 caue me
prolem in ketch reference when the curve themelve change.
thank
e
Action Like (0)
TomUminn Jun 13, 2016 9:24 AM (in repone to tleati)
hort anwer, no. You can create the IF tatement for the different range
ut the do not get evaluated correctl.
Long anwer from PTC:
"The relation for trajpar doe not upport range (change of function on
different piece of the trajector, implemented with 'if' tatement).
uggeted uing multiple variale ection weep feature, with famil
tale, or defining geometrical reak in the trajector."
Action Like (0)
tleati Jun 15, 2016 1:07 AM (in repone to TomUminn)
Hello Tom,
thank for our tip. What do ou exactl mean with "the do not get
evaluated correctl"?.
Alo, how could I define geometrical reak ? trimming the curve?
e
Action Like (0)
TomUminn Jun 15, 2016 5:17 AM (in repone 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 dnamicall adjut how man location it need to
https://www.ptcusercommunity.com/docs/DOC2499 10/11
12/22/2016 Equations for Curves (and more) | PTC Community
evaluate 't' for aed on the reult of the previou
evaluation. It will progreivel reduce the tep ize (down to
ome minimum) until it meet ome tpe of fitting criteria. I
don't know the exact algorithm, ut if the firt ection of the
curve ue 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)
Jame62 Jun 13, 2016 11:09 AM (in repone to tleati)
Not reall ure what' "Cop - evaluation" command, ut tr earching for a
term "Compoite curve".
Action Like (0)
tleati Jun 15, 2016 1:09 AM (in repone to Jame62)
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 | Aout | Contact | Communit Help | Term of Ue | Legal Copright © 2015 PTC Inc. |
Policie
https://www.ptcusercommunity.com/docs/DOC2499 11/11