File size: 442 Bytes
744eb4e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import argparse
import bpy
import mathutils
from Anymate.utils.render_utils import empty, setup_armature
def parse_args():
parser = argparse.ArgumentParser(description='Anymate rendering script')
parser.add_argument('--path', type=str, required=True, help='Path to the model file')
return parser.parse_args()
args = parse_args()
print(f"Starting converting {args.path} to blender format...")
empty()
setup_armature(args.path) |