Creating Functions from Sketches

You can create splines or curves in sketches and use them to define functions.

It is then possible to drive the position or an angle of a joint. For more information, see Using 2D Plots.


Before you begin: Open the Part Design app and create a sketch including a spline or a curve. For more information, see 3D Modeling | 3D Modeling Core | Part Design | Part Design | Creating Positioned Sketches.
Note: You can use curves that include multiple segments to create functions.
See Also
About Functions
  1. From the Mechanism section of the action bar, click Function .
  2. Select From Sketch as the function type to create.
  3. In the Physical Quantities section, define the independent physical quantity of the function:
    1. In the first field next to the Independent, x field, specify a value corresponding to the independent physical quantity in the sketch.

      The Independent, x physical quantity can only be time.

    2. In the second field, specify the corresponding function value for the independent physical quantity.

      The app converts the sketch units into function units. For example, if you specify 1mm as the length for the sketch value:

      • The default function value is 1s .
      • The app converts 1mm of the sketch into 1s as the value of the Dependent, F(x) function.


  4. Define the dependent physical quantity of the function:
    1. In the Dependent, F(x) field, select a type of quantity for the output value.
    2. In the first field next to the Dependent, F(x) field, specify a value for the independent physical quantity in the sketch.
    3. In the second field, specify the corresponding value for the independent physical quantity of the function.

  5. In the Definition section, select a sketch curve from the work area.
  6. Expand Scale and Offset, and then specify a value for the scale and offset of the x and F(x) variables.

    By default, the scale values correspond to 1 and the offset values correspond to 0. The offset values adapt to the respective x and F(x) scale values.