2012年2月25日土曜日

Blender-Script : Changed Matrix process


Blender2.62でまたMatrixの手順が変わった(バグ修正の続き)ので、リグ関係のスクリプトがまたアウトになったんじゃないかと思うが、今、こういうものを作っていたりするので、暇になったらまたチェックする。

 The process of Matrix was changed at Blender 2.62 again (it's the task to fix bug since 2.59?), so I was wondering that my rigging script might be broken again.
But now I'm making this and having other tasks, so when I get time,I'll check about them.

2012年2月11日土曜日

Blender Script : Bugs & Remodeled specigications

bpy.types.Operator.reportの第一パラメータがENUM値でなくてはならなくなったため、動かないスクリプトがあると思います。
いずれ直しますが、動かない場合、すぐに必要な人はpyファイルで".report"を検索して、第一パラメータを"{"と"}"で囲って下さい。

#1 parameter of bpy.types.Operator.report must be ENUM parameter from Blender 2.61.
I think some my scripts using string for #1 parameters,so those can't work without repairing them.
I'll repair at someday,but if it can't work and you need it soon, please search ".report" and enclose #1 parameter with "{" and "}" in py file.


2012年1月9日月曜日

Blender Add-on : Calc Edge Len

エッジ長計算スクリプト

エディットモードで選択エッジの長さの合計を計算します。

割と基本的な機能だと思うのですが、Blenderには無いので作りました。
あまりうまい作りではないので暫定公開、保存先はいずれ変えます。

アドオンとしてインストール、Meshカテゴリから選択するとUIパネルにEDITモードのときのみ、表示され、[Calculate]ボタンで計算。


The script for calculating the edge length

The script that calculate the summery of the selected edge's length.

I think it is one of basic functions,but Blender doesn't has it. So I made the script.
Its code is not good,so I'll change it and its link in future.

Install to add-on,and select from Mesh category,then it is to be at UI property panel.
Push [Calculate] button,then it calculate.

Measure Add-onがエッジ長、面積合計に対応したので破棄で

This is removed,because the measure add-on have been able to calculate the summary of edges and faces.

2012年1月1日日曜日

A happy new year


あけおめ~~~~
新年明けましておめでとうございます
今年こそはおめでたいHappyな年にしたいので御座いますよ

今年はちょっとネタがあるかもしれんけど、それとは別に、パソコンが最新には及ばないけど、ちょいパワーアップしたので、テスト動画じゃないものを作ろうと思ってもいるところ

2011年11月2日水曜日

Maintenance : Blender Scripts


Face Bone Tool : ノーチェック。但し、以下の問題が発生すると思われる*
Deform Bone Aid @ Face : Rotation-Matrixのバグ修正に伴う修正を行った。但し、以下の問題あり*
Deform Bone Aid @ Body : 上に同じ
Blend Pose : Rotation-Matrixのバグ修正に伴う修正を行った。
Others : ノーチェック。最近のBlenderの変更による影響は無いと思われる。

*問題点 : 現在、バンドル関数によるエディットボーンへのカスタムプロパティの登録が行えない。これにより、カスタムプロパティで対象ボーンをマーキングしているため、各削除、リセット機能が使えない。

もともとBone Edit Modeで新規作成したBoneはEdit Modeを抜けないとData Boneにアクセス出来ないが、Edit Boneに設定したプロパティはそのままData Boneに引き継がれていた。これが引き継がれなくなったためと思われるが、確認は後日行う。




Face Bone Tool : Not developed. However,it may have the following trouble*
Deform Bone Aid @ Face : Fixed the fix of rotation-matrix bug,but there is the following trouble.
Deform Bone Aid @ Body : Same as above
Blend Pose : Fixed the fix of rotation-matrix bug
Others : Not developed,but I think those are not influenced by recent change of Blender

*Trouble : Edit Bone's Custom property can't be set by bundled function. By this trouble,the function of remove and re-set can't work because I marked those bones by custom properties.
The new bones in Bone Edit Mode couldn't be taken from Data Bone Set until finishing Edit Mode from the first,but the properties of edit bones were taken to the data bones. So I think it is because that was to be impossible,and I will test it after.

2011年10月11日火曜日

Blender Add-on : BlendPose (4)


これのdriver_namespaceのエントリーがうまく行ったりいかなかったりで、いまいちまともに動かなかった原因が解った。
サンプルコードの多くがdriver_namespaceの登録をスクリプト起動時に行っているが、テキストエディタにコードを書いて動かすならそれでいいのだが、Add-onとして動かすにはそれでは問題があった。
API wikiによるとファイルをオープンするとリセットされる・・・つまり、Blenderを起動して新規にリグを組む場合はうまく行くが、それ以外はnamespaceがリセットされるのでドライバーでエラーになる。
 実際には常に動いていたこともあったのだが、動いていた方がバグで、2.59.4ではファイルをオープンすると必ずエラーになる。
そんな訳で、コールバック処理にnamespaceのチェックを行って無かったら再登録するように修正した。

There were when this add-on's namespace could be given,but it couldn't at another time. I didn't know that causes.
The entry of namespace is written at register section at the many sample codes,but it is right when it is started from Blender-TextEditor,but it has the trouble for add-on.
API wiki says,reset when open file...so,it can go well when making new rig after starting Blender,but in other cases,the driver errors are happened because the driver namespace is reset. In the real,there were when it could always work,but it was bug,and it always makes error when opning files at 2.59.4.
So I fixed it with adding the re-entry in callback function.

Blend Pose Add-on