FullControl JS
    Preparing search index...

    Class Point

    Represents a spatial coordinate and its associated toolpath state.

    The Point class is the fundamental building block of all FullControl designs. It stores X, Y, and Z coordinates along with optional extrusion and speed overrides.

    Hierarchy

    • BaseModelPlus
      • Point
    Index

    Constructors

    Properties

    color?: [number, number, number]

    Optional RGB array for rendering this specific point in visualization.

    extrude?: boolean

    Set to true to extrude to this point, or false for a travel move.

    speed?: number

    Override the current printer feedrate specifically for this movement.

    x?: number

    The X coordinate in millimeters.

    y?: number

    The Y coordinate in millimeters.

    z?: number

    The Z coordinate in millimeters.

    typeName: "Point" = 'Point'

    Methods

    • Parameters

      • state: any

      Returns string | undefined

    • Returns {
          color: [number, number, number] | undefined;
          extrude: boolean | undefined;
          speed: number | undefined;
          x: number | undefined;
          y: number | undefined;
          z: number | undefined;
      }

    • Parameters

      • source: any

      Returns void

    • Update color based on color_type setting Matches Python: fullcontrol.visualize.point.Point.update_color()

      Parameters

      • state: any
      • plotData: any
      • plotControls: any

      Returns void

    • Parameters

      • source: any

      Returns void

    • Visualization method - processes a Point for plot data Matches Python: fullcontrol.visualize.point.Point.visualize()

      Parameters

      • state: any
      • plotData: any
      • plotControls: any

      Returns void