GuidoPanel layoutPanel {
-layout BorderLayout
-status_item enabled "SolidsRepairEnabled"
GuidoPanel indentPanel {
-position West
GuidoFiller space {
-width 0.1
}
}
GuidoPanel mainPanel {
-layout BoxLayout Y_AXIS
-position North
GuidoPanel toolbarPanel {
-layout BoxLayout X_AXIS
GuidoButton sr_panel_id_triangle {
-tip "Display triangle properties"
-icon "icons/16/identify_triangle.png"
-command server "IDENTIFY TRIANGLE"
}
GuidoFiller fill1 {
-width .2
}
GuidoButton sr_panel_draw_markers {
-tip "Display markers"
-icon "icons/16/draw_markers.png"
-command server "DRAW MARKERS"
}
GuidoButton sr_panel_hide_markers {
-tip "Hide markers"
-command server "ERASE MARKERS"
-icon "icons/16/erase_markers.png"
}
GuidoButton sr_panel_hide_temp_markers {
-tip "Hide temporary markers"
-icon "icons/16/erase_temporary_markers.png"
-command server "ERASE TEMPORARY MARKERS"
}
GuidoFiller fill1 {
-width .2
}
GuidoButton sr_panel_triangulate_one_triangle {
-icon "icons/16/triangulate_one_triangle.png"
-command server "TRIANGULATE ONE TRIANGLE"
-tip "Triangulate one triangle"
}
GuidoButton sr_panel_triangle_delete {
-icon "icons/16/triangle_delete.png"
-command server "TRIANGLE DELETE"
-tip "Delete triangle"
}
GuidoFiller fill1 {
-width .2
}
GuidoButton sr_panel_trisolation_statistics {
-tip "Calculate Trisolation Statistics"
-icon "icons/16/trisolation_statistics.png"
-command server "TRISOLATION STATISTICS"
}
}
GuidoFiller space {
-height 0.5
}
GuidoLabel filterLbl {
-label "Filter"
-font_style bold
}
GuidoPanel filterPanel {
-layout BoxLayout X_AXIS
-width 230
GuidoFiller indent {
-alignmentY middle
-width 1
}
GuidoPanel fieldPanel {
-layout CentreLineLayout Vertical Left
-alignmentY middle
GuidoField solidsRepairObjectRange {
-action valueChanged {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-label "Object range"
-display_length 10
-format range
-max_length MAX_RNG_LENGTH
-null true
-tip SOLIDSDOCTOR_1
}
GuidoField solidsrepairTrisolRange {
-action valueChanged {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-label "Trisolation range"
-display_length 10
-format range
-max_length MAX_RNG_LENGTH
-null true
-tip SOLIDSDOCTOR_2
}
GuidoCheckBox solidsRepairAutoValidate {
-label "Auto update validation"
-tip SOLIDSDOCTOR_10
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $solidsRepairAutoValidate]}
-default true
-selected_value Y
-unselected_value N
}
GuidoButtonGroupPanel solidsRepairSetDirection {
-layout BoxLayout X_AXIS
-label "Set valid objects to"
-action valueChanged {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
GuidoRadioButton solidsRepairDirSolid {
-caption Solid
-selected_value solid
}
GuidoRadioButton solidsRepairDirVoid {
-caption Void
-selected_value void
}
}
}
GuidoPanel buttonPanel {
-alignmentY middle
GuidoButton validate_object {
-icon "icons/24/refresh.png"
-command server "SOLIDS REPAIR VALIDATE"
-status_item icon "ValidateObjectIcon"
-status_item tooltip "ValidateObjectTooltip"
}
}
}
GuidoFiller space {
-height 0.5
}
GuidoLabel valLabel {
-label "Validation errors"
-font_style bold
}
GuidoPanel resultsPanel {
-layout BoxLayout X_AXIS
GuidoFiller indent {
-width 1
}
GuidoPanel checkPanel {
-layout BoxLayout Y_AXIS
GuidoFiller space {
-height 0.9
}
GuidoCheckBox invalidEdgesCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $invalidEdgesCheck]}
-default true
-selected_value Y
-unselected_value N
-tip "Hide invalid edge problem groups"
-height 0.9
}
GuidoCheckBox disconnectedCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $disconnectedCheck]}
-default true
-selected_value Y
-unselected_value N
-tip "Hide disconnected triangle problem groups"
-height 0.9
}
GuidoCheckBox intersectionsCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $intersectionsCheck]}
-default true
-selected_value Y
-unselected_value N
-tip "Hide intersecting triangle problem groups"
-height 0.9
}
GuidoCheckBox reversedCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $reversedCheck]}
-default true
-selected_value Y
-unselected_value N
-tip "Hide reversed triangle problem groups"
-height 0.9
}
GuidoCheckBox holesCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $holesCheck]}
-default true
-selected_value Y
-unselected_value N
-tip "Hide holes problem groups"
-height 0.9
}
}
GuidoFiller space {
-width 0.3
}
GuidoPanel label1Panel {
-layout BoxLayout Y_AXIS
GuidoFiller space {
-height 0.9
}
GuidoLabel invalidEdgesLabel {
-label "Invalid edges"
-status_item fontHighlight "HighlightDirty"
-height 0.9
}
GuidoLabel disconnectedLabel {
-label "Disconnected trisolations"
-status_item fontHighlight "HighlightDirty"
-height 0.9
}
GuidoLabel intersectionsLabel {
-label "Intersecting triangles"
-status_item fontHighlight "HighlightDirty"
-height 0.9
}
GuidoLabel reversedLabel {
-label "Reversed triangles"
-status_item fontHighlight "HighlightDirty"
-height 0.9
}
GuidoLabel holesLabel {
-label "Holes"
-status_item fontHighlight "HighlightDirty"
-height 0.9
}
}
GuidoFiller space {
-width 1
}
GuidoPanel label2Panel {
-layout BoxLayout Y_AXIS
GuidoLabel invalidEdgesCount {
-alignmentX right
-label Groups
-height 0.9
}
GuidoLabel invalidEdgesCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairInvalidEdges"
-height 0.9
}
GuidoLabel disconnectedCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairDisconnected"
-height 0.9
}
GuidoLabel intersectionsCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairIntersections"
-height 0.9
}
GuidoLabel reversedCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairReversed"
-height 0.9
}
GuidoLabel holesCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairHoles"
-height 0.9
}
}
GuidoFiller space {
-width 1
}
GuidoPanel label2Panel {
-layout BoxLayout Y_AXIS
GuidoLabel invalidEdgesCount {
-alignmentX right
-label Errors
-height 0.9
}
GuidoLabel invalidEdgesTriCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairTriInvalidEdges"
-height 0.9
}
GuidoLabel disconnectedTriCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairTriDisconnected"
-height 0.9
}
GuidoLabel intersectionsTriCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairTriIntersections"
-height 0.9
}
GuidoLabel reversedTriCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairTriReversed"
-height 0.9
}
GuidoLabel holesTriCount {
-alignmentX right
-font_highlight 0 0 255
-status_item "SolidsRepairTriHoles"
-height 0.9
}
}
}
GuidoFiller space {
-height 0.5
}
GuidoLabel actionLbl {
-label "Repairs"
-font_style bold
}
GuidoFiller space {
-height 0.2
}
GuidoPanel buttonPanel {
-layout BoxLayout X_AXIS
GuidoFiller indent {
-width 1
}
GuidoButton group_delete {
-icon "icons/24/solids_repair_delete.png"
-tip "Delete invalid triangles in selected group(s)"
-command server "SOLIDS REPAIR DELETE"
-status_item enabled "DeleteButtonEnabled"
}
GuidoButton fix_errors {
-icon "icons/24/solids_repair_autocorrect.png"
-tip SOLIDSDOCTOR_3
-command server "SOLIDS REPAIR FIX"
-status_item enabled "CloseOpenSidesButtonEnabled"
}
GuidoButton disconnect_trisol {
-icon "icons/24/trisolation_split_connected.png"
-tip SOLIDSDOCTOR_4
-command server "SOLIDS REPAIR DISCONNECT"
-status_item enabled "FixButtonEnabled"
}
GuidoFiller indent {
-width 1
}
GuidoButton undo {
-icon "icons/24/undo.png"
-command server "undo"
-tip "Undo"
}
GuidoButton redo {
-icon "icons/24/redo.png"
-command server "redo"
-tip "Redo"
}
}
GuidoFiller space {
-height 0.5
}
GuidoLabel navLbl {
-label "Selections"
-font_style bold
}
GuidoFiller space {
-height 0.2
}
GuidoPanel navIndent {
-layout BoxLayout X_AXIS
GuidoFiller indent {
-width 1
}
GuidoPanel navigationPanel {
-layout BoxLayout Y_AXIS
GuidoLabel navLabel {
-status_item "SolidsRepairLocation"
-font_highlight 0 0 255
-height 0.8
}
GuidoLabel navDescription {
-status_item "SolidsRepairDescription"
-font_highlight 0 0 255
-height 0.8
}
GuidoLabel triDescription {
-status_item "SolidsRepairObjectTri"
-font_highlight 0 0 255
-height 0.8
}
GuidoFiller space {
-height 0.2
}
GuidoPanel navButtonsPanel {
-layout BoxLayout X_AXIS
GuidoButton previous_problem {
-alignmentY middle
-icon "icons/16/solids_repair_move_previous.png"
-tip "Move to previous problem group"
-command server "SOLIDS REPAIR MOVE PREVIOUS"
}
GuidoComboBox problem_number {
-alignmentY middle
-display_length 3
-value_in_status_item "SolidsRepairProblemNumberList"
-max_length 4
-exclusive true
-null true
-tip "Jump to the selected problem group"
-action valueChanged {[::SolidsRepairProblemNumberProc]}
}
GuidoButton next_problem {
-alignmentY middle
-icon "icons/16/solids_repair_move_next.png"
-tip "Move to next problem group"
-command server "SOLIDS REPAIR MOVE NEXT"
}
GuidoButton graphical_selection {
-alignmentY middle
-icon "icons/16/tool_select.png"
-tip "Select a problem group graphically"
-command server "SOLIDS REPAIR SELECT GRAPHICALLY"
}
GuidoFiller space {
-alignmentY middle
-width 0.5
}
GuidoButton goto_problem {
-alignmentY middle
-icon "icons/16/solids_repair_move_to.png"
-tip "Reset view to currently selected group"
-command server "SOLIDS REPAIR RESET VIEW"
}
GuidoFiller space {
-alignmentY middle
-width 0.5
}
GuidoButton legend {
-alignmentY middle
-icon "icons/16/legend.png"
-tip SOLIDSDOCTOR_11
-command server "SOLIDS REPAIR LEGEND"
}
}
GuidoFiller space {
-height 0.1
}
GuidoPanel sliderPanel {
-layout CentreLineLayout
GuidoComboBox solidRepairExpand {
-display_length 3
-label "Expand selection"
-max_length 2
-exclusive true
-null false
-default 0
-value_in 0 1 2
-action valueChanged {[::SolidsRepairExpandProc]}
-tip SOLIDSDOCTOR_5
}
}
}
}
GuidoFiller space {
-height 0.5
}
GuidoLabel viewLbl {
-label "View"
-font_style bold
}
GuidoFiller space {
-height 0.2
}
GuidoPanel viewPanel {
-layout BoxLayout X_AXIS
GuidoFiller indent {
-width 1
}
GuidoPanel checkPanel {
-layout BoxLayout Y_AXIS
GuidoCheckBox twoSidedCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $twoSidedCheck]}
-default true
-selected_value Y
-unselected_value N
-tip SOLIDSDOCTOR_6
-height 0.9
}
GuidoCheckBox transparencyCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $transparencyCheck]}
-default true
-selected_value Y
-unselected_value N
-tip "Add transparency to objects"
-height 0.9
}
GuidoCheckBox animateCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $animateCheck]}
-default true
-selected_value Y
-unselected_value N
-tip SOLIDSDOCTOR_7
-height 0.9
}
GuidoCheckBox zoomCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $zoomCheck]}
-default true
-selected_value Y
-unselected_value N
-tip SOLIDSDOCTOR_8
-height 0.9
}
}
GuidoFiller space {
-width 0.3
}
GuidoPanel label1Panel {
-layout BoxLayout Y_AXIS
-alignmentX left
GuidoLabel twoSidedLabel {
-label "Two-sided lighting"
-height 0.9
}
GuidoLabel transparencyLabel {
-label "Transparency"
-height 0.9
}
GuidoLabel animateLabel {
-label "Animate"
-height 0.9
}
GuidoLabel zoomLabel {
-label "Zoom"
-height 0.9
}
}
}
GuidoFiller space {
-height 0.3
}
GuidoLabel clipLabel {
-label Clipping
-font_style bold
}
GuidoFiller space {
-height 0.1
}
GuidoPanel clipPanel {
-layout BoxLayout X_AXIS
GuidoFiller indent {
-width 1
}
GuidoPanel checkPanel {
-layout BoxLayout Y_AXIS
GuidoCheckBox frontClipCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $frontClipCheck]}
-default true
-selected_value Y
-unselected_value N
-tip SOLIDSDOCTOR_9
-height 0.9
}
GuidoCheckBox backClipCheck {
-action mouseClicked {[::SolidsRepairValidateProc "SOLIDS REPAIR SET PARAMETERS"]}
-action keyReleased {[::SolidsRepairCheckboxKeyboardHack $backClipCheck]}
-default false
-selected_value Y
-unselected_value N
-tip "Show a clipping plane behind the problem group"
-height 0.9
}
}
GuidoFiller space {
-width 0.3
}
GuidoPanel labelPanel {
-layout BoxLayout Y_AXIS
GuidoLabel frontClipLabel {
-label "Front"
-height 0.9
}
GuidoLabel backClipLabel {
-label "Back"
-height 0.9
}
GuidoPanel sliderPanel {
-layout BoxLayout X_AXIS
GuidoLabel sliderLabel {
-label Width
-height 1
}
GuidoFiller space {
-width 0.3
}
GuidoSlider sr_clip_planes_slider {
-maximum_width 10.0
-update_method "SolidsRepairSetClipPlaneOffsets"
-minimum 0
-maximum 1000
-increment 1
-resolution 1
-default 1
-tip "Adjust the position of the clipping planes"
-dependency {"[$frontClipCheck getCurrentValue]" == "Y" || "[$backClipCheck getCurrentValue]" == "Y"}
-status_item "SolidsRepairClipPlaneOffset"
}
}
}
}
}
GuidoPanel ButtonPanel {
-layout BoxLayout Y_AXIS
-position South
GuidoPanel buttonPanel {
-layout BorderLayout
GuidoButton help {
-position West
-icon "icons/help.png"
-tip "Display the solids repair help"
-command script "forms/help.tcl" #1629
-height 1
}
GuidoButton close {
-position East
-icon "icons/cancel.png"
-caption "Close"
-tip "Close the Solids Repair panel"
-command server "SOLIDS REPAIR CLOSE"
-width 8
-height 1
}
}
}
}
