Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
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
Solved! Go to Solution.
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.
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.
That's unfortunate, thanks for your help.