GuidoScript scripts/dtmutilities.tcl
proc spacingMethodCallbackInitial {} {
global burden_inp
global spacing_inp
global rows_inp
global columns_inp
$burden_inp setNullAllowed false
$spacing_inp setNullAllowed false
$rows_inp setNullAllowed false
$columns_inp setNullAllowed false
}
global file_location
global file_id
global object_id_top
global obj_name_top
global trisolation_id_top
global tri_name_top
global length_file_location
global length_file_id
global object_id_bot
global obj_name_bot
global trisolation_id_bot
global tri_name_bot
global object_id_lay_top
global obj_name_lay_top
global trisolation_id_lay_top
global tri_name_lay_top
global object_id_lay_bot
global obj_name_lay_bot
global trisolation_id_lay_bot
global tri_name_lay_bot
global hole_length
GuidoForm frm01125 {
-default_buttons
-label "Blast pattern design"
-layout BoxLayout Y_AXIS
-tip "01125_TIP_001"
-help_id 1615
GuidoTabbedPane tabs {
GuidoPanel patternSettingsTab {
-layout BoxLayout Y_AXIS
-label "Pattern settings"
GuidoPanel topPanel {
-layout BoxLayout X_AXIS
GuidoPanel input_panel {
-layout BoxLayout Y_AXIS
GuidoPanel info_panel {
-border etched true
-layout BoxLayout Y_AXIS
-label "BLASTING_GRID"
-height 12
GuidoLabel frm01125_2 {
-label Origin
}
GuidoPanel frm01125_4 {
-layout CentreLineLayout VERTICAL LEFT
GuidoField x {
-display_length 10.5
-format double
-label X
-max_length 20
-next_focus y
-null false
-tip "Enter the x position of the lower left corner of the grid design box"
-translate upper
}
GuidoFiller filler {
-height 0.05
}
GuidoFiller filler {
-height 0.05
}
GuidoField y {
-display_length 10.5
-format double
-label Y
-max_length 20
-next_focus height
-null false
-tip "Enter the y position of the lower left corner of the grid design box"
-translate upper
}
GuidoFiller frm01125_5 {
-height 1
}
GuidoFiller frm01125_5 {
-height 1
}
GuidoField height {
-display_length 10.5
-format double
-label "Grid height"
-max_length 20
-next_focus width
-null false
-legacy_action
-tip "Enter the height(burden direction) of the grid design box"
-translate upper
}
GuidoFiller frm01125_7 {
-height 0.05
}
GuidoFiller frm01125_8 {
-height 0.05
}
GuidoField width {
-display_length 10.5
-format double
-label "Grid width"
-max_length 20
-next_focus angle
-null false
-legacy_action
-tip "Enter the width(spacing direction) of the grid design box"
-translate upper
}
GuidoFiller frm01125_9 {
-height 0.05
}
GuidoFiller frm01125_10 {
-height 0.05
}
GuidoField angle {
-display_length 10.5
-format decimal_angle
-label "Grid angle"
-max_length 20
-null false
-tip "Enter the bearing of the y direction(burden direction) of the grid design box"
-translate upper
}
}
}
GuidoPanel blastSettings {
-layout CentrelineLayout VERTICAL LEFT
-border etched true
-label "Blast settings"
-height 9
GuidoField pattern_id {
-display_length 7
-format none
-label "Pattern identifier"
-max_length 20
-next_focus rig
-null false
-tip "Enter the name for this hole pattern."
-translate none
}
GuidoFiller frm01125_11 {
-height 0.05
}
GuidoFiller frm01125_12 {
-height 0.05
}
GuidoComboBox rig {
-label "Drill rig"
-display_length 4.7
-max_length 50
-null true
-exclusive false
-tip "Drill rig name"
}
GuidoFiller frm01125_13 {
-height 0.05
}
GuidoFiller frm01125_14 {
-height 0.05
}
GuidoField blasting_method {
-display_length 7
-format none
-label "Blasting method"
-max_length 20
-null true
-tip "Enter the blasting method for this hole pattern."
-translate none
}
GuidoFiller frm01125_15 {
-height 0.05
}
GuidoFiller frm01125_16 {
-height 0.05
}
GuidoField ground_water_level {
-display_length 7
-format double
-label "Ground water level"
-max_length 20
-null true
-default "0"
-tip "Enter the ground water level."
-translate none
}
}
GuidoFiller space {
-height 0.5
}
}
GuidoFiller space {
-width 0.5
}
GuidoPanel rightPanel {
-layout BoxLayout Y_AXIS
GuidoPanel BandSPanel {
-layout BoxLayout Y_AXIS
-label "Burden and spacing"
-border etched true
-height 13.5
GuidoPanel autopanel {
-layout CentrelineLayout VERTICAL LEFT
GuidoCheckBox autoburden {
-default false
-action initial {[spacingMethodCallbackInitial]}
-tip "01125_TIP_019"
}
GuidoLabel autoburden_label {
-label "Modify burden and spacing by polygon"
}
}
GuidoFiller space {
-height 0.5
}
GuidoPanel overlay {
-layout OverlayLayout
GuidoPanel autoburdenPanel {
-layout BoxLayout Y_AXIS
-dependency {"[ $autoburden getCurrentValue]" == "true"}
-border etched true
-label "Burden/spacing by polygon"
-height 10
GuidoPanel classPanel {
-layout CentrelineLayout
GuidoComboBox classfield {
-label "Rock classification attribute"
-display_length 5
-format string_field
-max_length 4
-null false
-exclusive true
-tip "Description field which stores the rock classification."
-value_in D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15 D16 D17 D18 D19 D20 D21 D22 D23 D24 D25 D26 D27 D28 D29 D30 D31 D32 D33 D34 D35 D36 D37 D38 D39 D40 D41 D42 D43 D44 D45 D46 D47 D48 D49 D50 D51 D52 D53 D54 D55 D56 D57 D58 D59 D60 D61 D62 D63 D64 D65 D66 D67 D68 D69 D70 D71 D72 D73 D74 D75 D76 D77 D78 D79 D80 D81 D82 D83 D84 D85 D86 D87 D88 D89 D90 D91 D92 D93 D94 D95 D96 D97 D98 D99 D100
-default D1
-tip "Select the description field containing the rock classification value"
}
}
GuidoScrollPane frm01125_17 {
-height 7
GuidoTable rockclasses {
-instances 1 1 20
-interactive true
GuidoField rockClass {
-display_length 5
-format none
-label "Rock name"
-max_length 30
-tip "The rock classification name"
}
GuidoField rockBurden {
-display_length 5
-format double
-label "Burden"
-max_length 20
-tip "Burden value for this rock classification"
}
GuidoField rockSpacing {
-display_length 5
-format double
-label "Spacing"
-max_length 20
-tip "Spacing value for this rock classification"
}
GuidoField rockSubdrill {
-display_length 5
-format double
-label "Subdrill"
-max_length 20
-tip "Subdrill value for this rock classification"
}
}
}
}
GuidoPanel frm01125_18 {
-layout BoxLayout Y_AXIS
-dependency {"[ $autoburden getCurrentValue]" == "false"}
GuidoPanel frm01125_19 {
-layout BoxLayout Y_AXIS
-border etched true
-label "Manual burden/spacing"
GuidoPanel rmcPanel {
-layout BoxLayout X_AXIS
GuidoComboBox rmc {
-display_length 10
-format none
-label "Rock name"
-max_length 30
-null true
-exclusive false
}
}
GuidoPanel frm01125_20 {
-layout BoxLayout Y_AXIS
-dependency {"[$autoburden getCurrentValue]" == "false"}
GuidoFiller space {
-height 0.5
}
GuidoLabel spacing_method_label {
-label "Spacing method"
}
GuidoButtonGroupPanel size_method {
-layout BoxLayout Y_AXIS
-tip "01125_TIP_009"
-action initial {[spacingMethodCallbackInitial]}
GuidoRadioButton frm01125_21 {
-default true
-caption "Burden and spacing"
-selected_value "Burden and Spacing"
-height 1
}
GuidoRadioButton frm01125_22 {
-caption "Number of holes"
-selected_value "Number of holes"
-height 1
}
}
}
GuidoFiller space {
-height 0.5
}
GuidoPanel type_overlay {
-layout OverlayLayout
GuidoPanel burden_and_spacing_panel {
-layout BoxLayout X_AXIS
-dependency {"[ $size_method getCurrentValue]" == "Burden and Spacing" && "[$autoburden getCurrentValue]" == "false"}
-width 25
GuidoPanel burden_inp_panel {
-layout CentrelineLayout VERTICAL LEFT
GuidoFiller frm01125_23 {
-height 0.05
}
GuidoFiller frm01125_24 {
-height 0.05
}
GuidoField burden_inp {
-display_length 6
-format double
-max_length 20
-label Burden
-legacy_action
-next_focus spacing_inp
-tip "Enter the burden between rows of blast holes."
-translate upper
-dependency {"[ $size_method getCurrentValue]" == "Burden and Spacing" && "[$autoburden getCurrentValue]" == "false"}
}
GuidoFiller frm01125_25 {
-height 0.05
}
GuidoFiller frm01125_26 {
-height 0.05
}
GuidoField spacing_inp {
-display_length 6
-format double
-max_length 20
-label Spacing
-legacy_action
-next_focus clip
-tip "Enter the spacing between blast holes."
-translate upper
-dependency {"[ $size_method getCurrentValue]" == "Burden and Spacing" && "[$autoburden getCurrentValue]" == "false"}
}
}
GuidoFiller space {
-width 2
}
}
GuidoPanel no_holes_panel {
-layout BoxLayout X_AXIS
-dependency {"[ $size_method getCurrentValue]" == "Number of holes" && "[$autoburden getCurrentValue]" == "false"}
-width 25
GuidoPanel inp_panel {
-layout CentrelineLayout VERTICAL LEFT
GuidoFiller frm01125_23 {
-height 0.05
}
GuidoFiller frm01125_24 {
-height 0.05
}
GuidoLabel no_rows_inp_label {
-label "No. rows"
}
GuidoField rows_inp {
-display_length 6
-format integer
-max_length 10
-legacy_action
-next_focus columns_inp
-tip "01125_TIP_012"
-translate none
-dependency {"[ $size_method getCurrentValue]" == "Number of holes" && "[$autoburden getCurrentValue]" == "false"}
}
GuidoFiller frm01125_31 {
-height 0.05
}
GuidoFiller frm01125_32 {
-height 0.05
}
GuidoLabel no_cols_inp_label {
-label "No. columns"
}
GuidoField columns_inp {
-display_length 6
-format integer
-max_length 10
-legacy_action
-next_focus clip
-tip "01125_TIP_013"
-translate none
-dependency {"[ $size_method getCurrentValue]" == "Number of holes" && "[$autoburden getCurrentValue]" == "false"}
}
}
GuidoFiller space {
-width 2
}
}
}
GuidoFiller space {
-height 0.5
}
GuidoPanel clipPanel {
-layout CentrelineLayout VERTICAL LEFT
GuidoCheckBox clip {
-default false
-next_focus frm01125_36
-selected_value Yes
-tip "Do you wish to clip the hole generation to an existing boundary?"
-unselected_value No
}
GuidoLabel clip_label {
-dependency {"[ $autoburden getCurrentValue]" == "false"}
-label "Clip to boundary"
}
}
}
}
}
}
GuidoPanel checkbox_panel {
-layout BoxLayout X_AXIS
GuidoPanel frm01125_35 {
-layout BoxLayout X_AXIS
-tip "Select whether the grid pattern should be rectangular or staggered"
-label "Blast layout"
-border etched true
-width 12
GuidoButtonGroupPanel geometry {
-layout BoxLayout Y_AXIS
GuidoRadioButton frm01125_36 {
-caption Staggered
-selected_value Staggered
-height 1
}
GuidoRadioButton frm01125_37 {
-caption Rectangular
-default true
-next_focus frm01125_39
-selected_value Rectangular
-height 1
}
}
}
GuidoPanel frm01125_38 {
-width 12
-border etched true
-layout BoxLayout X_AXIS
-tip "01125_TIP_008"
-label "Hole order"
GuidoButtonGroupPanel order {
-layout BoxLayout Y_AXIS
GuidoRadioButton frm01125_39 {
-caption Regular
-default true
-selected_value Regular
-height 1
}
GuidoRadioButton frm01125_40 {
-caption Zig-Zag
-selected_value Zig-Zag
-height 1
}
}
}
}
}
}
}
GuidoPanel holePanel {
-layout BoxLayout X_AXIS
-label "Hole settings"
GuidoPanel frm01125_41 {
-layout BoxLayout Y_AXIS
GuidoPanel collar_panel {
-layout BoxLayout Y_AXIS
-border etched true
-label "Collar elevation"
-width 22
GuidoPanel col_type_panel {
-layout CentrelineLayout VERTICAL LEFT
GuidoComboBox collar_el {
-default "Fixed"
-display_length 11
-format none
-label "Elevation method"
-max_length 14
-null false
-tip "Select the method for determining the collar elevation"
-value_in "Fixed" "DTM layer" "DTM file"
}
}
GuidoFiller frm01125_42 {
-height 0.05
}
GuidoPanel top_overlay {
-layout OverlayLayout
GuidoPanel top_fixed_panel {
-layout CentrelineLayout VERTICAL LEFT
-dependency {"[$collar_el getCurrentValue]" == "Fixed"}
GuidoField fixed_el {
-dependency {"[$collar_el getCurrentValue]" == "Fixed"}
-display_length 17
-format double
-label Elevation
-max_length 20
-next_focus hole_length
-null false
-tip "Enter the elevation of all drill holes"
-translate upper
}
}
GuidoPanel top_dtm_layer_panel {
-layout CentrelineLayout vertical left
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
GuidoComboBox layer_name {
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
-label "Layer name"
-display_length 13
-format none
-max_length "APP_MAX_LAYER_NAME_LENGTH"
-null false
-action initial {[fill_triobject_trisolation_details_for_layers $layer_name $object_id_lay_top $obj_name_lay_top $trisolation_id_lay_top $tri_name_lay_top]}
-action valueChanged {[fill_triobject_trisolation_details_for_layers $layer_name $object_id_lay_top $obj_name_lay_top $trisolation_id_lay_top $tri_name_lay_top]}
-tip "Enter the layer name of the layer containing the collar elevation DTM"
-translate none
}
GuidoFiller frm01125_43 {
-height 0.05
}
GuidoFiller frm01125_44 {
-height 0.05
}
GuidoLabel obj_id_lay_top_label {
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
-label "Object ID"
}
GuidoPanel frm01125_45 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_lay_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
-display_length 5
-action valueChanged {[fill_triobject_details $layer_name $object_id_lay_top $obj_name_lay_top $trisolation_id_lay_top $tri_name_lay_top "false" "true"]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_lay_top {
-height 1
}
}
GuidoFiller frm01125_46 {
-height 0.05
}
GuidoFiller frm01125_47 {
-height 0.05
}
GuidoLabel trisolation_id_lay_lab_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
-label "Trisolation ID"
}
GuidoPanel frm01125_48 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_lay_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM layer"}
-display_length 5
-format integer
-max_length 32
-translate none
-action valueChanged {[fill_trisolation_details $layer_name $object_id_lay_top $trisolation_id_lay_top $tri_name_lay_top "true" "true"]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_lay_top {
-height 1
}
}
}
GuidoPanel top_dtm_file {
-layout CentrelineLayout vertical left
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
GuidoFileBrowserField file_location {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-action initial {[checkthecontent $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-action focusGained {[checkthecontent $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-display_length 15.3
-label Location
-file_mask *.dtm
-format none
-link file_id
-max_length 252
-next_focus file_id
-null false
-tip "Enter the location of the top DTM file"
-translate none
}
GuidoFiller frm01125_49 {
-height 0.05
}
GuidoFiller frm01125_50 {
-height 0.05
}
GuidoField file_id {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-action focusLost {[checkthecontent $file_location $file_id ".dtm" $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-label ID
-display_length 6.5
-format none
-max_length 10
-next_focus object_id_top
-tip "Enter the id number of the collar elevation DTM"
-translate none
}
GuidoFiller frm01125_51 {
-height 0.05
}
GuidoFiller frm01125_52 {
-height 0.05
}
GuidoLabel obj_id_label_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-label "Object ID"
}
GuidoPanel frm01125_53 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-action focusGained {[updateObjectDetailsForMultipleDtms $file_location $object_id_top $trisolation_id_top ]}
-action valueChanged {[triobjectChanged $file_location $object_id_top $obj_name_top $trisolation_id_top $tri_name_top]}
-display_length 4
-format integer
-max_length 32
-translate none
-exclusive false
-tip "Select the object ID to process"
}
GuidoLabel obj_name_top {
-height	1
}
}
GuidoFiller frm01125_54 {
-height 0.05
}
GuidoFiller frm01125_55 {
-height 0.05
}
GuidoLabel trisolation_id_lab_top {
-label "Trisolation ID"
}
GuidoPanel frm01125_56 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_top {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-display_length 4
-action focusGained {[updateTrisolationDetailsForMultipleDtms $file_location $object_id_top $trisolation_id_top ]}
-action valueChanged {[trisolationChanged $file_location $object_id_top $trisolation_id_top $tri_name_top]}
-format integer
-max_length 32
-translate none
-exclusive false
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_top {
-height 1
}
}
GuidoFiller frm01125_57 {
-height 0.05
}
GuidoFiller frm01125_58 {
-height 0.05
}
GuidoFiller frm01125_59 {
-height 0.05
}
GuidoPanel frm01125_60 {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox visible {
-default false
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-next_focus hole_length
-selected_value Yes
-tip "Select whether the top DTM, once loaded into memory, will be visible"
-unselected_value No
}
GuidoLabel visible_label {
-dependency {"[ $collar_el getCurrentValue]" == "DTM file"}
-label "Make visible?"
}
}
}
}
}
GuidoPanel toe_panel {
-layout BoxLayout Y_AXIS
-border etched true
-label "Toe elevation"
GuidoPanel toe_type_panel {
-layout CentrelineLayout VERTICAL LEFT
GuidoComboBox hole_length {
-default "Set length"
-display_length 10
-format none
-label "Toe position method"
-max_length 14
-null false
-tip "Select the method for determining the hole length"
-value_in "Set Length" "Set Elevation" "DTM layer" "DTM file"
}
}
GuidoFiller frm01125_61 {
-height 0.05
}
GuidoPanel toe_overlay {
-layout OverlayLayout
GuidoPanel set_length_panel {
-layout CentrelineLayout VERTICAL LEFT
-dependency {"[ $hole_length getCurrentValue]" == "Set Length"}
GuidoField set_length {
-dependency {"[ $hole_length getCurrentValue]" == "Set Length"}
-display_length 16
-format double
-label "Hole length"
-low_bound .001
-max_length 20
-next_focus set_el
-null false
-tip "Enter the length of all holes"
-translate upper
}
}
GuidoPanel set_el_panel {
-layout CentrelineLayout VERTICAL LEFT
-dependency {"[ $hole_length getCurrentValue]" == "Set Elevation"}
GuidoField set_el {
-dependency {"[ $hole_length getCurrentValue]" == "Set Elevation"}
-display_length 17.3
-format double
-label Elevation
-max_length 20
-next_focus length_layer_name
-null false
-tip "Enter the elevation of the bottom of all holes"
-translate upper
}
}
GuidoPanel toe_dtm_layer_panel {
-layout CentrelineLayout vertical left
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
GuidoComboBox length_layer_name {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-label "Layer name"
-display_length 13
-format none
-max_length "APP_MAX_LAYER_NAME_LENGTH"
-next_focus object_id_lay_bot
-null false
-action initial {[fill_triobject_trisolation_details_for_layers $length_layer_name $object_id_lay_bot $obj_name_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot]}
-action valueChanged {[fill_triobject_trisolation_details_for_layers $length_layer_name $object_id_lay_bot $obj_name_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot]}
-tip "Enter the layer name of the layer containing the bottom of hole DTM"
-translate none
}
GuidoFiller frm01125_62 {
-height 0.05
}
GuidoFiller frm01125_63 {
-height 0.05
}
GuidoLabel obj_id_lay_lab_bot {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-label "Object ID"
}
GuidoPanel frm01125_64 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_lay_bot {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-display_length 4
-action valueChanged {[fill_triobject_details $length_layer_name $object_id_lay_bot $obj_name_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot "false" "true"]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_lay_bot {
-height 1
}
}
GuidoFiller frm01125_65 {
-height 0.05
}
GuidoFiller frm01125_66 {
-height 0.05
}
GuidoLabel trisolation_id_lay_lab_bot {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-label "Trisolation ID"
}
GuidoPanel frm01125_67 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_lay_bot {
-dependency {"[ $hole_length getCurrentValue]" == "DTM layer"}
-display_length 4
-format integer
-max_length 32
-translate none
-action valueChanged {[fill_trisolation_details $length_layer_name $object_id_lay_bot $trisolation_id_lay_bot $tri_name_lay_bot "true" "true"]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_lay_bot {
-height 1
}
}
GuidoFiller frm01125_68 {
-height 0.05
}
}
GuidoPanel toe_dtm_file_panel {
-layout CentrelineLayout vertical left
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
GuidoFileBrowserField length_file_location {
-action initial {[checkthecontent $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-action focusGained {[checkthecontent $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-label Location
-display_length 15.6
-file_mask *.dtm
-format none
-link length_file_id
-max_length 252
-next_focus length_file_id
-null false
-tip "Enter the location of the hole bottom DTM file"
-translate none
}
GuidoFiller frm01125_69 {
-height 0.05
}
GuidoFiller frm01125_70 {
-height 0.05
}
GuidoField length_file_id {
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-action focusLost {[checkthecontent $length_file_location $length_file_id ".dtm" $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-label ID
-display_length 6.5
-format none
-max_length 10
-next_focus object_id_bot
-tip "Enter the id number of the bottom of hole DTM"
-translate none
}
GuidoFiller frm01125_71 {
-height 0.05
}
GuidoFiller frm01125_72 {
-height 0.05
}
GuidoLabel obj_id_label_bot {
-label "Object ID"
}
GuidoPanel frm01125_73 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox object_id_bot {
-display_length 4
-action valueChanged {[triobjectChanged $length_file_location $object_id_bot $obj_name_bot $trisolation_id_bot $tri_name_bot]}
-action focusGained {[updateObjectDetailsForMultipleDtms $length_file_location $object_id_bot $trisolation_id_bot ]}
-format integer
-max_length 32
-translate none
-tip "Select the object ID to process"
}
GuidoLabel obj_name_bot {
-height 1
}
}
GuidoFiller frm01125_74 {
-height 0.05
}
GuidoFiller frm01125_75 {
-height 0.05
}
GuidoLabel trisolation_id_lab_bot {
-label "Trisolation ID"
}
GuidoPanel frm01125_76 {
-layout CentreLineLayout VERTICAL LEFT
GuidoComboBox trisolation_id_bot {
-display_length 4
-format integer
-max_length 32
-translate none
-action focusGained {[updateTrisolationDetailsForMultipleDtms $length_file_location $object_id_bot $trisolation_id_bot]}
-action valueChanged {[trisolationChanged $length_file_location $object_id_bot $trisolation_id_bot $tri_name_bot]}
-tip "Select the trisolation ID to process"
}
GuidoLabel tri_name_bot {
-height 1
}
}
GuidoFiller frm01125_77 {
-height 0.05
}
GuidoFiller frm01125_78 {
-height 0.05
}
GuidoFiller frm01125_79 {
-height 0.05
}
GuidoPanel frm01125_80 {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox length_visible {
-default false
-dependency {"[ $hole_length getCurrentValue]" == "DTM file"}
-selected_value Yes
-tip "Select whether the bottom DTM, once loaded into memory, will be visible"
-unselected_value No
}
GuidoLabel length_visible_label {
-label "Make visible?"
}
}
}
}
GuidoFiller frm01125_81 {
-height 0.05
}
GuidoFiller frm01125_82 {
-height 0.05
}
GuidoPanel toe_type_panel {
-layout CentrelineLayout VERTICAL LEFT
GuidoField subdrill {
-dependency {"[ $autoburden getCurrentValue]" == "false"}
-display_length 14.3
-format double
-label "Subdrill distance"
-next_focus bearing
-tip "Enter the subdrill distance required"
}
}
}
}
GuidoPanel frm01125_83 {
-layout BoxLayout Y_AXIS
GuidoPanel leftPanel {
-layout BoxLayout Y_AXIS
GuidoPanel frm01125_84 {
-layout CentreLineLayout VERTICAL LEFT
-border etched true
-label "Hole settings"
-width 23
-height 6.5
GuidoField bearing {
-default 0
-display_length 14
-format decimal_angle
-label "Hole bearing"
-high_bound 6.283185307
-low_bound 0
-max_length 20
-next_focus dip
-null false
-tip "Enter the bearing of holes"
-translate upper
}
GuidoFiller frm01125_85 {
-height 0.05
}
GuidoFiller frm01125_86 {
-height 0.05
}
GuidoField dip {
-default -90
-display_length 14
-format decimal_angle
-high_bound 0
-label "Hole dip"
-low_bound -1.57079632
-max_length 20
-next_focus diameter
-null false
-tip "Enter the dip of the holes"
-translate upper
}
GuidoFiller frm01125_87 {
-height 0.05
}
GuidoFiller frm01125_88 {
-height 0.05
}
GuidoField diameter {
-display_length 14
-format double
-label "Hole diameter"
-low_bound 0
-max_length 20
-null false
-tip "Enter the diameter of the holes"
-translate upper
}
}
}
GuidoPanel frm01125_89 {
-layout CentreLineLayout VERTICAL LEFT
-border etched true
-label "Labelling options"
-height 15
GuidoField prefix {
-display_length 12.5
-format none
-label "Hole ID prefix"
-max_length 20
-tip "01128_TIP_027"
-translate none
}
GuidoFiller frm01125_90 {
-height 0.05
}
GuidoFiller frm01125_91 {
-height 0.05
}
GuidoFiller frm01125_101_2 {
-height 0.05
}
GuidoPanel c_p_c_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox class_prefix_check {
-default false
-dependency {"[ $autoburden getCurrentValue]" == "true"}
-next_focus suffix
-selected_value Yes
-tip "Would you like the rock classification entered as part of the hole id?"
-unselected_value No
}
GuidoLabel c_p_c_label {
-dependency {"[ $autoburden getCurrentValue]" == "true"}
-label "Include rock class?"
}
}
GuidoFiller frm01125_92 {
-height 0.05
}
GuidoFiller frm01125_93 {
-height 0.05
}
GuidoField suffix {
-display_length 12.5
-format none
-label "Hole ID suffix"
-max_length 20
-next_focus start
-tip "Enter a hole suffix string.  This will be added to the hole id after the incrementing numerical part"
-translate none
}
GuidoFiller frm01125_94 {
-height 0.05
}
GuidoFiller frm01125_95 {
-height 0.05
}
GuidoField start {
-default 1
-display_length 12.5
-format integer
-label "Starting value"
-max_length 20
-next_focus row_check
-null false
-tip "Enter the starting number for the incremental part of the hole id"
-translate none
}
GuidoFiller frm01125_96 {
-height 0.05
}
GuidoFiller frm01125_97 {
-height 0.05
}
GuidoFiller frm01125_101_2 {
-height 0.05
}
GuidoPanel row_check_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox row_check {
-default false
-next_focus row_increment
-selected_value Yes
-tip "Would you like to use sequential row numbering?"
-unselected_value No
}
GuidoLabel row_check_label {
-label "Sequence rows"
}
}
GuidoFiller frm01125_98 {
-height 0.05
}
GuidoFiller frm01125_99 {
-height 0.05
}
GuidoFiller frm01125_99_1 {
-height 0.05
}
GuidoPanel row_inc_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoFiller frm01125_99_2 {
-width 2
}
GuidoPanel row_increment_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoField row_increment {
-default 100
-dependency {"[ $row_check getCurrentValue]" == "Yes"}
-display_length 5
-format integer
-label "Row increment"
-max_length 20
-next_focus pad_check
-null false
-tip "Enter the row increment for the incremental part of the hole id"
-translate none
}
}
}
GuidoFiller frm01125_100 {
-height 0.05
}
GuidoFiller frm01125_101 {
-height 0.05
}
GuidoFiller frm01125_101_1 {
-height 0.05
}
GuidoPanel pad_check_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoCheckBox pad_check {
-default true
-next_focus pad_length
-selected_value Yes
-tip "Would you like to pad the numerical portion of the hole id to a specific length?"
-unselected_value No
}
GuidoLabel pad_check_label {
-label "Pad hole_id"
}
}
GuidoFiller frm01125_102 {
-height 0.05
}
GuidoFiller frm01125_103 {
-height 0.05
}
GuidoFiller frm01125_103_1 {
-height 0.05
}
GuidoPanel pad_len_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoFiller frm01125_103_2 {
-width 2
}
GuidoPanel pad_length_panel {
-layout CentreLineLayout VERTICAL LEFT
GuidoField pad_length {
-default 5
-dependency {"[ $pad_check getCurrentValue]" == "Yes"}
-display_length 5
-format integer
-label "Pad length"
-low_bound 1
-max_length 20
-next_focus pad_char
-null false
-tip "Enter the length to pad the hole id to"
-translate none
}
GuidoFiller frm01125_104 {
-height 0.05
}
GuidoFiller frm01125_105 {
-height 0.05
}
GuidoField pad_char {
-default 0
-dependency {"[ $pad_check getCurrentValue]" == "Yes"}
-display_length 5
-label "Pad character"
-format none
-max_length 1
-null false
-tip "Enter the character to pad the hole identifier with"
-translate none
}
}
}
}
}
}
}
}
