Skip to content

Commit 232cfbd

Browse files
author
fsalmoir
committed
parameter files added for tutorial
1 parent 48f6c4c commit 232cfbd

File tree

2 files changed

+198
-0
lines changed

2 files changed

+198
-0
lines changed
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
2+
[Box info]
3+
# This section collects all the properties of the FFD bounding box.
4+
5+
# n control points indicates the number of control points in each direction (x, y, z).
6+
# For example, to create a 2 x 3 x 2 grid, use the following: n control points: 2, 3, 2
7+
n control points x: 2
8+
n control points y: 2
9+
n control points z: 3
10+
11+
# box lenght indicates the length of the FFD bounding box along the three canonical directions (x, y, z).
12+
# It uses the local coordinate system.
13+
# For example to create a 2 x 1.5 x 3 meters box use the following: lenght box: 2.0, 1.5, 3.0
14+
box lenght x: 2.2
15+
box lenght y: 2.2
16+
box lenght z: 6.0
17+
18+
# box origin indicates the x, y, and z coordinates of the origin of the FFD bounding box. That is center of
19+
# rotation of the bounding box. It corresponds to the point coordinates with position [0][0][0].
20+
# See section "Parameters weights" for more details.
21+
# For example, if the origin is equal to 0., 0., 0., use the following: origin box: 0., 0., 0.
22+
box origin x: -1.1
23+
box origin y: -1.1
24+
box origin z: 2.0
25+
26+
# rotation angle indicates the rotation angle around the x, y, and z axis of the FFD bounding box in degrees.
27+
# The rotation is done with respect to the box origin.
28+
# For example, to rotate the box by 2 deg along the z direction, use the following: rotation angle: 0., 0., 2.
29+
rotation angle x: 0.0
30+
rotation angle y: 0.0
31+
rotation angle z: 0.0
32+
33+
34+
[Parameters weights]
35+
# This section describes the weights of the FFD control points.
36+
# We adopt the following convention:
37+
# For example with a 2x2x2 grid of control points we have to fill a 2x2x2 matrix of weights.
38+
# If a weight is equal to zero you can discard the line since the default is zero.
39+
#
40+
# | x index | y index | z index | weight |
41+
# --------------------------------------
42+
# | 0 | 0 | 0 | 1.0 |
43+
# | 0 | 1 | 1 | 0.0 | --> you can erase this line without effects
44+
# | 0 | 1 | 0 | -2.1 |
45+
# | 0 | 0 | 1 | 3.4 |
46+
47+
# parameter x collects the displacements along x, normalized with the box lenght x.
48+
parameter x: 0 0 0 0.0
49+
0 0 1 0.8
50+
0 0 2 0.0
51+
0 1 0 0.0
52+
0 1 1 0.8
53+
0 1 2 0.0
54+
1 0 0 0.0
55+
1 0 1 0.8
56+
1 0 2 0.0
57+
1 1 0 0.0
58+
1 1 1 0.8
59+
1 1 2 0.0
60+
61+
# parameter y collects the displacements along y, normalized with the box lenght y.
62+
parameter y: 0 0 0 0.0
63+
0 0 1 0.0
64+
0 0 2 0.0
65+
0 1 0 0.0
66+
0 1 1 0.0
67+
0 1 2 0.0
68+
1 0 0 0.0
69+
1 0 1 0.0
70+
1 0 2 0.0
71+
1 1 0 0.0
72+
1 1 1 0.0
73+
1 1 2 0.0
74+
75+
# parameter z collects the displacements along z, normalized with the box lenght z.
76+
parameter z: 0 0 0 0.0
77+
0 0 1 0.0
78+
0 0 2 0.0
79+
0 1 0 0.0
80+
0 1 1 0.0
81+
0 1 2 0.0
82+
1 0 0 0.0
83+
1 0 1 0.0
84+
1 0 2 0.0
85+
1 1 0 0.0
86+
1 1 1 0.0
87+
1 1 2 0.0
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
2+
[Box info]
3+
# This section collects all the properties of the FFD bounding box.
4+
5+
# n control points indicates the number of control points in each direction (x, y, z).
6+
# For example, to create a 2 x 3 x 2 grid, use the following: n control points: 2, 3, 2
7+
n control points x: 2
8+
n control points y: 2
9+
n control points z: 5
10+
11+
# box lenght indicates the length of the FFD bounding box along the three canonical directions (x, y, z).
12+
# It uses the local coordinate system.
13+
# For example to create a 2 x 1.5 x 3 meters box use the following: lenght box: 2.0, 1.5, 3.0
14+
box lenght x: 2.2
15+
box lenght y: 2.2
16+
box lenght z: 6.0
17+
18+
# box origin indicates the x, y, and z coordinates of the origin of the FFD bounding box. That is center of
19+
# rotation of the bounding box. It corresponds to the point coordinates with position [0][0][0].
20+
# See section "Parameters weights" for more details.
21+
# For example, if the origin is equal to 0., 0., 0., use the following: origin box: 0., 0., 0.
22+
box origin x: -1.1
23+
box origin y: -1.1
24+
box origin z: 2.0
25+
26+
# rotation angle indicates the rotation angle around the x, y, and z axis of the FFD bounding box in degrees.
27+
# The rotation is done with respect to the box origin.
28+
# For example, to rotate the box by 2 deg along the z direction, use the following: rotation angle: 0., 0., 2.
29+
rotation angle x: 0.0
30+
rotation angle y: 0.0
31+
rotation angle z: 0.0
32+
33+
34+
[Parameters weights]
35+
# This section describes the weights of the FFD control points.
36+
# We adopt the following convention:
37+
# For example with a 2x2x2 grid of control points we have to fill a 2x2x2 matrix of weights.
38+
# If a weight is equal to zero you can discard the line since the default is zero.
39+
#
40+
# | x index | y index | z index | weight |
41+
# --------------------------------------
42+
# | 0 | 0 | 0 | 1.0 |
43+
# | 0 | 1 | 1 | 0.0 | --> you can erase this line without effects
44+
# | 0 | 1 | 0 | -2.1 |
45+
# | 0 | 0 | 1 | 3.4 |
46+
47+
# parameter x collects the displacements along x, normalized with the box lenght x.
48+
parameter x: 0 0 0 0.0
49+
0 0 1 0.0
50+
0 0 2 0.8
51+
0 0 3 0.0
52+
0 0 4 0.0
53+
0 1 0 0.0
54+
0 1 1 0.0
55+
0 1 2 0.8
56+
0 1 3 0.0
57+
0 1 4 0.0
58+
1 0 0 0.0
59+
1 0 1 0.0
60+
1 0 2 0.8
61+
1 0 3 0.0
62+
1 0 4 0.0
63+
1 1 0 0.0
64+
1 1 1 0.0
65+
1 1 2 0.8
66+
1 1 3 0.0
67+
1 1 4 0.0
68+
69+
# parameter y collects the displacements along y, normalized with the box lenght y.
70+
parameter y: 0 0 0 0.0
71+
0 0 1 0.0
72+
0 0 2 0.0
73+
0 0 3 0.0
74+
0 0 4 0.0
75+
0 1 0 0.0
76+
0 1 1 0.0
77+
0 1 2 0.0
78+
0 1 3 0.0
79+
0 1 4 0.0
80+
1 0 0 0.0
81+
1 0 1 0.0
82+
1 0 2 0.0
83+
1 0 3 0.0
84+
1 0 4 0.0
85+
1 1 0 0.0
86+
1 1 1 0.0
87+
1 1 2 0.0
88+
1 1 3 0.0
89+
1 1 4 0.0
90+
91+
# parameter z collects the displacements along z, normalized with the box lenght z.
92+
parameter z: 0 0 0 0.0
93+
0 0 1 0.0
94+
0 0 2 0.0
95+
0 0 3 0.0
96+
0 0 4 0.0
97+
0 1 0 0.0
98+
0 1 1 0.0
99+
0 1 2 0.0
100+
0 1 3 0.0
101+
0 1 4 0.0
102+
1 0 0 0.0
103+
1 0 1 0.0
104+
1 0 2 0.0
105+
1 0 3 0.0
106+
1 0 4 0.0
107+
1 1 0 0.0
108+
1 1 1 0.0
109+
1 1 2 0.0
110+
1 1 3 0.0
111+
1 1 4 0.0

0 commit comments

Comments
 (0)