Holes
The holes.dat file defines how NAPA Steel parametric holes are converted to CADMATIC Hull standard or user-defined holes.
These settings can be made in System Management > Import/Export > NAPA Steel > Connection Settings > Hole Conversion.
Syntax for file content:
NAPA identifier |
CADMATIC Hull hole type number |
R-var |
value¹ |
R-var |
value¹ |
¹ Numerical expressions in NAPA Steel connection settings can be used. |
File content example:
Description:
Each line consists of the NAPA Steel parametric shape identifier followed by the CADMATIC Hull type number for the standard or user-defined hole. After that (optionally) follows the name of a R-variable, followed by Numerical expressions in NAPA Steel connection settings.
Example:
NAPA E*400x600 to Hull 2 600 400. The 2 parameters are switched for a type 2 hole (KR600x400).
E 2 R1 %2 R2 %1
Currently the NAPA standard hole types are C, E, and RR. These can be mapped to Hull hole types 1-6 (standard holes) or 8-99 (user-defined holes).

NAPA standard hole | Mapping | Result |
---|---|---|
C |
C 1 %1*0.5 | Standard hole 1, the 1st dimension halved. |
E | E 2 %1 %2 | Standard hole 2, 1st and 2nd dimension used as is. |
RR | RR 6 %2 %1 %3 | Standard hole 6, NAPA 2nd dimension used as the 1st, and NAPA 1st dimension as the 2nd, 3rd dimension as is. |
A maximum of eight dimension index parameters are allowed. Numerical expressions with mathematical operators + - * / can be used with the index parameters. See line 1 for an example. Note: When mapping a NAPA hole to Hull type 1 hole, a multiplier of 0.5 must be used to get the correct size. This is because type 1 hole sizes are stored in the Hull database by the radius instead of diameter. NAPA holes always use the diameter. See the 1st example. |
Note: There is no default conversion is defined for a NAPA standard holes. The mapping of NAPA standard holes to CADMATIC hole must be complete.