25 lines
1023 B
Python
25 lines
1023 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
@author: Edward Middleton-Smith
|
|
"""
|
|
|
|
# from translate_msg_2_braille import get_braille_translations, gen_product_inputs, input_product
|
|
# from translate_braille_2_scad import gen_scrabble_sizes, elem_visibility, input_colour_themes, style
|
|
# from export_3d import gen_product_permutations, gen_3d_models, gen_snippet_assembly
|
|
# import argument_validation as av
|
|
from product_braille import Product_Braille
|
|
|
|
"""
|
|
# PARAMETERS
|
|
path_folder_cmd = 'C:\\"Program Files"\\OpenSCAD\\openscad' # 'C:\\"Program Files (x86)"\\OpenSCAD\\openscad' # local environment variable path for openscad commands
|
|
path_folder = "C:\\Users\\edwar\\OneDrive\\Documents\\Programming\\Python Scripts\\" # file export parent directory
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
print()
|
|
print('Welcome to your 3D Braille Model Generator')
|
|
print("At any time, answer the following error code to exit (excl. speech marks): '#!ERRORCODE!#'")
|
|
print()
|
|
product = Product_Braille.input_from_console()
|
|
product.make_files()
|