FullControl JS
    Preparing search index...

    Function ramp_xyz

    • Linearly interpolates a spatial change across an array of points.

      Useful for gradually changing the Z-height of a flat path (e.g. creating a continuous slope).

      Parameters

      • list: Point[]

        The array of Points to modify.

      • x_change: number = 0

        Total cumulative X delta applied by the end of the array.

      • y_change: number = 0

        Total cumulative Y delta applied by the end of the array.

      • z_change: number = 0

        Total cumulative Z delta applied by the end of the array.

      Returns Point[]

      The modified array of Points.