Skip to content

Releases: Icakhi/SeedlingTools-release

[Maya / ScriptRunner] Fixed features.

27 Apr 15:25
Compare
Choose a tag to compare
Pre-release

※日本語は英語の下の方に記載しています。
情報が散らかり始めたので近々Wikiを整備します…

!! Notice !!

Please read this before downloading!

This tool is license-free and may be used commercially and modified for personal use only.
However, secondary distribution, sale, or transfer of modified data is prohibited. Please do not do so.

  • Licenses are subject to change in the future. We will announce any changes on Twitter and Release Notes.

This is a pre-release and may have some issues.
If you encounter any errors, please contact me.
Twitter: @Icakhi

Introduction

Welcome to my release page!
Please read the initial release document for more information: v0.1.0 Release Note

!! 注意 !!

大切な内容を記載しているのでダウンロードの前に必ずお読みください。

このツールはライセンスフリーのため商用利用可・個人でのみ改変して使用可とします。
ただし、2次配布・販売・改変したデータの譲渡は禁止です。絶対に行わないでください。

※ライセンスについては今後変更する可能性があります。変更がある際はTwitterとReleaseで告知します。

これはプレリリースのため、問題が発生する可能性があります。
何かエラーが発生した場合は私のTwitterのDMまでご連絡ください。
Twitter: @Icakhi

紹介

ご覧頂きありがとうございます!
ツールの詳細についてはこちら: v0.1.0 Release Note

概要

今回のアップデートでは一部機能の修正を行っています。

修正

  • Py2で発生する起動時の問題を修正
  • Py3で発生するスクリプトエラー出力の問題を修正
  • スクリプトのインデント関連で発生する問題を修正

アップデート方法

以下の手順でアップデートしてください。
1. 以下のフォルダを削除します
[ドキュメントフォルダ]\maya\scripts

2. リポジトリをダウンロードして、Zipファイルを解凍します

3. ドキュメントフォルダの中にあるMayaの「script」フォルダへ以下のフォルダをコピーします
コピー元 : [ダウンロードしたフォルダ]\SeedlingTools-release\Maya\scripts\SeedlingTools
ペースト先: [ドキュメントフォルダ]\maya\scripts

4. Mayaを実行します

5. スクリプトエディタを起動して、スクリプト記入タブを表示します

6. 以下のスクリプトを入力欄にペーストします
MEL:
python("import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()")
Python:
import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()

7. スクリプトを実行します
シェルフへ登録しておくと次回以降の起動が楽なため便利です。

[Maya / ScriptRunner] Fixed and added new features!

17 Apr 17:07
Compare
Choose a tag to compare

※日本語は英語の下の方に記載しています。

!! Notice !!

Please read this before downloading!

This tool is license-free and may be used commercially and modified for personal use only.
However, secondary distribution, sale, or transfer of modified data is prohibited. Please do not do so.

  • Licenses are subject to change in the future. We will announce any changes on Twitter.

This is a pre-release and may have some issues.
If you encounter any errors, please contact me.
Twitter: @Icakhi

Introduction

Welcome to my release page!
Please read the initial release document for more information: v0.1.0 Release Note

!! 注意 !!

大切な内容を記載しているのでダウンロードの前に必ずお読みください。

このツールはライセンスフリーのため商用利用可・個人でのみ改変して使用可とします。
ただし、2次配布・販売・改変したデータの譲渡は禁止です。絶対に行わないでください。

※ライセンスについては今後変更する可能性があります。変更がある際はTwitterで告知します

これはプレリリースのため、問題が発生する可能性があります。
何かエラーが発生した場合は私のTwitterのDMまでご連絡ください。
Twitter: @Icakhi

紹介

ご覧頂きありがとうございます!
ツールの詳細についてはこちら: v0.1.0 Release Note

概要

今回のアップデートでは一部機能の修正と機能追加を行っています。
設定方法やファイルの見方を説明しているので、はじめにご確認ください。

修正

  • Maya 2022以上 (Python 3.x) 向けの機能の不備・不具合を修正
  • 読み込まれるスクリプト書き方によっては関数が取得できない問題を修正
  • 引数欄に特定の値を指定したとき、生成した起動コマンドがエラーになってしまう問題を修正
  • リストをダブルクリックした際のプレビュー機能の不具合修正

追加

  • サンプルスクリプトとサンプル設定を追加
  • クラスメソッドの直実行する機能を追加

アップデート方法

以下の手順でアップデートしてください。
1. 以下のフォルダを削除します
[ドキュメントフォルダ]\maya\scripts

