# Do not edit this file or it may not load correctly
# if you try to open it with the RSG Dialog Builder.

# Note: thisDir is defined by the Activator class when
#       this file gets exec'd

from rsg.rsgGui import *
from abaqusConstants import INTEGER, FLOAT
dialogBox = RsgDialog(title='Generate FE2 microscale mesh', kernelModule='FE2_Inputgenerator', kernelFunction='FE2_Inputgenerator', includeApplyBtn=False, includeSeparator=True, okBtnText='OK', applyBtnText='Apply', execDir=thisDir)
RsgTabBook(name='TabBook_1', p='DialogBox', layout='0')
RsgTabItem(name='TabItem_1', p='TabBook_1', text='General')
RsgGroupBox(name='GroupBox_6', p='TabItem_1', text='Monolith FE2 Version V1.02', layout='LAYOUT_FILL_X')
RsgIcon(p='GroupBox_6', fileName=r'Logo.png')
RsgComboBox(name='ComboBox_1', p='TabItem_1', text='Part:', keyword='Partname', default='', comboType='MDB', repository='parts', rootText='Model:', rootKeyword='Modelname', layout='VERTICAL')
RsgSeparator(p='TabItem_1')
RsgTextField(p='TabItem_1', fieldType='String', ncols=12, labelText='Job-Name of Macro job:', keyword='jobname', default='Job-1')
RsgComboBox(name='ComboBox_1', p='TabItem_1', text='RVE-Number:', keyword='rve_number', default='1', comboType='STANDARD', repository='', rootText='', rootKeyword='None', layout='')
RsgListItem(p='ComboBox_1', text='1')
RsgListItem(p='ComboBox_1', text='2')
RsgListItem(p='ComboBox_1', text='3')
RsgListItem(p='ComboBox_1', text='4')
RsgListItem(p='ComboBox_1', text='5')
RsgSeparator(p='TabItem_1')
RsgTextField(p='TabItem_1', fieldType='String', ncols=12, labelText='RVE Description:', keyword='information', default=' ')
RsgLabel(p='TabItem_1', text='The Text  is written into the last line', useBoldFont=False)
RsgLabel(p='TabItem_1', text='of the Inputscript for informational', useBoldFont=False)
RsgLabel(p='TabItem_1', text='purposes only', useBoldFont=False)
RsgSeparator(p='TabItem_1')
RsgGroupBox(name='GroupBox_5', p='TabItem_1', text='Note:', layout='0')
RsgLabel(p='GroupBox_5', text='only for meshes with one element type!', useBoldFont=False)
RsgTabItem(name='TabItem_4', p='TabBook_1', text='2D')
RsgPickButton(p='TabItem_4', text='leftside', keyword='leftside_abq', prompt='Pick an entity', entitiesToPick='MDB_MESH|NODES', numberToPick='MANY')
RsgPickButton(p='TabItem_4', text='downside', keyword='downside_abq', prompt='Pick an entity', entitiesToPick='MDB_MESH|NODES', numberToPick='MANY')
RsgPickButton(p='TabItem_4', text='rightside', keyword='rightside_abq', prompt='Pick an entity', entitiesToPick='MDB_MESH|NODES', numberToPick='MANY')
RsgPickButton(p='TabItem_4', text='upside', keyword='upside_abq', prompt='Pick an entity', entitiesToPick='MDB_MESH|NODES', numberToPick='MANY')
RsgIcon(p='TabItem_4', fileName=r'Symbolbild_fuer_Plugin.png')
RsgSeparator(p='TabItem_4')
RsgCheckButton(p='TabItem_4', text='generate constraints in CAE', keyword='gen_constraints_CAE', default=False)
RsgTabItem(name='TabItem_5', p='TabBook_1', text='3D')
RsgComboBox(name='ComboBox_6', p='TabItem_5', text='periodic BCs:', keyword='PBC', default='FoamGUI', comboType='STANDARD', repository='', rootText='', rootKeyword='None', layout='')
RsgListItem(p='ComboBox_6', text='FoamGUI')
RsgListItem(p='ComboBox_6', text='Micromechanics Plugin')
RsgTabItem(name='TabItem_2', p='TabBook_1', text='Material')
RsgComboBox(name='ComboBox_5', p='TabItem_2', text='Material 2:', keyword='material2_specifier', default='none', comboType='STANDARD', repository='', rootText='', rootKeyword='None', layout='')
RsgListItem(p='ComboBox_5', text='none')
RsgListItem(p='ComboBox_5', text='by picking elements')
RsgListItem(p='ComboBox_5', text='by specifying a set')
RsgPickButton(p='TabItem_2', text='pick elements', keyword='material_2_picked', prompt='Pick an entity', entitiesToPick='MDB_MESH|ELEMENTS', numberToPick='MANY')
RsgTextField(p='TabItem_2', fieldType='String', ncols=16, labelText='Set:                            ', keyword='material_2_set', default='')
RsgSeparator(p='TabItem_2')
RsgLabel(p='TabItem_2', text='choosing a second material is optional', useBoldFont=False)
RsgLabel(p='TabItem_2', text='if you choose "none" all elements have', useBoldFont=False)
RsgLabel(p='TabItem_2', text='the same material label; either pick', useBoldFont=False)
RsgLabel(p='TabItem_2', text='elements directly in the Viewport or', useBoldFont=False)
RsgLabel(p='TabItem_2', text='first create a set which contains all', useBoldFont=False)
RsgLabel(p='TabItem_2', text='elements with material label 2', useBoldFont=False)
dialogBox.show()
