gcode-preview - v3.0.0-alpha.3
    Preparing search index...

    Class GCodeVector3

    Represents a 3D vector in GCode coordinates that is easily convertible to Three.js Vector3. This is a convenience class. Care should be taken when many allocations are made.

    Hierarchy

    • Vector3
      • GCodeVector3
    Index

    Constructors

    Methods

    Constructors

    Methods

    • map from GCode coordinates to Three.js Vector3 GCode uses (X, Y, Z) while Three.js uses (X, Z, Y) also the Y in GCode goes to the back, while in Three.js Z goes to the front

      Returns Vector3

      Vector3