Anymate / Render.py
yfdeng's picture
init
744eb4e
raw
history blame contribute delete
442 Bytes
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)