def vdrive_handler_to_mtex(): args = parser.parse_args() o_vdrive = VDriveHandler(filename=args.input) o_vdrive.run() o_vdrive.export(filename=args.intermediate_output) o_handler = VDriveToMtex(filename=args.intermediate_output) o_handler.run() o_handler.export(filename=args.output)
def test1(): # vdrive_filename.txt -> vulcan.rpf from bem.texture.preparation.vdrive_handler import VDriveHandler from bem.texture.preparation.vdrive_to_mtex import VDriveToMtex o_vdrive = VDriveHandler(filename = infile) o_vdrive.run() o_vdrive.export(filename = interm) o_handler = VDriveToMtex(interm) o_handler.run() o_handler.export(filename = rpffile) return