bpy.ops.export_mesh
def
export_cm3d2_model( *, base_bone_name, bone_info_mode, export_shapekey_normals, export_tangent, filepath, is_align_to_base_bone, is_arrange_name, is_backup, is_batch, is_clean_vertex_groups, is_convert_bone_weight_names, is_convert_tris, is_normalize_weight, is_split_sharp, mate_info_mode, model_name, scale, shapekey_normals_blend, shapekey_threshold, use_shapekey_colors, version):
CM3D2モデル (.model)
カスタムメイド3D2のmodelファイルを書き出しますbase_bone_name: str''
基点ボーン名
bone_info_mode: bpy.ops.export_cm3d2_model.bone_info_mode_enum'OBJECT_PROPERTY'
ボーン情報元
modelファイルに必要なボーン情報をどこから引っ張ってくるか選びますexport_shapekey_normals: boolTrue
Export Shape Key Normals
Export custom normals for each shape key on export.export_tangent: boolFalse
接空間情報出力
接空間情報(binormals, tangents)を出力するfilepath: str''
filepath
is_align_to_base_bone: boolTrue
Align to Base Bone
Align the object to it's base boneis_arrange_name: boolTrue
データ名の連番を削除
「○○.001」のような連番が付属したデータ名からこれらを削除しますis_backup: boolTrue
ファイルをバックアップ
ファイルに上書きする場合にバックアップファイルを複製しますis_batch: boolFalse
バッチモード
モードの切替やエラー個所の選択を行いませんis_clean_vertex_groups: boolTrue
クリーンな頂点グループ
重みがゼロの場合、頂点グループから頂点を削除しますis_convert_bone_weight_names: boolTrue
頂点グループ名をCM3D2用に変換
全ての頂点グループ名をCM3D2で使える名前にしてからエクスポートしますis_convert_tris: boolTrue
四角面を三角面に
四角ポリゴンを三角ポリゴンに変換してから出力します、元のメッシュには影響ありませんis_normalize_weight: boolTrue
ウェイトの合計を1.0に
4つのウェイトの合計値が1.0になるように正規化しますis_split_sharp: boolTrue
Split Sharp Edges
Split all edges marked as sharp.mate_info_mode: bpy.ops.export_cm3d2_model.mate_info_mode_enum'MATERIAL'
マテリアル情報元
modelファイルに必要なマテリアル情報をどこから引っ張ってくるか選びますmodel_name: str''
model名
scale: float0.20000000298023224
倍率
エクスポート時のメッシュ等の拡大率ですshapekey_normals_blend: float0.6000000238418579
Shape Key Normals Blend
Adjust the influence of shape keys on custom normalsshapekey_threshold: float0.0010000000474974513
Shape Key Threshold
Lower values increase accuracy and file size. Higher values truncate small changes and reduce file size.use_shapekey_colors: boolTrue
Use Shape Key Colors
Use the shape key normals stored in the vertex colors instead of calculating the normals on export. (Recommend disabling if geometry was customized)version: bpy.ops.export_cm3d2_model.version_enum'1000'