//-/////////////////////////////////////////////////////////////////////////////
//-                                                                           //
//-               This file is part of the Buildbotics firmware.              //
//-                                                                           //
//-      Copyright (c) 2015 - 2021, Buildbotics LLC, All rights reserved.     //
//-                                                                           //
//-       This Source describes Open Hardware and is licensed under the       //
//-                               CERN-OHL-S v2.                              //
//-                                                                           //
//-       You may redistribute and modify this Source and make products       //
//-  using it under the terms of the CERN-OHL-S v2 (https:/cern.ch/cern-ohl). //
//-         This Source is distributed WITHOUT ANY EXPRESS OR IMPLIED         //
//-  WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS //
//-   FOR A PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 for applicable   //
//-                                conditions.                                //
//-                                                                           //
//-              Source location: https://github.com/buildbotics              //
//-                                                                           //
//-    As per CERN-OHL-S v2 section 4, should You produce hardware based on   //
//-  these sources, You must maintain the Source Location clearly visible on  //
//-  the external case of the CNC Controller or other product you make using  //
//-                                this Source.                               //
//-                                                                           //
//-              For more information, email info@buildbotics.com             //
//-                                                                           //
//-/////////////////////////////////////////////////////////////////////////////

script#viewer-help-dialog-template(type="text/x-template")
  .viewer-help-dialog
    dialog(v-ref:dialog, header="3D Viewer Help", width="500px")
      div(slot="body")
        h2 Mouse Controls
        table
          tr
            th Left Mouse
            td Hold and drag to rotate
          tr
            th Middle Mouse
            td Hold and drag to zoom
          tr
            th Right Mouse
            td Hold and drag to pan
          tr
            th Mouse Wheel
            td Zoom in and out

        h2 Dimensions
        p.
          Dimensions are displayed in the currently selected units which
          can be changed on the #[a(href="#settings:general") SETTINGS page].

        h2 Grid
        p.
          The grid lies along on the X/Y plane.  The spacing is 10mm when
          metric units are selected and 1in for imperial units.

        h2 LASER Raster
        p.
          When enabled, the #[em LASER Raster] setting colors #[tt G0] moves
          according to the current GCode #[tt S] value or speed setting.  Many
          LASERS use #[tt S] to set LASER intensity.  This allows you to
          visualize what a LASER rastering program will burn onto the
          workpiece.
