Ejemplo n.º 1
0
menu = mainUI("ESP Reader Options")
config_file = 'esp_reader.cfg'

r_nif_end = re.compile('.nif$', flags=re.IGNORECASE)


"""
Menu Window Frames
"""

# left_frame = uiFrame(menu.frame, column = 0, columnspan = 1, row = 0, rowspan = 6, relief = True)
# left_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
# right_frame = uiFrame(menu.frame, column = 1, columnspan = 2, row = 0, rowspan = 6, relief = True)
# right_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
option_frame = uiFrame(menu.frame, column = 0, columnspan = 3, row = 6, rowspan = 2, relief = True)
option_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
utility_frame = uiFrame(menu.frame, column = 0, columnspan = 3, row = 8, rowspan = 2, relief = True)
utility_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)

menu.version = 'a_01'
menu.name = 'exp_reader_Options'
menu.file = config_file

menu.menu_values = {\
    'subfolder': (tkinter.IntVar(), 0),\
    'template': (tkinter.StringVar(), '/test/template.nif'),\
    'target': (tkinter.StringVar(), '/test/'),\
    'destination': (tkinter.StringVar(), '/test/output/'),\
    }
Ejemplo n.º 2
0
menu = mainUI("Export Seam Template Options")
config_file = 'makeTemplate.cfg'

r_nif_end = re.compile('.nif$', flags=re.IGNORECASE)


"""
Menu Window Frames
"""

# left_frame = uiFrame(menu.frame, column = 0, columnspan = 1, row = 0, rowspan = 6, relief = True)
# left_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
# right_frame = uiFrame(menu.frame, column = 1, columnspan = 2, row = 0, rowspan = 6, relief = True)
# right_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
option_frame_1 = uiFrame(menu.frame, column = 0, columnspan = 1, row = 0, rowspan = 4, relief = True)
option_frame_1.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
option_frame_2 = uiFrame(menu.frame, column = 2, columnspan = 1, row = 0, rowspan = 4, relief = True)
option_frame_2.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
utility_frame = uiFrame(menu.frame, column = 0, columnspan = 3, row = 8, rowspan = 2, relief = True)
utility_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)

menu.version = 'b_13'
menu.name = 'seamTemplate_Options'
menu.file = config_file

menu.menu_values = {\
    'subfolder': (tkinter.IntVar(), 0),\
    'female_template': (tkinter.StringVar(), '/test/female.nif'),\
    'male_template': (tkinter.StringVar(), '/test/male.nif'),\
    'neutral_template': (tkinter.StringVar(), '/test/template.nif'),\
Ejemplo n.º 3
0
from kg.ui_tools import uiButton, uiToggle, mainUI, uiComboSlider, uiRadio, uiFrame, uiLabel, constructMenu

import tkinter

from os import listdir, path, makedirs, walk
from re import compile, findall, IGNORECASE, split, sub

config_file = 'MeshRigger.cfg'

ui_tools.button_width = 20
ui_tools.entry_width = 5
ui_tools.slider_length = 100

menu = mainUI("Mesh Rigger Options")
#utility_frame = uiFrame(menu.frame, column = 0, columnspan = 3, row = 9, rowspan = 2, relief = True)
vertex_frame = uiFrame(menu, column = 0, columnspan = 1, row = 0, rowspan = 6, relief = True)
vertex_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
menu_frame = uiFrame(menu, column = 1, columnspan = 2, row = 0, rowspan = 6, relief = True)
menu_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
utility_frame = uiFrame(menu, column = 0, columnspan = 3, row = 6, rowspan = 2, relief = True)
utility_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)

#print('Default Settings', ui_tools.svReg)

menu.version = 'b_14'
menu.name = 'MeshRigger_Options'
menu.file = config_file

menu.menu_values = {\
    'Game': (tkinter.StringVar(), 'Skyrim'),\
    'subfolder': (tkinter.IntVar(), 0),\
Ejemplo n.º 4
0
from pyffi.spells.nif.optimize import SpellMergeDuplicates
from pyffi.spells.nif import NifToaster

import tkinter

from os import listdir, path, makedirs, walk
from re import compile, findall, IGNORECASE, split, sub

config_file = 'MeshCopy.cfg'

ui_tools.button_width = 20
ui_tools.entry_width = 5
ui_tools.slider_length = 100

menu = mainUI("Mesh Copy Tool Options")
left_frame = uiFrame(menu, column = 0, columnspan = 3, row = 0, rowspan = 6, relief = True)
left_frame.grid(sticky = tkinter.W + tkinter.E)
utility_frame = uiFrame(menu, column = 0, columnspan = 3, row = 6, rowspan = 6, relief = True)
utility_frame.grid(sticky = tkinter.W + tkinter.E)

menu.version = 'b_13'
menu.name = 'MeshCopy_Options'
menu.file = config_file
#menu.load(file = config_file)

menu.menu_values = {\
    'subfolder': (tkinter.IntVar(), 0),\
    'template': (tkinter.StringVar(), '/test/template.nif'),\
    'target': (tkinter.StringVar(), '/test/'),\
    'destination': (tkinter.StringVar(), '/test/output/'),\
    }
Ejemplo n.º 5
0
r_nif_end = re.compile('\.nif$', flags=re.IGNORECASE)
r_tri_end = re.compile('\.tri$', flags=re.IGNORECASE)

ui_tools.button_width = 20
ui_tools.entry_width = 5
ui_tools.slider_length = 100

menu = mainUI("Seam Mender Options")
config_file = 'SeamMender.cfg'

"""
Menu Window Frames
"""

left_frame = uiFrame(menu.frame, column = 0, columnspan = 1, row = 0, rowspan = 6, relief = True)
left_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
center_frame = uiFrame(menu.frame, column = 1, columnspan = 1, row = 0, rowspan = 6, relief = True)
center_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
right_frame = uiFrame(menu.frame, column = 2, columnspan = 1, row = 0, rowspan = 6, relief = True)
right_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
far_right_frame = uiFrame(menu.frame, column = 3, columnspan = 1, row = 0, rowspan = 6, relief = True)
far_right_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
option_frame = uiFrame(menu.frame, column = 0, columnspan = 3, row = 6, rowspan = 2, relief = True)
option_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)
utility_frame = uiFrame(menu.frame, column = 0, columnspan = 3, row = 8, rowspan = 2, relief = True)
utility_frame.grid(sticky = tkinter.W + tkinter.E + tkinter.N + tkinter.S)

menu.version = 'b_13'
menu.name = 'SeamMender_Options'
menu.file = config_file