mgear.core.fcurve module

mgear.core.fcurve.getFCurveValues(fcv_node, division, factor=1)

Get X values evenly spaced on the FCurve.

Parameters:
  • fcv_node (pyNode or str) – The FCurve to evaluate.

  • division (int) – The number of division you want to evaluate on the FCurve.

  • factor (float) – Multiplication factor. Default = 1. (optional)

Returns:

The values in a list float.

Return type:

list of float

>>> self.st_value = fcu.getFCurveValues(self.settings["st_profile"],
                                        self.divisions)