
set status [ SclFunction "BM EXIT" {
  frm20103={
    {
      exit_mode="S"
    }
  }
}]

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="4points1.str"
  mode="none"
}]

set status [ SclFunction "CLEAR SCREEN" {} ]

set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "DRAW DESC" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="20x20x1.mdl"
  mode="none"
}]

set status [ SclFunction "BM GRAPHICS DRAW" {
  frm20503={
    {
      display="normal"
      constraint="N"
      slice="N"
      rescale="N"
      all_blocks="N"
      cloud_marker="."
      cloud_size="4"
    }
  }
}]

set status [ SclFunction "ZOOM ALL" {} ]

set status [ SclFunction "BM FILL OK" {
  frm20030={
    {
      attname="ok_long_range"
    }
  }
  frm20601={
    {
      dist_att=""
      avgdist_att=""
      numsam_att=""
      kgvar_att="krig_var"
    }
  }
  frm20040={
    {
      datasrc="STRING FILE"
      location="4points"
      id="1"
      range="1"
      field="1"
      constrain="N"
    }
  }
  frm20080={
    {
      search="ELLIPSOID"
      minsamples="3"
      maxsamples="15"
      majordist="999"
      vertdist="999"
      const_by_id="N"
      majorbrg="0"
      dip="0"
      tilt="0"
      semimajfact="1"
      minorfact="1"
      string_file_source="true"
      rotationTypes="Surpac ZXY LRL"
      first_axis_rotation="L"
      sec_axis_rotation="R"
      third_axis_rotation="L"
      sec_axis="X"
      third_axis="Y"
    }
  }
  frm20101={
    {
      vg_model_file_name=""
      model="SPHERICAL"
      co="0"
      c1="1"
      a1="20"
      azimuth1="0"
      plunge1="0"
      dip1="0"
      semi_ratio1="1"
      minor_ratio1="1"
      dpt0="3"
      dpt1="3"
      dpt2="3"
      outfile="descretisation"
      report_format=".not - Surpac Note File"
      debug="Y"
      constrain="N"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]

set status [ SclFunction "BM GRAPHICS ATTRIBUTE COLOUR" {
  frm20504={
    {
      default_face="pink"
      default_edge="blue"
      attribute="krig_var"
      range="0,1,0.1"
      legend_location="left"
      legend_title="krig_var"
      numdecimals="2"
      block_model_transparency="N"
      zzzasd=table { color } {
        { "r=0.0 g=0.2 b=0.6" }
        { "r=0.152 g=0.486 b=0.721" }
        { "r=0.058 g=0.874 b=0.737" }
        { "r=0.031 g=0.741 b=0.388" }
        { "yellow" }
        { "r=0.964 g=0.776 b=0.027" }
        { "r=0.921 g=0.474 b=0.058" }
        { "r=0.8 g=0.2 b=0.0" }
        { "r=0.6 g=0.0 b=0.4" }
        { "r=0.8 g=0.0 b=0.8" }
      }
    }
  }
}]

set status [ SclFunction "BLOCK EDGES AND FACES" {
  frm01303={
    {
      edge="OFF"
      face="ON"
    }
  }
}]

set status [ SclFunction "LAYERS" {
  frm00193={
    {
      active_layer="4points1.str"
      global_visibility=""
      global_selectable=""
      global_faces=""
      global_edges=""
      global_shading=""
      global_edge_lighting=""
      global_colour_interpolation=""
      scroll=table { visibility selectable faces edges shading edge_lighting colour_interpolation } {
        { "on" "y" "on" "off" "none" "off" "on" }
        { "off" "y" "on" "off" "none" "off" "on" }
      }
    }
  }
}]

puts "##################################################"
puts "      3x3x3"
puts "      Click in graphics to continue."
puts "##################################################"
SclPause


set status [ SclFunction "BM EXIT" {
  frm20103={
    {
      exit_mode="S"
    }
  }
}]

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="4points1.str"
  mode="none"
}]

set status [ SclFunction "CLEAR SCREEN" {} ]

set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "DRAW DESC" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="20x20x1.mdl"
  mode="none"
}]

