cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Sawtooth Wave Curve on a Cylinder Using Curve From Equation

SOLVED
Highlighted
Newbie

Sawtooth Wave Curve on a Cylinder Using Curve From Equation

Hello,

 

I'm attempting to create a sawtooth wave curve that is on a cylinder using the Curve:From Equation feature.  This requires the use of the floor() function which does not seem to work properly for some reason.  My equation is as below:

 

R = Constant Parameter equal to the cylinder OD

THETA = 360*t

z = .125*((t/20*360)-floor(t/20*360))

 

Z should give me an oscillating sawtooth wave of amplitude .125 with 20 total oscillations along the length of the curve if I am understanding it properly.  However no curve appears and the feature fails when attempting to build.  Even when I set the equation to z = floor(1) (which should give me a circle at z = 1) I get a failed curve.  I'm not sure what the issue is and why floor() seems to fail the feature.  In the parameters section underneath the the input window it will even list the value of Z as 1 when inputting floor(1) and the feature still fails.  Is there a setting that is the problem possibly? 

 

Thanks,

Joseph Seymour

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Sawtooth Wave Curve on a Cylinder Using Curve From Equation

I get a message saying "floor" cannot be used in equations.  I would say you are out of luck with that method.  I would suggest making one ramp and patterning it about the axis.  Make the backside of the tooth and pattern.  Then create a single copy of all of the curves.Capture.JPG


Creo is an endless adventure: Always more to learn.

View solution in original post

2 REPLIES 2
Highlighted

Re: Sawtooth Wave Curve on a Cylinder Using Curve From Equation

I get a message saying "floor" cannot be used in equations.  I would say you are out of luck with that method.  I would suggest making one ramp and patterning it about the axis.  Make the backside of the tooth and pattern.  Then create a single copy of all of the curves.Capture.JPG


Creo is an endless adventure: Always more to learn.

View solution in original post

Highlighted

Re: Sawtooth Wave Curve on a Cylinder Using Curve From Equation

That's unfortunate, thanks for your help.

Announcements