mayaアニメーション用|ちょっとした便利スクリプトセット
- Digital500 JPY

■概要 Mayaでのアニメーション作成を効率化するためのPythonスクリプト集です。 グラフエディタの操作、タイムスライダーの設定、ロケーターやコンストレイン操作など、作業頻度の高い機能を簡単に実行できます。 ショートカットやシェルフに登録することで、さらに効率よく使用できます。 ■機能一覧 1. align_keyframe_times - 複数オブジェクトのキーフレームを最初に選択したオブジェクトのタイミングに揃えます。 2. create_constrained_locators - 原点または選択オブジェクトにコンストレインされたロケーターを作成します。 3. delete_objects_constraint - 選択オブジェクトの子階層にあるコンストレインを削除します。 4. deselect_edge_keys - グラフエディタで選択されたキーの両端を非選択状態にします。 5. deselect_first_selection - 選択されたオブジェクトの中から最初に選択されたものを解除します。 6. nudge_all_keys_left / nudge_all_keys_right - 選択された全オブジェクトのキーフレームを1フレーム左または右に移動します。 7. nudge_selected_keys_left / nudge_selected_keys_right - グラフエディタで選択されたキーを1フレーム左または右に移動します。 8. paste_l_keys / paste_r_keys - 選択キーの値を左または右のキーの値に合わせます。 9. set_animRange_start_to_current_frame / set_animRange_end_to_current_frame - タイムスライダーのアニメーション範囲の開始/終了を現在のフレームに設定します。 10. set_playbackRange_start_to_current_frame / set_playbackRange_end_to_current_frame - タイムスライダーの再生範囲の開始/終了を現在のフレームに設定します。 11. set_zero_keys - グラフエディタで選択されたキーの値をゼロにします。 12. smooth_keys - グラフエディタで選択されたキーを滑らかにします。 13. toggle_break_tangent - グラフエディタで選択されたキーのタンジェントをBreak/Unifyで切り替えます。 --- ■Overview This is a Python script collection designed to streamline animation creation in Maya. It includes frequently used features such as Graph Editor operations, time slider adjustments, and locator/constraint manipulations. By registering the scripts to shortcuts or shelves, you can further enhance your workflow efficiency. ■Feature List 1. align_keyframe_times - Align the keyframe timing of multiple objects to match the first selected object. 2. create_constrained_locators - Create a locator at the origin or constrained to the selected objects. 3. delete_objects_constraint - Remove constraint nodes from the children of selected objects. 4. deselect_edge_keys - Deselect the first and last keys of the selection in the Graph Editor. 5. deselect_first_selection - Deselect the first object in the selection. 6. nudge_all_keys_left / nudge_all_keys_right - Move all keyframes of the selected objects 1 frame to the left or right. 7. nudge_selected_keys_left / nudge_selected_keys_right - Move selected keyframes in the Graph Editor 1 frame to the left or right. 8. paste_l_keys / paste_r_keys - Match the selected keys' values to the values of the keys on the left or right side. 9. set_animRange_start_to_current_frame / set_animRange_end_to_current_frame - Set the animation range start or end of the time slider to the current frame. 10. set_playbackRange_start_to_current_frame / set_playbackRange_end_to_current_frame - Set the playback range start or end of the time slider to the current frame. 11. set_zero_keys - Set the values of selected keys in the Graph Editor to zero. 12. smooth_keys - Smooth the selected keys in the Graph Editor. 13. toggle_break_tangent - Toggle the tangents of selected keys in the Graph Editor between Break and Unify.
利用規約
著作権 (C) 2024 [じーこアニメーション] 全著作権所有 本スクリプトの無断販売および再配布は禁止されています。 他人への配布を目的とした本スクリプトのコピーも禁止です。 個人や業務での使用を目的としたスクリプトの改変は許可されています。 本スクリプトは商業利用や業務利用が可能です。 本ソフトウェアは「現状のまま」で提供され、明示または黙示を問わず いかなる保証も伴いません。本ソフトウェアの利用、改変、または 規約違反による再配布に起因する問題や損害について、著者は責任を負いません。 問い合わせ先: [zkanimation23@gmail.com] -------------------------------------- Copyright (C) 2024 [じーこアニメーション] All Rights Reserved. Unauthorized sale or redistribution of this script, in any form, is strictly prohibited. Copying this script for distribution to others is also prohibited. Modifications to the script for personal or professional use are permitted. This script may be used in commercial or professional environments. This software is provided "as is," without warranty of any kind, express or implied. The author assumes no liability for any issues or damages arising from its use, modification, or redistribution in violation of these terms. Contact information: [zkanimation23@gmail.com]