set status [ SclFunction "BM GRAPHICS DRAW" {
  frm20503={
    {
      display="normal"
      constraint="N"
      slice="N"
      rescale="N"
      all_blocks="N"
      cloud_marker="."
      cloud_size="4"
    }
  }
}]

set status [ SclFunction "ZOOM ALL" {} ]

set status [ SclFunction "BM FILL OK" {
  frm20030={
    {
      attname="ok_long_range"
    }
  }
  frm20601={
    {
      dist_att=""
      avgdist_att=""
      numsam_att=""
      kgvar_att="krig_var"
    }
  }
  frm20040={
    {
      datasrc="STRING FILE"
      location="4points"
      id="1"
      range="1"
      field="1"
      constrain="N"
    }
  }
  frm20080={
    {
      search="ELLIPSOID"
      minsamples="3"
      maxsamples="15"
      majordist="999"
      vertdist="999"
      const_by_id="N"
      majorbrg="0"
      dip="0"
      tilt="0"
      semimajfact="1"
      minorfact="1"
      string_file_source="true"
      rotationTypes="Surpac ZXY LRL"
      first_axis_rotation="L"
      sec_axis_rotation="R"
      third_axis_rotation="L"
      sec_axis="X"
      third_axis="Y"
    }
  }
  frm20101={
    {
      vg_model_file_name=""
      model="SPHERICAL"
      co="0"
      c1="1"
      a1="20"
      azimuth1="0"
      plunge1="0"
      dip1="0"
      semi_ratio1="1"
      minor_ratio1="1"
      dpt0="2"
      dpt1="2"
      dpt2="2"
      outfile="descretisation"
      report_format=".not - Surpac Note File"
      debug="Y"
      constrain="N"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]

set status [ SclFunction "BM GRAPHICS ATTRIBUTE COLOUR" {
  frm20504={
    {
      default_face="pink"
      default_edge="blue"
      attribute="krig_var"
      range="0,1,0.1"
      legend_location="left"
      legend_title="krig_var"
      numdecimals="2"
      block_model_transparency="N"
      zzzasd=table { color } {
        { "r=0.0 g=0.2 b=0.6" }
        { "r=0.152 g=0.486 b=0.721" }
        { "r=0.058 g=0.874 b=0.737" }
        { "r=0.031 g=0.741 b=0.388" }
        { "yellow" }
        { "r=0.964 g=0.776 b=0.027" }
        { "r=0.921 g=0.474 b=0.058" }
        { "r=0.8 g=0.2 b=0.0" }
        { "r=0.6 g=0.0 b=0.4" }
        { "r=0.8 g=0.0 b=0.8" }
      }
    }
  }
}]

set status [ SclFunction "BLOCK EDGES AND FACES" {
  frm01303={
    {
      edge="OFF"
      face="ON"
    }
  }
}]

set status [ SclFunction "LAYERS" {
  frm00193={
    {
      active_layer="4points1.str"
      global_visibility=""
      global_selectable=""
      global_faces=""
      global_edges=""
      global_shading=""
      global_edge_lighting=""
      global_colour_interpolation=""
      scroll=table { visibility selectable faces edges shading edge_lighting colour_interpolation } {
        { "on" "y" "on" "off" "none" "off" "on" }
        { "off" "y" "on" "off" "none" "off" "on" }
      }
    }
  }
}]

puts "##################################################"
puts "      2x2x2"
puts "      Click in graphics to continue."
puts "##################################################"
SclPause

set status [ SclFunction "BM EXIT" {
  frm20103={
    {
      exit_mode="S"
    }
  }
}]

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="4points1.str"
  mode="none"
}]

set status [ SclFunction "CLEAR SCREEN" {} ]

set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "DRAW DESC" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="20x20x1.mdl"
  mode="none"
}]