2. リポジトリをダウンロードして、Zipファイルを解凍します

3. ドキュメントフォルダの中にあるMayaの「script」フォルダへ以下のフォルダをコピーします
コピー元 : [ダウンロードしたフォルダ]\SeedlingTools-release\Maya\scripts\SeedlingTools
ペースト先: [ドキュメントフォルダ]\maya\scripts

4. Mayaを実行します

5. スクリプトエディタを起動して、スクリプト記入タブを表示します

6. 以下のスクリプトを入力欄にペーストします
MEL:
python("import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()")
Python:
import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()

7. スクリプトを実行します
シェルフへ登録しておくと次回以降の起動が楽なため便利です。

サンプルスクリプトについて

サンプルスクリプトはScriptRunnerへ読み込ませるスクリプトの記述ルールを記載しています。
すべては網羅されていないおそれがあるため、あくまで指標としてご確認ください。

このスクリプトはツールからの呼び出しもできますので、UIの操作確認などでもご使用ください。

サンプル設定について

読み込むとツール設定欄の書き方や操作に関してを表示できます。
以下の手順で読み込みできます。

1. ScriptRunnerを閉じます
設定が反映されなくなってしまうため、必ず閉じてください。

2. 以下のファイルを削除します
[ドキュメントフォルダ]\maya\scripts\SeedlingTools\Scripting\ScriptRunner\.settings\script_runner_setting.xml

3. 以下のファイルを.settingsフォルダへコピー&ペーストします
コピー元 : [ダウンロードしたフォルダ]\SeedlingTools\Source\Maya\scripts\Common\Scripting\ScriptRunner\sample\sample_setting_[数字].xml
ペースト先 : [ドキュメントフォルダ]\maya\scripts\SeedlingTools\Scripting\ScriptRunner\.settings\

4. ペーストした設定ファイルを以下の名前に変更します
script_runner_setting.xml

Seedling Tools first release!

10 Apr 15:44
Compare
Choose a tag to compare
Pre-release

※日本語は英語の下の方に記載しています。

!! Notice !!

Please read this before downloading!

This tool is license-free and may be used commercially and modified for personal use only.
However, secondary distribution, sale, or transfer of modified data is prohibited. Please do not do so.

  • Licenses are subject to change in the future. We will announce any changes on Twitter.

This is a pre-release and may have some issues.
If you encounter any errors, please contact me.
Twitter: @Icakhi

Introduction

Welcome to my release page!
Thanks to everyone, today I can be the first release as icakhi (いかき).
Sorry for my poor English, but please bear with me.

I introduce a python script helper for all of comrade writing Maya python scripts.
Introduction movie

This Tool can use for these:

  • Easy to run from gui the python script file, that no matter where it is saved.
  • Test a portion of the functions or classes you have created.
  • Visualize bugs or some wrong writing with maya console.
  • Save and tryable several execution conditions.
  • Automatic generation of execution scripts from script file and addable to your Maya shelf.

Installation for windows and how to open

1. Download repository from this page and extract zip file.

2. Copy the folder to the Maya script folder in your Documents folder:
Folder to Copy: [Downloads Folder]\SeedlingTools-release\Maya\scripts\SeedlingTools
Folder to Paste: [Documents Folder]\maya\scripts

3. Run Maya.

4. Open the Script Editor and open Python or MEL tab.

5. Input this script to the script field.
MEL:
python("import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()")
Python:
import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()

6. Run that script.
It will convenient to register to the Shelf.

How to use

1. Press the "参照 (open from the explorer)" button and select your script file or input the file path field directly.
If no function is written in the script, nothing will appear in the list.

2. Select a Function you want to execution from list view.

3. Input For statement if needed.
It can be written the same way as Python.

4. Input pre command field if needed.
It can be written the same way as Python.
It will execute in the For statement.
You can use values create from For statement.

5. Input Class argument and Function argument if needed.
These can be written the same way as Python.
You can use values create from For statement or pre commands.

6. Press "Run Script" button.

7. The color of the "Run Button" turns these colors cause of processing result:
Process was clean: Green
Process had errors: Red

8. You can find results of the script execution from command output log (over side of Script Editor).
The text of the script text is output, you can add this to your Shelf.
If some error had occured, you can get cause of these errors.

9. If you want to run a script with past execution conditions, you can recall past settings by clicking on the "履歴 (history)" button.

10. When you change source script, press "更新 (refresh)" button to refresh Function list.

