Creating a Curve from its Equation

You can create a curve by defining its equation as a law.


Before you begin: You must have access to the Knowledge Advisor product. Ensure that the Relations and Parameters options are selected in the Tools > Options > Infrastructure > 3D Shape Infrastructure > Display tab.
Related Topics
Working with a Support
  1. In the Generative Shape Design workbench, define a Working with a Support using Work on Support .

    The Work On Support dialog box appears.

  2. In the Support box, select the yz plane, for instance, and click OK without modifying any other parameter.

    The Working Support.1 is created, and the system automatically moves into this plane. You now want to create a horizontal line as the abscissa axis.

  3. Click Line .

    The Line dialog box appears.

  4. Right-click in the Point 1 box, and choose the Insert Wireframe > Create Point.



    The Point Definition dialog box appears, the Point type and Plane boxes being automatically filled:



  5. Create a point at H:0mm and V:0mm, and click OK.

  6. Repeat the operation, right-click the Point 2 box from the Line Definition dialog box to create another point at H:100mm and V:0mm, then click OK in the Point Definition dialog box.

  7. Click OK in the Line Definition dialog box to create the line.



    Important: You can hide the grid by selecting the Hide grid check box from the Work On Support dialog box.

  8. From the Knowledge toolbar, click Law .

    The Law Editor dialog box appears in which you name the law to be created, give it a description and a storage location.

  9. Click OK.

    The Law Editor dialog box is updated. The right-hand part allows you to create the parameters to be used in the law. The left-hand part is the law edition box.

  10. Create two real type parameters FormalReal.1 and FormalReal.2, then enter the law below into the edition window: FormalReal.1 = 5*sin(5*PI*1rad*FormalReal.2)+ 10



  11. Click OK to create the law.

  12. In the Generative Shape Design workbench, click Parallel Curve .

    The Parallel Curve Definition dialog box appears.

  13. Select the line created in Step 7 as the reference Curve.

  14. Click Law... and select Law.1 from the specification tree.

  15. Click OK.



    A curve parallel to the selected one is created, taking the law into account, i.e. it is defined by the equation entered as a law using the Knowledge Advisor.