forked from calculix/CalculiX-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshapes.fbd
More file actions
30 lines (29 loc) · 658 Bytes
/
shapes.fbd
File metadata and controls
30 lines (29 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# read the solution
read solve.frd new
# setup the view
rot x
rot c 90
rot r 10
rot u 10
zoom 3
# show undeformed model edges
#anim model
view elem
view sh
# loop over movies
valu counter 0
while counter < 20
valu counter + counter 1
# convert counter value to integer
valu counter int counter
# build output file name from prefix, counter and extension
valu to & Refs/shape_ counter
valu to & to .gif
# make sure that the frequency is correctly displayed
ds counter e 4
# write 11 frames from the output of the subsequent command
movi frames auto
ds counter a 4
# store the file under the target name
sys mv movie.gif to
endwhile