FullControl JS
    Preparing search index...

    Function transform

    • Processes an array of geometric steps into G-code or Visualization Plot Data.

      This is the primary FullControl rendering pipeline. It resolves state, overrides, extrusions, and feedrates into a continuous machine toolpath.

      Parameters

      • steps: any[]

        The geometric toolpath sequence (array of Point or geometry lists).

      • result_type: "gcode" | "plot" = 'gcode'

        Output format: 'gcode' or 'plot' (3D preview).

      • controls: Partial<GcodeControls> | Partial<PlotControls> = {}

        Optional initialization parameters (e.g., printer_name).

      Returns TransformResult

      A result object containing the generated G-code, plot data, and final pipeline state.