bpy.ops.object
def
add_bake_image(*, image_color, image_height, image_name, image_width):
ベイク用の画像を作成
アクティブオブジェクトに素早くベイク用の空の画像を用意しますimage_color: float0.0
色
image_height: bpy.ops.add_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.add_bake_image.image_width_enum'1024'
幅
def
add_cm3d2_body_sliders(*, is_drive_shape_keys, is_fix_thigh, scale):
Add CM3D2 Body Sliders
Adds drivers to armature to enable body sliders.is_drive_shape_keys: boolTrue
Drive Shape Keys
Connect sliders to mesh children's shape keysis_fix_thigh: boolFalse
Fix Thigh
Fix twist bone values for the thighs in motor-cycle posescale: float5.0
Scale
The amount by which the mesh is scaled when imported. Recommended that you use the same when at the time of export.
def
add_cm3d2_twist_bones(*, scale):
Add CM3D2 Twist Bones
Adds drivers to armature to automatically set twist-bone positions.scale: float5.0
Scale
The amount by which the mesh is scaled when imported. Recommended that you use the same when at the time of export.
def
align_to_cm3d2_base_bone(*, bone_info_mode, is_preserve_mesh, scale):
Align to Base Bone
Align the object to it's armature's base bonebone_info_mode: bpy.ops.align_to_cm3d2_base_bone.bone_info_mode_enum'OBJECT_PROPERTY'
Bone Data Source
This will decide from where the Bone Data is gathered from.is_preserve_mesh: boolTrue
Preserve Mesh
Align object transform, then fix mesh transform so it remains in place.scale: float5.0
Scale
The amount by which the mesh is scaled when imported. Recommended that you use the same when at the time of export.
def
blur_shape_key(*, blend, effect, radius, strength, target):
シェイプキーぼかし
アクティブ、もしくは全てのシェイプキーをぼかしますblend: bpy.ops.blur_shape_key.blend_enum'LINER'
減衰タイプ
effect: bpy.ops.blur_shape_key.effect_enum'BOTH'
ぼかし効果
radius: float3.0
範囲倍率
strength: int1
強さ
target: bpy.ops.blur_shape_key.target_enum'ACTIVE'
対象
def
blur_vertex_group(*, effect, is_normalize, radius, strength, target):
旧・頂点グループぼかし
アクティブ、もしくは全ての頂点グループをぼかしますeffect: bpy.ops.blur_vertex_group.effect_enum'BOTH'
ぼかし効果
is_normalize: boolTrue
他頂点グループも調節
radius: float3.0
範囲倍率
strength: int1
強さ
target: bpy.ops.blur_vertex_group.target_enum'ACTIVE'
対象
def
change_base_shape_key(*, is_deform_mesh, is_deform_other_shape):
このシェイプキーをベースに
アクティブなシェイプキーを他のシェイプキーのベースにしますis_deform_mesh: boolTrue
素メッシュを調整
is_deform_other_shape: boolTrue
他シェイプを調整
def
cleanup_scale_bones(*, is_keep_bones_with_children, scale):
Cleanup Scale Bones
Remove scale bones from the active armature objectis_keep_bones_with_children: boolTrue
Keep bones with children
Will not remove scale bones that have children (for custom scale bones)scale: float5.0
Scale
The amount by which the mesh is scaled when imported. Recommended that you use the same when at the time of export.
def
copy_armature_bone_data_property():
ボーン情報をコピー
カスタムプロパティのボーン情報をクリップボードにコピーします
def
copy_object_bone_data_property():
ボーン情報をコピー
カスタムプロパティのボーン情報をクリップボードにコピーします
def
copy_shape_key_values(*, use_drivers):
Copy shape key values
Copy the shape key values from the other selected meshuse_drivers: boolFalse
Apply as drivers
def
decode_cm3d2_vertex_group_names():
頂点グループ名をCM3D2用→Blender用に変換
CM3D2で使われてるボーン名(頂点グループ名)をBlenderで左右対称編集できるように変換します
def
encode_cm3d2_vertex_group_names():
頂点グループ名をBlender用→CM3D2用に変換
CM3D2で使われてるボーン名(頂点グループ名)に戻します
def
forced_modifier_apply( *, active_modifier, apply_renderer_visible, apply_viewport_visible, is_applies, is_preserve_shape_key_values):
モディファイア強制適用
シェイプキーのあるメッシュのモディファイアでも強制的に適用しますactive_modifier: int0
Active Modifier
apply_renderer_visible: boolFalse
Apply Renderer-Visible Modifiers
apply_viewport_visible: boolFalse
Apply Viewport-Visible Modifiers
is_applies: dict[str, CM3D2 Converter.common.CNV_SelectorItem]
is_applies
is_preserve_shape_key_values: boolTrue
Preserve Shape Key Values
Ensure shape key values are not changed
def
multiply_shape_key(*, mode, multi):
シェイプキーの変形に乗算
シェイプキーの変形に数値を乗算し、変形の強度を増減させますmode: bpy.ops.multiply_shape_key.mode_enum'ACTIVE'
対象
multi: float1.100000023841858
倍率
シェイプキーの拡大率です
def
multiply_vertex_group(*, is_normalize, target, value):
頂点グループに乗算
頂点グループのウェイトに数値を乗算し、ウェイトの強度を増減させますis_normalize: boolTrue
他頂点グループも調節
target: bpy.ops.multiply_vertex_group.target_enum'ACTIVE'
対象
value: float1.100000023841858
倍率
def
paste_armature_bone_data_property():
ボーン情報を貼付け
カスタムプロパティのボーン情報をクリップボードから貼付けます
def
paste_object_bone_data_property():
ボーン情報を貼付け
カスタムプロパティのボーン情報をクリップボードから貼付けます
def
precision_shape_key_transfer( *, extend_range, is_bind_current_mix, is_first_remove_all, is_remove_empty, step_size, subdivide_number):
空間ぼかし・シェイプキー転送
アクティブなメッシュに他の選択メッシュのシェイプキーを遠いほどぼかして転送しますextend_range: float1.100000023841858
範囲倍率
is_bind_current_mix: boolFalse
Bind to current source mix
is_first_remove_all: boolTrue
最初に全シェイプキーを削除
is_remove_empty: boolTrue
変形のないシェイプキーを削除
step_size: int1
Step Size (low = quality, high = speed)
subdivide_number: int1
参照元の分割
def
precision_transfer_vertex_group( *, extend_range, is_first_remove_all, is_remove_empty, subdivide_number):
空間ぼかし・ウェイト転送
アクティブなメッシュに他の選択メッシュの頂点グループを遠いほどぼかして転送しますextend_range: float1.100000023841858
範囲倍率
is_first_remove_all: boolFalse
すでにある頂点グループを削除 (ロックで保護)
is_remove_empty: boolTrue
割り当てのない頂点グループを削除
subdivide_number: int1
参照元の分割
def
quick_ao_bake_image( *, ao_gather_method, ao_hide_other, ao_samples, image_height, image_name, image_width):
AO・ベイク
アクティブオブジェクトに素早くAOをベイクしますao_gather_method: bpy.ops.quick_ao_bake_image.ao_gather_method_enum'RAYTRACE'
処理方法
ao_hide_other: boolTrue
他オブジェクトの影響を受けない
ao_samples: int20
精度
image_height: bpy.ops.quick_ao_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_ao_bake_image.image_width_enum'1024'
幅
def
quick_blur_vertex_group(*, count, size, strength, target):
頂点グループぼかし
アクティブ、もしくは全ての頂点グループをぼかしますcount: int1
反復
size: float0.0
拡大縮小
strength: float1.0
強さ
target: bpy.ops.quick_blur_vertex_group.target_enum'ALL'
対象
def
quick_bulge_bake_image(*, image_height, image_name, image_width):
膨らみ・ベイク
アクティブオブジェクトに膨らんでいる部分を白くベイクしますimage_height: bpy.ops.quick_bulge_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_bulge_bake_image.image_width_enum'1024'
幅
def
quick_density_bake_image(*, image_height, image_name, image_width, mode):
密度・ベイク
アクティブオブジェクトに素早く密度をベイクしますimage_height: bpy.ops.quick_density_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_density_bake_image.image_width_enum'1024'
幅
mode: bpy.ops.quick_density_bake_image.mode_enum'PARTS'
比較対象
def
quick_dirty_bake_image( *, blur_iterations, blur_strength, clean_angle, dirt_angle, dirt_only, image_height, image_name, image_width):
擬似AO・ベイク
アクティブオブジェクトに素早く擬似AOをベイクしますblur_iterations: int1
ブラー反復度
blur_strength: float1.0
ブラー強度
clean_angle: float3.141590118408203
ハイライト角度
dirt_angle: float0.0
擬似AO角度
dirt_only: boolTrue
擬似AOのみ
image_height: bpy.ops.quick_dirty_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_dirty_bake_image.image_width_enum'1024'
幅
def
quick_gradation_bake_image(*, image_height, image_name, image_width):
グラデーション・ベイク
アクティブオブジェクトに素早くグラデーションをベイクしますimage_height: bpy.ops.quick_gradation_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_gradation_bake_image.image_width_enum'1024'
幅
def
quick_hair_bake_image( *, ao_hide_other, ao_samples, image_height, image_name, image_width, lamp_energy, mate_angel_ring_factor, mate_diffuse_color, use_ao):
ヘアー・ベイク
アクティブオブジェクトに素早くCM3D2の髪風のテクスチャをベイクしますao_hide_other: boolTrue
他オブジェクトの影響を受けない
ao_samples: int20
AOの精度
image_height: bpy.ops.quick_hair_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_hair_bake_image.image_width_enum'1024'
幅
lamp_energy: float1.0
光の強さ
mate_angel_ring_factor: float0.5
天使の輪の強さ
mate_diffuse_color: float0.0
髪色
use_ao: boolFalse
AOを使用
def
quick_hemi_bake_image( *, ao_hide_other, ao_samples, image_height, image_name, image_width, lamp_energy, use_ao):
ヘミライト・ベイク
アクティブオブジェクトに素早くヘミライトの陰をベイクしますao_hide_other: boolTrue
他オブジェクトの影響を受けない
ao_samples: int20
AOの精度
image_height: bpy.ops.quick_hemi_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_hemi_bake_image.image_width_enum'1024'
幅
lamp_energy: float1.0
光の強さ
use_ao: boolFalse
AOを使用
def
quick_mesh_border_bake_image(*, image_height, image_name, image_width, range):
メッシュ縁・ベイク
アクティブオブジェクトに素早くメッシュの縁を黒くベイクしますimage_height: bpy.ops.quick_mesh_border_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_mesh_border_bake_image.image_width_enum'1024'
幅
range: int5
範囲
def
quick_mesh_distance_bake_image(*, image_height, image_name, image_width):
メッシュ間距離・ベイク
アクティブオブジェクトに他オブジェクトとの距離をベイクしますimage_height: bpy.ops.quick_mesh_distance_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_mesh_distance_bake_image.image_width_enum'1024'
幅
def
quick_metal_bake_image( *, environment_strength, highlight_strength, image_height, image_name, image_width, mate_color):
金属・ベイク
アクティブオブジェクトに素早く金属風にベイクしますenvironment_strength: float1.0
映り込み強さ
highlight_strength: float0.5
ハイライト強さ
image_height: bpy.ops.quick_metal_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_metal_bake_image.image_width_enum'1024'
幅
mate_color: float0.0
色
def
quick_semen_bake_image(*, image_height, image_name, image_width, texture_scale):
白い液体・ベイク
アクティブオブジェクトに白い液体をベイクしますimage_height: bpy.ops.quick_semen_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_semen_bake_image.image_width_enum'1024'
幅
texture_scale: float1.0
テクスチャサイズ
def
quick_shadow_bake_image( *, image_height, image_name, image_width, is_shadow_only, lamp_count, lamp_max_angle):
影・ベイク
アクティブオブジェクトに素早く影をベイクしますimage_height: bpy.ops.quick_shadow_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_shadow_bake_image.image_width_enum'1024'
幅
is_shadow_only: boolFalse
影のみ
lamp_count: int8
光源の数
lamp_max_angle: float0.5235999822616577
光源の最大角度
def
quick_shape_key_transfer( *, is_bind_current_mix, is_first_remove_all, is_remove_empty, step_size, subdivide_number):
クイック・シェイプキー転送
アクティブなメッシュに他の選択メッシュのシェイプキーを高速で転送しますis_bind_current_mix: boolFalse
Bind to current source mix
is_first_remove_all: boolTrue
最初に全シェイプキーを削除
is_remove_empty: boolTrue
変形のないシェイプキーを削除
step_size: int1
Step Size (low = quality, high = speed)
subdivide_number: int1
参照元の分割
def
quick_side_shadow_bake_image( *, bipolarization_blur, bipolarization_threshold, image_height, image_name, image_width, is_bipolarization):
側面陰・ベイク
アクティブオブジェクトに素早く側面陰をベイクしますbipolarization_blur: float0.05000000074505806
二極化のぼかし
bipolarization_threshold: float0.5
二極化のしきい値
image_height: bpy.ops.quick_side_shadow_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_side_shadow_bake_image.image_width_enum'1024'
幅
is_bipolarization: boolTrue
二極化を有効
def
quick_transfer_vertex_group( *, is_clean, is_remove_noassign, is_remove_old_vertex_groups, is_source_select_vert_only, is_target_select_vert_only, vert_mapping):
クイック・ウェイト転送
アクティブなメッシュに他の選択メッシュの頂点グループを高速で転送しますis_clean: boolTrue
転送後にクリーンを実行
is_remove_noassign: boolTrue
転送後に割り当てのない頂点グループを削除
is_remove_old_vertex_groups: boolFalse
すでにある頂点グループを削除 (ロックで保護)
is_source_select_vert_only: boolFalse
選択頂点のみ(参照)
is_target_select_vert_only: boolFalse
選択頂点のみ(対象)
vert_mapping: bpy.ops.quick_transfer_vertex_group.vert_mapping_enum'POLYINTERP_NEAREST'
参照要素
def
quick_uv_border_bake_image( *, blur_strength, blur_type, image_height, image_name, image_width, keep_alpha, normalize):
UV縁・ベイク
アクティブオブジェクトに素早くUVの縁を黒くベイクしますblur_strength: int100
ぼかし強度
blur_type: bpy.ops.quick_uv_border_bake_image.blur_type_enum'GAUSS'
ぼかしタイプ
image_height: bpy.ops.quick_uv_border_bake_image.image_height_enum'1024'
高
image_name: str''
画像名
image_width: bpy.ops.quick_uv_border_bake_image.image_width_enum'1024'
幅
keep_alpha: boolTrue
余白を透過
normalize: boolTrue
正規化
def
remove_armature_bone_data_property():
ボーン情報を削除
カスタムプロパティのボーン情報を全て削除します
def
remove_noassign_vertex_groups(*, threshold):
割り当てのない頂点グループを削除
どの頂点にも割り当てられていない頂点グループを全て削除しますthreshold: float9.999999974752427e-07
これ以下の影響は切り捨て
def
remove_object_bone_data_property():
ボーン情報を削除
カスタムプロパティのボーン情報を全て削除します
def
sync_object_transform():
オブジェクトの位置を合わせる
アクティブオブジェクトの中心位置を、他の選択オブジェクトの中心位置に合わせます
def
weighted_shape_key_transfer( *, active_vgroup, extend_range, is_bind_current_mix, is_first_remove_all, is_remove_empty, step_size, subdivide_number, using_vgroups):
Weighted shape key transfer
Transfers the shape keys of other selected mesh to the active mesh, using matching vertex groups as masksactive_vgroup: int0
Active Vertex Group
extend_range: float1.100000023841858
Range magnification
is_bind_current_mix: boolFalse
Bind to current source mix
is_first_remove_all: boolTrue
最初に全シェイプキーを削除
is_remove_empty: boolTrue
変形のないシェイプキーを削除
step_size: int1
Step Size (low = quality, high = speed)
subdivide_number: int1
参照元の分割
using_vgroups: dict[str, CM3D2 Converter.common.CNV_SelectorItem]