Adding more models

This commit is contained in:
2025-01-29 14:29:02 +03:00
parent 71b709726e
commit a5bb11f5bf
6 changed files with 325 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ from mathutils import Vector, Matrix
from math import radians, pi
sys.path.insert(0, os.getcwd() + "/assets/blender/scripts")
from settings import ExportMappingFemale, ExportMappingMale
from settings import ExportMappingFemale, ExportMappingMale, ExportMappingMaleBabyShape
basepath = os.getcwd()
def check_bone(bname):
@@ -179,7 +179,7 @@ def extra_linear(angle, offset):
ret += offt
return ret
for mapping in [ExportMappingFemale(), ExportMappingMale()]:
for mapping in [ExportMappingFemale(), ExportMappingMale(), ExportMappingMaleBabyShape()]:
#for mapping in [ExportMappingFemale()]:
print("Initializing...")
bpy.ops.wm.read_homefile(use_empty=True)