Saori Yoshimoto work notes since 2018

Showing posts with label Houdini/Code/Hscript command. Show all posts
Showing posts with label Houdini/Code/Hscript command. Show all posts

Thursday, December 3, 2020

[Hscripts] Animation Cycle

method1:You could use a TimeShift SOP with the expression '$F % 100' where 100 would be however many frames you want the loop to last.

method2:TimeShift SOP with the expression 'cycle(1, $IT*$FPS+1)'

method3:

https://forums.odforce.net/topic/39671-solved-offseting-points-on-curve/

Saturday, April 18, 2020

[Hscript] How to creat custom variable by script.

on Windows
C:\Program Files\Side Effects Software\Houdini 17.5.425\houdini\scripts\123.cmd

Houdini->Edit->Aliases
alias h history

Houdini->Edit->Variables
setenv TEST = "c:/TESTTEST"

more info into Hscript language guide
also see Python version

Sunday, January 12, 2020

[Hscript cmd] opscript

opscript

textportで下記のコマンドを実行。ノードの情報をコマンドとして表示。
opscript -r /*

コマンドでhscriptコマンドとしてノードの情報をファイルに書き出し。
opscript -r /* > D:/user/test.cmd

file > ran script...からrun command editerを起動し作成したコマンドを実行。
-----------------------------------------------------------------------------------------
    EXAMPLES
      > opscript -r /obj/geo*
      > opscript -G /obj > /tmp/objgroups.cmd
      > opscript -S light* netbox*