Update settings
This commit is contained in:
66
assets/blender/scripts/settings.py
Normal file
66
assets/blender/scripts/settings.py
Normal file
@@ -0,0 +1,66 @@
|
||||
import os, sys
|
||||
basepath = os.getcwd()
|
||||
class VRMDataFemale:
|
||||
path = "jane2-dress.vrm"
|
||||
outfile = "vrm-vroid-normal-female.blend"
|
||||
editfile = "modelling-vroid-normal-female.blend"
|
||||
armature_name = "female"
|
||||
mixamo_animation_path = basepath + "/assets/blender/mixamo/female/"
|
||||
mixamo_animations = ["idle", "walking", "running", "jump", "left_turn", "right_turn"]
|
||||
fbx_scale = 0.89
|
||||
class VRMDataMale:
|
||||
path = "buch1.vrm"
|
||||
outfile = "vrm-vroid-normal-male.blend"
|
||||
editfile = "modelling-vroid-normal-male.blend"
|
||||
armature_name = "male"
|
||||
mixamo_animation_path = basepath + "/assets/blender/mixamo/male/"
|
||||
mixamo_animations = ["idle", "walking", "running", "jump", "left_turn", "right_turn"]
|
||||
fbx_scale = 1.0
|
||||
class VRMDataMaleBabyShape:
|
||||
path = "buch1-chibi.vrm"
|
||||
outfile = "shapes/male/vrm-vroid-normal-male-chibi.blend"
|
||||
editfile = "modelling-shape-male-chibi.blend"
|
||||
armature_name = "male"
|
||||
mixamo_animation_path = basepath + "/assets/blender/mixamo/male/"
|
||||
mixamo_animations = []
|
||||
fbx_scale = 1.0
|
||||
|
||||
class ExportMappingFemale:
|
||||
blend_path = "assets/blender/" + "vrm-vroid-normal-female.blend"
|
||||
gltf_path = "godot/character-data/vroid-normal-female.npc"
|
||||
inner_path = "Object"
|
||||
objs = ["female", "Body", "Hair", "Face"]
|
||||
armature_name = "female"
|
||||
outfile = "tmp-female.blend"
|
||||
default_action = 'default'
|
||||
def __init__(self):
|
||||
self.files = []
|
||||
for fobj in self.objs:
|
||||
self.files.append({"name": fobj})
|
||||
|
||||
class ExportMappingMale:
|
||||
blend_path = "assets/blender/" + "vrm-vroid-normal-male.blend"
|
||||
gltf_path = "godot/character-data/vroid-normal-male.npc"
|
||||
inner_path = "Object"
|
||||
objs = ["male", "Body", "Hair", "Face"]
|
||||
armature_name = "male"
|
||||
outfile = "tmp-male.blend"
|
||||
default_action = 'default'
|
||||
def __init__(self):
|
||||
self.files = []
|
||||
for fobj in self.objs:
|
||||
self.files.append({"name": fobj})
|
||||
|
||||
class ExportMappingMaleBabyShape:
|
||||
blend_path = "assets/blender/shapes/male/" + "vrm-vroid-normal-male-chibi.blend"
|
||||
gltf_path = "godot/character-data/vroid-normal-male-chibi.npc"
|
||||
inner_path = "Object"
|
||||
objs = ["male", "Body", "Hair", "Face"]
|
||||
armature_name = "male"
|
||||
outfile = "tmp-male-chibi.blend"
|
||||
default_action = 'default'
|
||||
def __init__(self):
|
||||
self.files = []
|
||||
for fobj in self.objs:
|
||||
self.files.append({"name": fobj})
|
||||
|
||||
Reference in New Issue
Block a user