Create and modify 3D models > Create 2D geometry > Example: Functional curves
  
Example: Functional curves
Creo Elements/Direct Modeling provides several methods for creating curves and circles. When you need to create a curve based on functional expressions, you should use the Function command. The following examples will show you how to use this command.
Draw a straight line
This example draws a straight line on the active workplane, like this:
1. Click Modeling and then, in the Draw group, click the arrow next to Spline.
2. Click Function in the Functional section. The Function dialog box opens.
3. Click Function and type 3*x.
4. Click Start and type 0.
5. Click End and type 10.
6. Click Tolerance and type 1e-6.
7. Click OK to complete the operation.
Draw a semicircle
This example draws a semicircle on the active workplane, like this:
1. Click Modeling and then, in the Draw group, click the arrow next to Spline.
2. Click Function in the Functional section. The Function dialog box opens.
3. Click Function and type sqrt(100-x^2).
4. Click Start and type -10.
5. Click End and type 10.
6. Click Tolerance and type 1e-6.
7. Click OK to complete the operation.
Draw a sinus curve
This example draws a sinus curve on the active workplane, like this:
1. Click Modeling and then, in the Draw group, click the arrow next to Spline.
2. Click Function in the Functional section. The Function dialog box opens.
3. Click Function and type sin(x).
4. Click Start and type -6.283185 (which is -2*pi).
5. Click End and type 6.283185 (which is 2*pi).
6. Click Tolerance and type 1e-6.
7. Click OK to complete the operation.