set status [ SclFunction "BM GRAPHICS DRAW" {
  frm20503={
    {
      display="normal"
      constraint="N"
      slice="N"
      rescale="N"
      all_blocks="N"
      cloud_marker="."
      cloud_size="4"
    }
  }
}]

set status [ SclFunction "ZOOM ALL" {} ]

set status [ SclFunction "BM FILL OK" {
  frm20030={
    {
      attname="ok_long_range"
    }
  }
  frm20601={
    {
      dist_att=""
      avgdist_att=""
      numsam_att=""
      kgvar_att="krig_var"
    }
  }
  frm20040={
    {
      datasrc="STRING FILE"
      location="4points"
      id="1"
      range="1"
      field="1"
      constrain="N"
    }
  }
  frm20080={
    {
      search="ELLIPSOID"
      minsamples="3"
      maxsamples="15"
      majordist="999"
      vertdist="999"
      const_by_id="N"
      majorbrg="0"
      dip="0"
      tilt="0"
      semimajfact="1"
      minorfact="1"
      string_file_source="true"
      rotationTypes="Surpac ZXY LRL"
      first_axis_rotation="L"
      sec_axis_rotation="R"
      third_axis_rotation="L"
      sec_axis="X"
      third_axis="Y"
    }
  }
  frm20101={
    {
      vg_model_file_name=""
      model="SPHERICAL"
      co="0"
      c1="1"
      a1="20"
      azimuth1="0"
      plunge1="0"
      dip1="0"
      semi_ratio1="1"
      minor_ratio1="1"
      dpt0="2"
      dpt1="2"
      dpt2="1"
      outfile="descretisation"
      report_format=".not - Surpac Note File"
      debug="Y"
      constrain="N"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]

set status [ SclFunction "BM GRAPHICS ATTRIBUTE COLOUR" {
  frm20504={
    {
      default_face="pink"
      default_edge="blue"
      attribute="krig_var"
      range="0,1,0.1"
      legend_location="left"
      legend_title="krig_var"
      numdecimals="2"
      block_model_transparency="N"
      zzzasd=table { color } {
        { "r=0.0 g=0.2 b=0.6" }
        { "r=0.152 g=0.486 b=0.721" }
        { "r=0.058 g=0.874 b=0.737" }
        { "r=0.031 g=0.741 b=0.388" }
        { "yellow" }
        { "r=0.964 g=0.776 b=0.027" }
        { "r=0.921 g=0.474 b=0.058" }
        { "r=0.8 g=0.2 b=0.0" }
        { "r=0.6 g=0.0 b=0.4" }
        { "r=0.8 g=0.0 b=0.8" }
      }
    }
  }
}]

set status [ SclFunction "BLOCK EDGES AND FACES" {
  frm01303={
    {
      edge="OFF"
      face="ON"
    }
  }
}]

set status [ SclFunction "LAYERS" {
  frm00193={
    {
      active_layer="4points1.str"
      global_visibility=""
      global_selectable=""
      global_faces=""
      global_edges=""
      global_shading=""
      global_edge_lighting=""
      global_colour_interpolation=""
      scroll=table { visibility selectable faces edges shading edge_lighting colour_interpolation } {
        { "on" "y" "on" "off" "none" "off" "on" }
        { "off" "y" "on" "off" "none" "off" "on" }
      }
    }
  }
}]

puts "##################################################"
puts "      2x2x1"
puts "      Click in graphics to continue."
puts "##################################################"
SclPause

set status [ SclFunction "BM EXIT" {
  frm20103={
    {
      exit_mode="S"
    }
  }
}]

set status [ SclFunction "EXIT GRAPHICS" {} ]

set status [ SclFunction "RECALL ANY FILE" {
  file="4points1.str"
  mode="none"
}]

set status [ SclFunction "CLEAR SCREEN" {} ]

set status [ SclFunction "DRAW MARKERS" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "DRAW DESC" {
  frm00089={
    {
      range1=""
      range2=""
      range3=""
      ifld_num="d1"
      textalignment="<"
      position="All points"
      legend_location="no legend"
      layer_name="4points1.str"
    }
  }
}]

set status [ SclFunction "RECALL ANY FILE" {
  file="20x20x1.mdl"
  mode="none"
}]

set status [ SclFunction "BM GRAPHICS DRAW" {
  frm20503={
    {
      display="normal"
      constraint="N"
      slice="N"
      rescale="N"
      all_blocks="N"
      cloud_marker="."
      cloud_size="4"
    }
  }
}]

set status [ SclFunction "ZOOM ALL" {} ]

set status [ SclFunction "BM FILL OK" {
  frm20030={
    {
      attname="ok_long_range"
    }
  }
  frm20601={
    {
      dist_att=""
      avgdist_att=""
      numsam_att=""
      kgvar_att="krig_var"
    }
  }
  frm20040={
    {
      datasrc="STRING FILE"
      location="4points"
      id="1"
      range="1"
      field="1"
      constrain="N"
    }
  }
  frm20080={
    {
      search="ELLIPSOID"
      minsamples="3"
      maxsamples="15"
      majordist="999"
      vertdist="999"
      const_by_id="N"
      majorbrg="0"
      dip="0"
      tilt="0"
      semimajfact="1"
      minorfact="1"
      string_file_source="true"
      rotationTypes="Surpac ZXY LRL"
      first_axis_rotation="L"
      sec_axis_rotation="R"
      third_axis_rotation="L"
      sec_axis="X"
      third_axis="Y"
    }
  }
  frm20101={
    {
      vg_model_file_name=""
      model="SPHERICAL"
      co="0"
      c1="1"
      a1="20"
      azimuth1="0"
      plunge1="0"
      dip1="0"
      semi_ratio1="1"
      minor_ratio1="1"
      dpt0="1"
      dpt1="1"
      dpt2="1"
      outfile="descretisation"
      report_format=".not - Surpac Note File"
      debug="Y"
      constrain="N"
    }
  }
  frm00121={
    {
      _action="apply"
    }
  }
}]

set status [ SclFunction "BM GRAPHICS ATTRIBUTE COLOUR" {
  frm20504={
    {
      default_face="pink"
      default_edge="blue"
      attribute="krig_var"
      range="0,1,0.1"
      legend_location="left"
      legend_title="krig_var"
      numdecimals="2"
      block_model_transparency="N"
      zzzasd=table { color } {
        { "r=0.0 g=0.2 b=0.6" }
        { "r=0.152 g=0.486 b=0.721" }
        { "r=0.058 g=0.874 b=0.737" }
        { "r=0.031 g=0.741 b=0.388" }
        { "yellow" }
        { "r=0.964 g=0.776 b=0.027" }
        { "r=0.921 g=0.474 b=0.058" }
        { "r=0.8 g=0.2 b=0.0" }
        { "r=0.6 g=0.0 b=0.4" }
        { "r=0.8 g=0.0 b=0.8" }
      }
    }
  }
}]

set status [ SclFunction "BLOCK EDGES AND FACES" {
  frm01303={
    {
      edge="OFF"
      face="ON"
    }
  }
}]

set status [ SclFunction "LAYERS" {
  frm00193={
    {
      active_layer="4points1.str"
      global_visibility=""
      global_selectable=""
      global_faces=""
      global_edges=""
      global_shading=""
      global_edge_lighting=""
      global_colour_interpolation=""
      scroll=table { visibility selectable faces edges shading edge_lighting colour_interpolation } {
        { "on" "y" "on" "off" "none" "off" "on" }
        { "off" "y" "on" "off" "none" "off" "on" }
      }
    }
  }
}]

puts "##################################################"
puts "      1x1x1"
puts "      Click in graphics to continue."
puts "##################################################"
SclPause

puts ""
puts ""
puts "macro 2d_09c_descretisation.tcl completed"
puts ""