!! 注意 !!

大切な内容を記載しているのでダウンロードの前に必ずお読みください。

このツールはライセンスフリーのため商用利用可・個人でのみ改変して使用可とします。
ただし、2次配布・販売・改変したデータの譲渡は禁止です。絶対に行わないでください。

※ライセンスについては今後変更する可能性があります。変更がある際はTwitterで告知します

これはプレリリースのため、問題が発生する可能性があります。
何かエラーが発生した場合は私のTwitterのDMまでご連絡ください。
Twitter: @Icakhi

紹介

ページをご覧頂きありがとうございます!
いかきとして初めてのリリースができることを嬉しく思います。

紹介するのはMayaでPythonを扱っている方向けの実行補助ツールです。
紹介ムービー

このツールはこんなことができます:

  • どこに保存したPythonスクリプトでもUIの操作で簡単に実行できる
  • 関数やクラスの一部を気軽にテストすることができる
  • スクリプトで発生した一連のエラーを表示できる
  • 実行条件を保存して楽に試行錯誤することができる
  • 実行スクリプトを自動生成してシェルフへ登録することもできる

Windowsへのインストール・起動方法

1. リポジトリをダウンロードして、Zipファイルを解凍します。

2. ドキュメントフォルダの中にあるMayaの「script」フォルダへ以下のフォルダをコピーします。
コピー元 : [ダウンロードしたフォルダ]\SeedlingTools-release\Maya\scripts\SeedlingTools
ペースト先: [ドキュメントフォルダ]\maya\scripts

3. Mayaを実行します。

4. スクリプトエディタを起動して、スクリプト記入タブを表示します。

5. 以下のスクリプトを入力欄にペーストします。
MEL:
python("import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()")
Python:
import SeedlingTools.Scripting.ScriptRunner.main as sr_main; sr_main.main()

6. スクリプトを実行します。
シェルフへ登録しておくと次回以降の起動が楽なため便利です。

使い方

1. 「参照」ボタンをクリックして実行したいスクリプトを選択するか、パスを直接入力します。
※スクリプトに関数が書かれていないとリストが表示されません。

2. 実行したい関数をリストから選択します。

3. 必要であればFor文の欄を記入します。
Python同様に記入できます。

4. 必要であれば実行前の処理を記入します。
Python同様に記入できます。
記入した処理はFor文の中で処理されます。
For文で作成した変数を使うことができます。

5. 必要であればクラスの初期化に使用する引数と関数の引数を記入します。
Python同様に記入できます。
For文と実行前処理で作成した変数を使うことができます。

6. 「Run Script」ボタンをクリックします。

7. 実行結果に応じて「Run Script」のボタンの色が変化します:
実行成功 :緑
エラーあり:赤

8. スクリプトの実行結果等はMayaのスクリプトエディタのログから確認できます。
シェルフに登録可能な、スクリプトの実行処理が作成されています。
もしエラーがあった場合は、一連の原因が表示されます。

9. 過去の実行条件を使いたい場合は「履歴」欄のボタンをクリックすると呼び出せます。

10. もしスクリプトを編集した場合は、スクリプトを保存した後に「更新」ボタンで関数リストが更新されます。

各種サンプルの確認方法

※これらのサンプルは v0.2.0 から追加されています。

サンプルスクリプトについて

v0.2.0 から追加されています。
サンプルスクリプトはScriptRunnerへ読み込ませるスクリプトの記述ルールを記載しています。
すべては網羅されていないおそれがあるため、あくまで指標としてご確認ください。

このスクリプトはツールからの呼び出しもできますので、UIの操作確認などでもご使用ください。

サンプル設定について

読み込むとツール設定欄の書き方や操作に関してを表示できます。
以下の手順で読み込みできます。

1. ScriptRunnerを閉じます
設定が反映されなくなってしまうため、必ず閉じてください。

2. 以下のファイルを削除します
[ドキュメントフォルダ]\maya\scripts\SeedlingTools\Scripting\ScriptRunner\.settings\script_runner_setting.xml

3. 以下のファイルを.settingsフォルダへコピー&ペーストします
コピー元 : [ダウンロードしたフォルダ]\SeedlingTools\Source\Maya\scripts\Common\Scripting\ScriptRunner\sample\sample_setting_[数字].xml
ペースト先 : [ドキュメントフォルダ]\maya\scripts\SeedlingTools\Scripting\ScriptRunner\.settings\

4. ペーストした設定ファイルを以下の名前に変更します
script_runner_setting.xml