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
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.


