From 03a8f3b653a09310a7b5ee1743bcf92d14d019c4 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Mon, 21 Oct 2024 22:20:29 -0700 Subject: [PATCH] feat: Model export --- nhf/touhou/houjuu_nue/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nhf/touhou/houjuu_nue/__init__.py b/nhf/touhou/houjuu_nue/__init__.py index e7d9887..dc759b3 100644 --- a/nhf/touhou/houjuu_nue/__init__.py +++ b/nhf/touhou/houjuu_nue/__init__.py @@ -198,3 +198,7 @@ if __name__ == '__main__': if sys.argv[1] == 'stat': print(p.stat()) + elif sys.argv[1] == 'model': + file_name = sys.argv[2] + a = p.wings_harness_assembly() + a.save(file_name, exportType='STEP')