Skip to content
Snippets Groups Projects
Commit 776b07d8 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

displacement with other field animation example
parent add7e8d2
No related branches found
No related tags found
No related merge requests found
MergeWithBoundingBox "levelsetTest1.pos";
Merge "levelsetTest3.pos";
fact = View[1].Max * 0.001;
For i In {0:View[0].NbTimeStep-1}
Plugin(DisplacementRaise).iView = 0;
Plugin(DisplacementRaise).dView = 1;
Plugin(DisplacementRaise).dTimeStep = i;
Plugin(DisplacementRaise).Factor = fact;
Plugin(DisplacementRaise).Run;
Draw;
Print Sprintf("pic-%02g.jpg", i);
Plugin(DisplacementRaise).Factor = -fact;
Plugin(DisplacementRaise).Run;
EndFor
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment