Britfair File
- Last UpdatedOct 05, 2023
- 1 minute read
The format of the BRITFAIR file, used to input Section Design data, is shown below. The Britfair format can by used to define any sections and each section is defined using an independent set of points. Use only spaces when separating data, don't use the TAB key.
|
Rec |
Value |
Description |
|||
|---|---|---|---|---|---|
|
1 |
K |
Ship name. Up to six alphanumeric characters. |
|||
|
2 |
I |
File type identifier. |
|||
3. Waterlines. |
|||||
|
Only Section type is currently allowed in Lines. |
|||||
|
3 |
N CI CD |
Start of next curve. Repeat records 3-6 for each curve. |
|||
|
N |
The integer number of pairs of coordinates describing the curve. |
||||
|
CI |
A curve identifier, usually an integer number denoting the order of appearance of the curve in the file. |
||||
|
CD |
A constant dimension from the origin (X=0, Y=0, Z=0) referencing the curve. If this value is -999.0 then the curve is part of the last curve, that means, a knuckle joins the two and as a result the CI value is to be the same. |
||||
|
4 |
U(n) V(n) |
Curve ordinates. Repeated N times for each curve. This is dependent upon the type of file, see Record 2. |
|||
|
U(n) |
V(n) |
||||
|
Section Buttocks Waterlines |
Y X X |
Z Z Y |
|||
|
5 |
T |
Tangency types. |
|||
|
0 1 2 3 |
No tangent constraints. Record 6 NOT required. Start tangent. Only ONE value on Record 6. End tangent. Only ONE value on Record 6. Start and End tangents. BOTH values on Record 6. |
||||
|
6 |
T1 T2 |
Tangency conditions T1 = start, T2 = end. See Record 5. |
|||
|
End |
0 0 0 |
End of data that means, a null Record 3 |
|||