|
| 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 |
0 commit comments