CMP file parameters
- Last UpdatedDec 18, 2025
- 4 minute read
|
Record 1 |
Design identifier. |
|
I |
Record type identifier (single character 'I'). |
|
desid |
Design identifier (1 to 8 characters). |
|
Record 2 |
Transverse bulkhead. |
|
T tbk [dk1 [dk2 [lbk1 [lbk2]]]] |
|
|
where: |
|
|
T |
Record type identifier (single character 'T'). |
|
tbk |
Transverse bulkhead identifier. |
|
dk1 |
Identifier of lower deck. |
|
dk2 |
Identifier of upper deck. |
|
lbk1 |
Identifier of inner longitudinal bulkhead. |
|
lbk2 |
Identifier of outer longitudinal bulkhead. |
|
This record must be followed by a type 3 record. |
|
|
Record 3 |
Transverse bulkhead position. Maximum of 200. |
|
xtbk |
Position of transverse bulkhead (m or ft from original -usually the AP). |
|
Record 4 |
Deck. Maximum of 40. |
|
D dk [tbk1 [tbk2 [lbk1 [lbk2]]]] |
|
|
where:- |
|
|
D |
Record type identifier (single character 'D'). |
|
dk |
Deck identifier (up to 8 characters). |
|
tbk1 |
Identifier of aft transverse bulkhead. |
|
tbk2 |
Identifier of forward transverse bulkhead. |
|
lbk1 |
Identifier of inner longitudinal bulkhead. |
|
lbk2 |
Identifier of outer longitudinal bulkhead. |
|
This record must be followed by a type 5 record. |
|
|
Record 5 |
Deck heights. |
|
zdk1 [xdk1 [zdk2 xdk2 [zdk3 xdk3 ...]]] |
|
|
where:- |
|
|
Units of meters or Feet. |
|
|
zdkn |
Is the deck height at xdkn from the AP. |
|
If only zdk1 is given the deck will be parallel to the baseline. If the deck is not parallel to the baseline, a pair of (z,x) coordinates must be given. |
|
|
Record type 5 may extend over more than one line in the data file. |
|
|
Record 6 |
Cambered decks. |
|
H dk nsect npts [tbk1 [tbk2 [lbk1 [lbk2]]]] |
|
|
where: |
|
|
H |
Record type identifier (single character 'H'). |
|
dk |
Cambered deck identifier (up to 8 characters). |
|
nsect |
The number of cambered deck section changes ( X-Z plane). |
|
npts |
The number of vertical section changes (Z-Y plane). |
|
tbk1 |
Identifier of aft transverse bulkhead. |
|
tbk2 |
Identifier of forward transverse bulkhead. |
|
lbk1 |
Identifier of inner longitudinal bulkhead. |
|
lbk2 |
Identifier of outer longitudinal bulkhead. |
|
This record must be followed by a type 7 record. |
|
|
Record 7 |
Longitudinal section position changes from the origin. |
|
xdk |
|
|
where:- |
|
|
xdk |
Is the longitudinal distance of the section from the origin. |
|
Units of meters or Feet. |
|
|
Record 8 |
Offset data for cambered deck section position xdk. |
|
zdk ydk |
|
|
where |
|
|
zdk |
Is the height above the baseline of the cambered deck section at ydk from the centreline. |
|
ydk |
Is the offset of the cambered deck section from the centreline at zdk from the baseline. |
|
Each record type 8 must be on a separate line. |
|
|
Units of meters or Feet. |
|
|
Record 9 |
Longitudinal bulkhead. |
|
L lbk nsect npts [tbk1 [tbk2 [dk1 [dk2]]]] |
|
|
where:- |
|
|
L |
Record type identifier (single character 'L'). |
|
lbk |
Longitudinal bulkhead identifier (up to 8 characters). |
|
nsect |
The number of longitudinal section changes ( X-Y plane). |
|
npts |
The number of vertical section changes (Y-Z plane). |
|
tbk1 |
Identifier of aft transverse bulkhead. |
|
tbk2 |
Identifier of forward transverse bulkhead. |
|
dk1 |
Identifier of lower deck. |
|
dk2 |
Identifier of upper deck. |
|
This record must be followed by a type 10 record. |
|
|
Record 10 |
Longitudinal section position changes from the origin. |
|
xlbk |
|
|
where:- |
|
|
xlbk |
Is the longitudinal distance of the section from the origin. |
|
Units of meters or Feet. |
|
|
Record 11 |
Offset data for longitudinal section position xlbk. |
|
ylbk zlbk |
|
|
where:- |
|
|
ylbk |
Is the offset of the longitudinal section from the centreline at zlbk from the baseline. |
|
zlbk |
Is the height above the baseline of the longitudinal section at ylbk from the centreline. |
|
Each record type 11 must be on a separate line. |
|
|
Units of meters or Feet. |
|
|
Record 12 |
Compartment identification. |
|
C |
Record type identifier (single character 'C'). |
|
cmpid |
Compartment identifier (must be unique). |
|
ctitle |
Compartment description (max. 70 characters). |
|
This record must be followed by a type 13 record. |
|
|
Record 13 |
Compartment boundaries. |
|
tbk1 [tbk2 [dk1 [dk2 [lbk1 [lbk2]]]]] |
|
|
where:- |
|
|
tbk1 |
Identifier of aft transverse bulkhead. |
|
tbk2 |
Identifier of forward transverse bulkhead. |
|
dk1 |
Identifier of lower deck. |
|
dk2 |
Identifier of upper deck. |
|
lbk1 |
Identifier of inner longitudinal bulkhead. |
|
lbk2 |
Identifier of outer longitudinal bulkhead. |
|
hull |
Optional parameter to force Spaces to ignore the main hull. If required set hull=1. Note: |
|
This record must be followed by a type 14 record. |
|
|
Record 14 |
Compartment attributes. |
|
side [perm] |
|
|
where:- |
|
|
side |
Side indicator (single digit 0,1 or 2): |
|
0. Port and starboard, that means, the compartment extends over the width of the ship or is duplicated on each side. |
|
|
1. Port side only. |
|
|
2. Starboard side only. |
|
|
perm |
Compartment permeability in percent, if omitted 100% is assumed. |
|
Record 15 |
Merged compartment definition. |
|
M |
Record type identifier (single character 'M'). |
|
cmpid |
Compartment identifier (up to 8 characters). |
|
ctitle |
Compartment title. |
|
Record 16 |
List of compartments to be merged. |
|
Cmlist |
List of compartment identifiers to create new compartment. Each member of the list can be separated by at least one space or a '+' sign for an addition and by a '-' sign for a deduction. This record can extend over more than one line. |
|
Record 17 |
Zapped or deleted compartments. |
|
Z |
Record type identifier (single character 'z') |
|
cmpid |
Compartment identifier of deleted compartments. |
|
Record 18 |
Renaming of compartments. |
|
R |
Record type identifier (single character 'R'). |
|
cmpid1 |
Old identifier of compartment. |
|
cmpid2 |
New identifier of compartment. |
|
Record 19 |
Rename long compartment. |
|
N |
Record type identifier (single character 'N'). |
|
cmpid |
Compartment identifier. |
|
ntitle |
New compartment name. |
|
Record 20 |
End marker for CMP file. |
|
E |
Record type identifier (single character 'E'). |